summaryrefslogtreecommitdiff
path: root/devel/rdp/patches
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 /devel/rdp/patches
parentf0007250bd5dca52675e26a43c9e55806aafda68 (diff)
downloadpkgsrc-48b0666a25236df2849d345bfcd3ea9fc3a8bce1.tar.gz
Make this package compile when using gcc 3.3.
Diffstat (limited to 'devel/rdp/patches')
-rw-r--r--devel/rdp/patches/patch-ab15
1 files changed, 15 insertions, 0 deletions
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)
+ {