summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Smith <smithj@gentoo.org>2005-06-14 14:44:11 +0000
committerJonathan Smith <smithj@gentoo.org>2005-06-14 14:44:11 +0000
commit7817f6e89a43ca2e2207045179c226be07494cb7 (patch)
treeb4be76f73461b53df4407d126c210f30151eb9d9 /x11-misc/xfm/files/xfm-1.4.3-malloc.patch
parentfixed metadata.xml to have the correct herd (diff)
downloadhistorical-7817f6e89a43ca2e2207045179c226be07494cb7.tar.gz
historical-7817f6e89a43ca2e2207045179c226be07494cb7.tar.bz2
historical-7817f6e89a43ca2e2207045179c226be07494cb7.zip
fixed malloc problem in 1.4.3 for #66133
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'x11-misc/xfm/files/xfm-1.4.3-malloc.patch')
-rw-r--r--x11-misc/xfm/files/xfm-1.4.3-malloc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-misc/xfm/files/xfm-1.4.3-malloc.patch b/x11-misc/xfm/files/xfm-1.4.3-malloc.patch
new file mode 100644
index 000000000000..00607185f1b9
--- /dev/null
+++ b/x11-misc/xfm/files/xfm-1.4.3-malloc.patch
@@ -0,0 +1,12 @@
+diff -Nru --exclude=Makefile xfm-1.4.3.original/regexp/regexp.c xfm-1.4.3/regexp/regexp.c
+--- xfm-1.4.3.original/regexp/regexp.c 2005-05-07 17:36:22.000000000 +0200
++++ xfm-1.4.3/regexp/regexp.c 2005-05-07 17:37:59.000000000 +0200
+@@ -195,7 +195,7 @@
+ register char *longest;
+ register int len;
+ int flags;
+- extern char *malloc();
++ /* extern char *malloc(); */
+
+ if (exp == NULL)
+ FAIL("NULL argument");