summaryrefslogtreecommitdiff
path: root/x11/kdebase
diff options
context:
space:
mode:
authorchristos <christos>1999-09-12 20:41:00 +0000
committerchristos <christos>1999-09-12 20:41:00 +0000
commitd0b4504e2c0b39f306e9956a72fb5895ccd70656 (patch)
tree6930156bc2c56cfadd4e7820108e553abd8fbafd /x11/kdebase
parent87e73a4ec8dcf737f0b930686cd9277fe08f5155 (diff)
downloadpkgsrc-d0b4504e2c0b39f306e9956a72fb5895ccd70656.tar.gz
adjust to ipc changes
Diffstat (limited to 'x11/kdebase')
-rw-r--r--x11/kdebase/patches/patch-as23
1 files changed, 23 insertions, 0 deletions
diff --git a/x11/kdebase/patches/patch-as b/x11/kdebase/patches/patch-as
new file mode 100644
index 00000000000..71035c96da6
--- /dev/null
+++ b/x11/kdebase/patches/patch-as
@@ -0,0 +1,23 @@
+$NetBSD: patch-as,v 1.5 1999/09/12 20:41:00 christos Exp $
+
+--- kdehelp/khelp.h.orig Mon Mar 30 14:28:15 1998
++++ kdehelp/khelp.h Sun Sep 12 16:26:55 1999
+@@ -22,9 +22,15 @@
+ #include <sys/msg.h>
+
+ #ifndef __osf__
+-#ifdef BSD
+-#define msgbuf mymsg
+-#endif
++# ifdef BSD
++# define msgbuf mymsg
++# if __NetBSD_Version__ >= 104110000 /* 1.4K or higher */
++struct mymsg {
++ long mtype; /* message type (+ve integer) */
++ char mtext[1]; /* message body */
++};
++# endif
++# endif
+ #endif
+
+ class KHelpMsg : protected msgbuf