summaryrefslogtreecommitdiff
path: root/chat/ircd-hybrid
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2011-08-29 00:36:05 +0000
committerdholland <dholland@pkgsrc.org>2011-08-29 00:36:05 +0000
commitd341280658aac107c0507665f4aa841e2798b69c (patch)
treeef601818999ea6521ae90faafe5490892ef8babb /chat/ircd-hybrid
parent9c705da45bfe725b1be6f3ea445be0d6f0f1e854 (diff)
downloadpkgsrc-d341280658aac107c0507665f4aa841e2798b69c.tar.gz
Fix usage of inline semantics for compilers that pretend to be gcc but aren't.
Diffstat (limited to 'chat/ircd-hybrid')
-rw-r--r--chat/ircd-hybrid/distinfo3
-rw-r--r--chat/ircd-hybrid/patches/patch-include_memory_h16
2 files changed, 18 insertions, 1 deletions
diff --git a/chat/ircd-hybrid/distinfo b/chat/ircd-hybrid/distinfo
index 907c44b76ca..20067542769 100644
--- a/chat/ircd-hybrid/distinfo
+++ b/chat/ircd-hybrid/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2010/02/04 20:14:00 adrianp Exp $
+$NetBSD: distinfo,v 1.12 2011/08/29 00:36:05 dholland Exp $
SHA1 (ircd-hybrid-7.2.3.tgz) = f8a61e5500d28a4b4cded5f096c3627c2e5f01a0
RMD160 (ircd-hybrid-7.2.3.tgz) = 58bec65da2492480b9a4e86777c6c19a4b568408
@@ -12,3 +12,4 @@ SHA1 (patch-af) = 98f8e425e935f468de1ae3b29e4a81e8188f90a8
SHA1 (patch-ag) = 34e4e1d6af0398f893916b8daef666103cb4d005
SHA1 (patch-ah) = 398bff5e39ce04eccd959b612c84282c26e02224
SHA1 (patch-ai) = 85e2f0650e22d8b948f65f66c6f35a9465f07b53
+SHA1 (patch-include_memory_h) = dbfa0d3987716e70464054d4f67facd42f3b1973
diff --git a/chat/ircd-hybrid/patches/patch-include_memory_h b/chat/ircd-hybrid/patches/patch-include_memory_h
new file mode 100644
index 00000000000..fd96dbabe8b
--- /dev/null
+++ b/chat/ircd-hybrid/patches/patch-include_memory_h
@@ -0,0 +1,16 @@
+$NetBSD: patch-include_memory_h,v 1.1 2011/08/29 00:36:05 dholland Exp $
+
+- fix use of inline semantics for the benefit of compilers that
+pretend to be gcc but aren't.
+
+--- include/memory.h~ 2007-02-28 04:17:43.000000000 +0000
++++ include/memory.h
+@@ -49,7 +49,7 @@ extern void _DupString(char **x, const c
+ /* forte (and maybe others) don't like double declarations,
+ * so we don't declare the inlines unless GNUC
+ */
+-#ifdef __GNUC__
++#if defined(__GNUC__) && !defined(__GNUC_STDC_INLINE__)
+ extern inline void *
+ MyMalloc(size_t size)
+ {