pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/gst-plugins Fix crappy C code which breaks the bu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b3a29c2e252
branches:  trunk
changeset: 467014:0b3a29c2e252
user:      tron <tron%pkgsrc.org@localhost>
date:      Sun Jan 25 15:41:15 2004 +0000

description:
Fix crappy C code which breaks the build with GCC 2.95.3.

diffstat:

 misc/gst-plugins/distinfo         |   3 ++-
 misc/gst-plugins/patches/patch-af |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r afc6b76a0616 -r 0b3a29c2e252 misc/gst-plugins/distinfo
--- a/misc/gst-plugins/distinfo Sun Jan 25 15:29:51 2004 +0000
+++ b/misc/gst-plugins/distinfo Sun Jan 25 15:41:15 2004 +0000
@@ -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-ac) = 4105fc6b219307aae8d1b62294825531e6e1f233
 SHA1 (patch-ad) = 54a5b5d5bf628a8326a8328deb53e55aae48df29
 SHA1 (patch-ae) = 3030ca94fb38bb9798a32155eeaded875430b627
+SHA1 (patch-af) = 353c0f03e363bd30fa286617319306183d51f1f8
diff -r afc6b76a0616 -r 0b3a29c2e252 misc/gst-plugins/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gst-plugins/patches/patch-af Sun Jan 25 15:41:15 2004 +0000
@@ -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  



Home | Main Index | Thread Index | Old Index