diff options
author | tron <tron> | 2004-01-25 15:41:15 +0000 |
---|---|---|
committer | tron <tron> | 2004-01-25 15:41:15 +0000 |
commit | 2e644640bad6fee6abf78a9dfdea4eb6c9d5eb2c (patch) | |
tree | 216574a1c5a2eea6961ce0531def6e3144ace5aa /misc | |
parent | 00ccef99660e75899e42791279beadd47584139a (diff) | |
download | pkgsrc-2e644640bad6fee6abf78a9dfdea4eb6c9d5eb2c.tar.gz |
Fix crappy C code which breaks the build with GCC 2.95.3.
Diffstat (limited to 'misc')
-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 |