summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-05-24 09:36:48 +0000
committerkristerw <kristerw@pkgsrc.org>2004-05-24 09:36:48 +0000
commit48b0666a25236df2849d345bfcd3ea9fc3a8bce1 (patch)
tree7cecce7fea804c1f144ad084206cbf4164c98bf0
parentf0007250bd5dca52675e26a43c9e55806aafda68 (diff)
downloadpkgsrc-48b0666a25236df2849d345bfcd3ea9fc3a8bce1.tar.gz
Make this package compile when using gcc 3.3.
-rw-r--r--devel/rdp/distinfo3
-rw-r--r--devel/rdp/patches/patch-ab15
2 files changed, 17 insertions, 1 deletions
diff --git a/devel/rdp/distinfo b/devel/rdp/distinfo
index c03b78e7746..186ed126928 100644
--- a/devel/rdp/distinfo
+++ b/devel/rdp/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2001/04/21 00:44:44 wiz Exp $
+$NetBSD: distinfo,v 1.3 2004/05/24 09:36:48 kristerw Exp $
SHA1 (rdp1_5.zip) = 05a450d95aa306231a5762ddc292894f8b0c63f8
Size (rdp1_5.zip) = 1234919 bytes
SHA1 (patch-aa) = b424b87f71057c81a9d125cd063568ace051ec30
+SHA1 (patch-ab) = e4a44c122221196147b9dd16d59fac6da09f2e67
diff --git a/devel/rdp/patches/patch-ab b/devel/rdp/patches/patch-ab
new file mode 100644
index 00000000000..e504017e04d
--- /dev/null
+++ b/devel/rdp/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2004/05/24 09:36:48 kristerw Exp $
+
+--- rdp_supp/scanner.c.orig 2004-05-24 11:33:39.000000000 +0200
++++ rdp_supp/scanner.c 2004-05-24 11:34:14.000000000 +0200
+@@ -16,8 +16,8 @@
+ #include "scan.h"
+
+ extern void * scan_table;
+-static last_line_number = 0;
+-static last_column = 0;
++static int last_line_number = 0;
++static int last_column = 0;
+
+ unsigned long scan_column_number(void)
+ {