diff options
author | christos <christos@pkgsrc.org> | 1999-09-12 20:41:00 +0000 |
---|---|---|
committer | christos <christos@pkgsrc.org> | 1999-09-12 20:41:00 +0000 |
commit | 3aa128a1f371e0e867bf5ea0de5a0c9facd9fdde (patch) | |
tree | 6930156bc2c56cfadd4e7820108e553abd8fbafd /x11 | |
parent | 6c1c9c79da2c89763bacc2d91ef38300909fad44 (diff) | |
download | pkgsrc-3aa128a1f371e0e867bf5ea0de5a0c9facd9fdde.tar.gz |
adjust to ipc changes
Diffstat (limited to 'x11')
-rw-r--r-- | x11/kdebase/patches/patch-as | 23 |
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 |