aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-08-16 00:03:41 +0800
committerarved <arved@FreeBSD.org>2004-08-16 00:03:41 +0800
commit7e8de098b1230d912fa6599c4c794624bb3c85f7 (patch)
treebf5236791895bf77dd44283a4bf33e659b0a55e3 /sysutils
parent7da6d489a0675739290d27b6bab5fdd80e8fd751 (diff)
downloadfreebsd-ports-gnome-7e8de098b1230d912fa6599c4c794624bb3c85f7.tar.gz
freebsd-ports-gnome-7e8de098b1230d912fa6599c4c794624bb3c85f7.tar.zst
freebsd-ports-gnome-7e8de098b1230d912fa6599c4c794624bb3c85f7.zip
Fix build with gcc 3.4
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/su2/files/patch-ab12
1 files changed, 8 insertions, 4 deletions
diff --git a/sysutils/su2/files/patch-ab b/sysutils/su2/files/patch-ab
index bc73b8daf10c..a2c835efc1f2 100644
--- a/sysutils/su2/files/patch-ab
+++ b/sysutils/su2/files/patch-ab
@@ -1,5 +1,5 @@
---- su2.c.orig Sun Mar 2 20:17:16 1997
-+++ su2.c Sun Mar 2 20:21:41 1997
+--- su2.c.orig Sun Aug 15 17:59:03 2004
++++ su2.c Sun Aug 15 18:00:37 2004
@@ -113,9 +113,9 @@
#ifndef NOSU2RC
char *UsersNameFile = ".su2rc";
@@ -12,7 +12,7 @@
#ifndef PATH
# ifdef BSD
-@@ -182,13 +182,15 @@
+@@ -182,17 +182,18 @@
char *malloc ();
@@ -30,7 +30,11 @@
struct passwd *getpwuid ();
struct passwd *getpwnam ();
void endpwent ();
-@@ -570,7 +572,7 @@
+-int chmod ();
+ #endif
+
+ struct passwd *pw;
+@@ -570,7 +571,7 @@
}
}