Make this package compile when using gcc 3.3.

This commit is contained in:
kristerw 2004-05-24 09:36:48 +00:00
parent f4698a9a23
commit 5472c2da1b
2 changed files with 17 additions and 1 deletions

View file

@ -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

View file

@ -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)
{