diff options
author | tron <tron@pkgsrc.org> | 2004-01-25 15:41:15 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2004-01-25 15:41:15 +0000 |
commit | a59aa603768018c5fdaf3c04a0d887597ab29a05 (patch) | |
tree | 216574a1c5a2eea6961ce0531def6e3144ace5aa | |
parent | 092a1ec191ce6a60d2ecd2372352babdffaa54d5 (diff) | |
download | pkgsrc-a59aa603768018c5fdaf3c04a0d887597ab29a05.tar.gz |
Fix crappy C code which breaks the build with GCC 2.95.3.
-rw-r--r-- | misc/gst-plugins/distinfo | 3 | ||||
-rw-r--r-- | misc/gst-plugins/patches/patch-af | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/misc/gst-plugins/distinfo b/misc/gst-plugins/distinfo index f12fa73d702..f5114a3f899 100644 --- a/misc/gst-plugins/distinfo +++ b/misc/gst-plugins/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2004/01/24 16:36:44 jmmv Exp $ +$NetBSD: distinfo,v 1.4 2004/01/25 15:41:15 tron Exp $ SHA1 (gst-plugins-0.6.4.tar.bz2) = 0802bbf5d8cfd58e1d06032c983c596c86bedb7e Size (gst-plugins-0.6.4.tar.bz2) = 1900957 bytes @@ -7,3 +7,4 @@ SHA1 (patch-ab) = 43a417275978e25c6068b11d2d43e4fc402fd45d SHA1 (patch-ac) = 4105fc6b219307aae8d1b62294825531e6e1f233 SHA1 (patch-ad) = 54a5b5d5bf628a8326a8328deb53e55aae48df29 SHA1 (patch-ae) = 3030ca94fb38bb9798a32155eeaded875430b627 +SHA1 (patch-af) = 353c0f03e363bd30fa286617319306183d51f1f8 diff --git a/misc/gst-plugins/patches/patch-af b/misc/gst-plugins/patches/patch-af new file mode 100644 index 00000000000..2593fbef767 --- /dev/null +++ b/misc/gst-plugins/patches/patch-af @@ -0,0 +1,16 @@ +$NetBSD: patch-af,v 1.1 2004/01/25 15:41:15 tron Exp $ + +--- gst/level/filter.func.orig Sun Oct 5 18:46:21 2003 ++++ gst/level/filter.func Sun Jan 25 16:31:31 2004 +@@ -9,10 +9,9 @@ + double squaresum = 0.0; /* square sum of the integer samples */ + register double square = 0.0; /* Square */ + register double PSS = 0.0; /* Peak Square Sample */ ++ gdouble normalizer = (double) (1 << resolution); + + *CS = 0.0; /* Cumulative Square for this block */ +- +- gdouble normalizer = (double) (1 << resolution); + + /* + * process data here |