summaryrefslogtreecommitdiff
path: root/media-plugins/libvisual-plugins/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-24 12:57:16 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-24 12:57:16 +0000
commit1f23f671d001ca7a0073e504f5ae0184eb5d024d (patch)
tree6747e05170df64a1585f36519a780db2d90f2a11 /media-plugins/libvisual-plugins/files
parent98bd6c82c526d2c4239d3d194fa1a1a818784552 (diff)
gentoo auto-resync : 24:01:2023 - 12:57:16
Diffstat (limited to 'media-plugins/libvisual-plugins/files')
-rw-r--r--media-plugins/libvisual-plugins/files/libvisual-plugins-0.4.0-clang.patch42
-rw-r--r--media-plugins/libvisual-plugins/files/libvisual-plugins-0.4.0-fno-common.patch17
2 files changed, 0 insertions, 59 deletions
diff --git a/media-plugins/libvisual-plugins/files/libvisual-plugins-0.4.0-clang.patch b/media-plugins/libvisual-plugins/files/libvisual-plugins-0.4.0-clang.patch
deleted file mode 100644
index 25c2880fa0c5..000000000000
--- a/media-plugins/libvisual-plugins/files/libvisual-plugins-0.4.0-clang.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-diff --git a/plugins/actor/G-Force/Common/UI/LineXX.cpp b/plugins/actor/G-Force/Common/UI/LineXX.cpp
-index 304eec8..5b18503 100644
---- a/plugins/actor/G-Force/Common/UI/LineXX.cpp
-+++ b/plugins/actor/G-Force/Common/UI/LineXX.cpp
-@@ -74,13 +74,13 @@
-
-
- #if CLR_INTERP && P_SZ != 1
-- int32_t len = sqrt( dx * dx + dy * dy ) + 1;
-+ int32_t len = sqrt( (long double) dx * dx + dy * dy ) + 1;
- dR /= len;
- dG /= len;
- dB /= len;
- color = __Clr( R, G, B );
- #elif CLR_INTERP && P_SZ == 1
-- int32_t len = sqrt( dx * dx + dy * dy ) + 1;
-+ int32_t len = sqrt( (long double) dx * dx + dy * dy ) + 1;
- dR /= len;
- color = __Clr( R, G, B );
- #endif
-@@ -154,7 +154,7 @@
-
- for ( j = 0; j < tw; j++ ) {
- int32_t tmp = j - halfW;
-- c_x = halfW - ( ( int32_t ) sqrt( halfW * halfW - tmp * tmp ) );
-+ c_x = halfW - ( ( int32_t ) sqrt( (long double) halfW * halfW - tmp * tmp ) );
- center = basePtr + (j-halfW) * mBytesPerRow;
- for ( int k = c_x; k < tw - c_x; k++ ){
- ((PIXTYPE*) center)[k-halfW] = color;
-diff --git a/plugins/morph/flash/morph_flash.c b/plugins/morph/flash/morph_flash.c
-index fb5308a..c57f490 100644
---- a/plugins/morph/flash/morph_flash.c
-+++ b/plugins/morph/flash/morph_flash.c
-@@ -116,7 +116,7 @@ int lv_morph_flash_palette (VisPluginData *plugin, float rate, VisAudio *audio,
- FlashPrivate *priv = visual_object_get_private (VISUAL_OBJECT (plugin));
-
- if (src1->pal == NULL || src2->pal == NULL)
-- return;
-+ return -1;
-
- if (rate < 0.5)
- visual_palette_blend (pal, src1->pal, &priv->whitepal, rate * 2);
diff --git a/media-plugins/libvisual-plugins/files/libvisual-plugins-0.4.0-fno-common.patch b/media-plugins/libvisual-plugins/files/libvisual-plugins-0.4.0-fno-common.patch
deleted file mode 100644
index 5544d1895e02..000000000000
--- a/media-plugins/libvisual-plugins/files/libvisual-plugins-0.4.0-fno-common.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/plugins/actor/oinksie/table.h
-+++ b/plugins/actor/oinksie/table.h
-@@ -27,10 +27,10 @@
- #define OINK_TABLE_NORMAL_SIZE 1200
- #define OINK_TABLE_LARGE_SIZE 12000
-
--float _oink_table_sin[OINK_TABLE_NORMAL_SIZE];
--float _oink_table_cos[OINK_TABLE_NORMAL_SIZE];
--float _oink_table_sinlarge[OINK_TABLE_LARGE_SIZE];
--float _oink_table_coslarge[OINK_TABLE_LARGE_SIZE];
-+extern float _oink_table_sin[OINK_TABLE_NORMAL_SIZE];
-+extern float _oink_table_cos[OINK_TABLE_NORMAL_SIZE];
-+extern float _oink_table_sinlarge[OINK_TABLE_LARGE_SIZE];
-+extern float _oink_table_coslarge[OINK_TABLE_LARGE_SIZE];
-
- void _oink_table_init ();
-