aboutsummaryrefslogtreecommitdiffstats
path: root/net/gtic
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-02-14 00:50:50 +0800
committersteve <steve@FreeBSD.org>2000-02-14 00:50:50 +0800
commit661123b4930f31f71b311d1c65619fd3f8ff645d (patch)
treed086a7203b5b77d44b2850b369e11f177a180834 /net/gtic
parent4e73a025794fb6d7824e04439e81d03940022cbb (diff)
downloadfreebsd-ports-gnome-661123b4930f31f71b311d1c65619fd3f8ff645d.tar.gz
freebsd-ports-gnome-661123b4930f31f71b311d1c65619fd3f8ff645d.tar.zst
freebsd-ports-gnome-661123b4930f31f71b311d1c65619fd3f8ff645d.zip
Don't provide a prototype for xmalloc on FreeBSD/Alpha so this builds
again.
Diffstat (limited to 'net/gtic')
-rw-r--r--net/gtic/files/patch-af12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/gtic/files/patch-af b/net/gtic/files/patch-af
new file mode 100644
index 000000000000..2eef308747b2
--- /dev/null
+++ b/net/gtic/files/patch-af
@@ -0,0 +1,12 @@
+--- src/xmalloc.h.orig Sun Feb 6 10:50:42 2000
++++ src/xmalloc.h Sun Feb 6 10:51:14 2000
+@@ -1,7 +1,9 @@
+ #ifndef __XMALLOC_H
+ #define __XMALLOC_H
+
++#if !defined(__FreeBSD__) || !defined(__alpha__)
+ void *xmalloc(size_t size);
++#endif
+ void xfree(void *ptr);
+
+ #endif