aboutsummaryrefslogtreecommitdiff
path: root/sysutils/su2
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-08-15 16:03:41 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-08-15 16:03:41 +0000
commite0ee1c46d65d07705a923bda98fdf127b05bec05 (patch)
tree6cf0f20675b1d61b720528516f275b9c9f426641 /sysutils/su2
parente9f7e2b6edb17e855c27f36fcbccee359ddb2b1c (diff)
Fix build with gcc 3.4
Notes
Notes: svn path=/head/; revision=116271
Diffstat (limited to 'sysutils/su2')
-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 @@
}
}