diff options
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xscribble/distinfo | 3 | ||||
-rw-r--r-- | x11/xscribble/patches/patch-lirec_sc.c | 30 |
2 files changed, 32 insertions, 1 deletions
diff --git a/x11/xscribble/distinfo b/x11/xscribble/distinfo index 0b146e3a82d..decddc03683 100644 --- a/x11/xscribble/distinfo +++ b/x11/xscribble/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2012/07/30 04:08:53 dholland Exp $ +$NetBSD: distinfo,v 1.8 2012/10/26 20:14:51 joerg Exp $ SHA1 (xscribble.tgz) = 9983577533c6b6f482e2bfe863f54604337562c7 RMD160 (xscribble.tgz) = 49f5a5339819a76e303a135d54fb8ffd4f88febb @@ -8,3 +8,4 @@ SHA1 (patch-ab) = 6da2e1ba900c05d428de74b44e369c0e0c242190 SHA1 (patch-ac) = 61557798a2ea575862e9c0a14761465491ec6ac5 SHA1 (patch-ad) = 9fe0ce4f137975cd380280e13ccfa1543016b5b7 SHA1 (patch-ae) = 794a20d07760403be3fd90fef5de604732834771 +SHA1 (patch-lirec_sc.c) = c53184fc5161ce5484f5e6139bae411727538f41 diff --git a/x11/xscribble/patches/patch-lirec_sc.c b/x11/xscribble/patches/patch-lirec_sc.c new file mode 100644 index 00000000000..0305ff7252e --- /dev/null +++ b/x11/xscribble/patches/patch-lirec_sc.c @@ -0,0 +1,30 @@ +$NetBSD: patch-lirec_sc.c,v 1.1 2012/10/26 20:14:51 joerg Exp $ + +--- lirec/sc.c.orig 2012-10-26 14:07:40.000000000 +0000 ++++ lirec/sc.c +@@ -26,10 +26,13 @@ Software Foundation, Inc., 675 Mass Ave, + #include "matrix.h" + #include "util.h" + #include "sc.h" +-#include "stdio.h" ++#include <stdio.h> ++#include <stdlib.h> + #include "math.h" + #include "zdebug.h" + ++static void FixClassifier(sClassifier sc, Matrix avgcov); ++ + #define EPS (1.0e-6) /* for singular matrix check */ + sClassifier + sNewClassifier() +@@ -363,9 +366,7 @@ register Matrix sigma; + return result; + } + +-FixClassifier(sc, avgcov) +-register sClassifier sc; +-Matrix avgcov; ++static void FixClassifier(sClassifier sc, Matrix avgcov) + { + int i; + double det; |