summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Tilley <lv@gentoo.org>2004-04-22 11:22:43 +0000
committerTravis Tilley <lv@gentoo.org>2004-04-22 11:22:43 +0000
commita13c9d8478fa1408d8deec228ffe3e39bc315fd5 (patch)
treee004c748876c629ba1fc50da7a080e153b152436 /sys-apps/shadow/files
parentVersion bump (Manifest recommit) (diff)
downloadgentoo-2-a13c9d8478fa1408d8deec228ffe3e39bc315fd5.tar.gz
gentoo-2-a13c9d8478fa1408d8deec228ffe3e39bc315fd5.tar.bz2
gentoo-2-a13c9d8478fa1408d8deec228ffe3e39bc315fd5.zip
gcc 3.4 fixes
Diffstat (limited to 'sys-apps/shadow/files')
-rw-r--r--sys-apps/shadow/files/shadow-4.0.3-gcc34-xmalloc.patch11
-rw-r--r--sys-apps/shadow/files/shadow-4.0.4.1-gcc34-xmalloc.patch11
2 files changed, 22 insertions, 0 deletions
diff --git a/sys-apps/shadow/files/shadow-4.0.3-gcc34-xmalloc.patch b/sys-apps/shadow/files/shadow-4.0.3-gcc34-xmalloc.patch
new file mode 100644
index 000000000000..bec4e62d2e63
--- /dev/null
+++ b/sys-apps/shadow/files/shadow-4.0.3-gcc34-xmalloc.patch
@@ -0,0 +1,11 @@
+--- ./libmisc/xmalloc.c.old 2004-04-22 07:05:35.260248320 -0400
++++ ./libmisc/xmalloc.c 2004-04-22 07:06:35.775048672 -0400
+@@ -16,7 +16,7 @@
+
+ #include "defines.h"
+
+-extern char *malloc();
++extern void *malloc (size_t size);
+
+ char *
+ xmalloc(size_t size)
diff --git a/sys-apps/shadow/files/shadow-4.0.4.1-gcc34-xmalloc.patch b/sys-apps/shadow/files/shadow-4.0.4.1-gcc34-xmalloc.patch
new file mode 100644
index 000000000000..9ea7d23f3230
--- /dev/null
+++ b/sys-apps/shadow/files/shadow-4.0.4.1-gcc34-xmalloc.patch
@@ -0,0 +1,11 @@
+--- libmisc/old/xmalloc.c 2004-04-21 09:15:20.000000000 +0000
++++ libmisc/xmalloc.c 2004-04-21 09:32:50.000000000 +0000
+@@ -13,7 +13,7 @@
+ RCSID ("$Id: shadow-4.0.4.1-gcc34-xmalloc.patch,v 1.1 2004/04/22 11:22:43 lv Exp $")
+ #include <stdio.h>
+ #include "defines.h"
+-extern char *malloc ();
++extern void *malloc (size_t size);
+
+ char *xmalloc (size_t size)
+ {