summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2003-10-29 10:42:02 +0000
committerMarinus Schraal <foser@gentoo.org>2003-10-29 10:42:02 +0000
commit1eea5e016ab50828b837a89e9e7ebede2ae37c7c (patch)
tree1e42c62727597e8a6a739115c7394650e154fa86 /media-libs/gst-plugins/files
parentAdded gpm as a dependency of fbcon. Yep, it really does need to be there. (diff)
downloadhistorical-1eea5e016ab50828b837a89e9e7ebede2ae37c7c.tar.gz
historical-1eea5e016ab50828b837a89e9e7ebede2ae37c7c.tar.bz2
historical-1eea5e016ab50828b837a89e9e7ebede2ae37c7c.zip
fix gcc2 build
Diffstat (limited to 'media-libs/gst-plugins/files')
-rw-r--r--media-libs/gst-plugins/files/gst-plugins-0.6.4-gcc2_fix.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/media-libs/gst-plugins/files/gst-plugins-0.6.4-gcc2_fix.patch b/media-libs/gst-plugins/files/gst-plugins-0.6.4-gcc2_fix.patch
new file mode 100644
index 000000000000..dab58a0ee927
--- /dev/null
+++ b/media-libs/gst-plugins/files/gst-plugins-0.6.4-gcc2_fix.patch
@@ -0,0 +1,19 @@
+diff -uNr gst-plugins-0.6.4/gst/level/filter.func gst-plugins-0.6.4.patch/gst/level/filter.func
+--- gst-plugins-0.6.4/gst/level/filter.func 2003-10-05 18:46:21.000000000 +0200
++++ gst-plugins-0.6.4.patch/gst/level/filter.func 2003-10-29 10:54:36.000000000 +0100
+@@ -6,13 +6,14 @@
+ */
+ {
+ register int j;
++ gdouble normalizer;
+ double squaresum = 0.0; /* square sum of the integer samples */
+ register double square = 0.0; /* Square */
+ register double PSS = 0.0; /* Peak Square Sample */
+
+ *CS = 0.0; /* Cumulative Square for this block */
+
+- gdouble normalizer = (double) (1 << resolution);
++ normalizer = (double) (1 << resolution);
+
+ /*
+ * process data here