diff options
author | Marinus Schraal <foser@gentoo.org> | 2003-10-29 10:42:02 +0000 |
---|---|---|
committer | Marinus Schraal <foser@gentoo.org> | 2003-10-29 10:42:02 +0000 |
commit | 1eea5e016ab50828b837a89e9e7ebede2ae37c7c (patch) | |
tree | 1e42c62727597e8a6a739115c7394650e154fa86 /media-libs/gst-plugins/files | |
parent | Added gpm as a dependency of fbcon. Yep, it really does need to be there. (diff) | |
download | historical-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.patch | 19 |
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 |