summaryrefslogtreecommitdiff
path: root/chat/centericq/patches
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-03-10 14:13:24 +0000
committertv <tv@pkgsrc.org>2005-03-10 14:13:24 +0000
commit8b02ad7ed17eec2b9567c51d26b43cfe7454502f (patch)
tree621c54e1b72c0b2649f9dcb94b3fa79590c93f02 /chat/centericq/patches
parent8f6ed61153a9e406d5e95866179ce1988b0fb201 (diff)
downloadpkgsrc-8b02ad7ed17eec2b9567c51d26b43cfe7454502f.tar.gz
The utmp support is only used on Linux, so conditionalize inclusion of
utmp.h on __linux__ as well.
Diffstat (limited to 'chat/centericq/patches')
-rw-r--r--chat/centericq/patches/patch-ad14
1 files changed, 14 insertions, 0 deletions
diff --git a/chat/centericq/patches/patch-ad b/chat/centericq/patches/patch-ad
new file mode 100644
index 00000000000..db39bae96be
--- /dev/null
+++ b/chat/centericq/patches/patch-ad
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.1 2005/03/10 14:13:24 tv Exp $
+
+--- kksystr-0.1/include/kkiproc.h.orig Tue Jul 9 13:07:29 2002
++++ kksystr-0.1/include/kkiproc.h
+@@ -9,7 +9,9 @@
+ #include <string.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
++#ifdef __linux__
+ #include <utmp.h>
++#endif
+ #include <string.h>
+ #include <ctype.h>
+