diff options
author | hubertf <hubertf> | 1999-09-29 20:38:27 +0000 |
---|---|---|
committer | hubertf <hubertf> | 1999-09-29 20:38:27 +0000 |
commit | 2b482c1b535b38e1528ea2970a2954e2e60ad73c (patch) | |
tree | bab103561cad9bdc194eefd2d224c13156edd883 /x11 | |
parent | c96ba88b6a050c3ac472a18130bf97f7dad51cff (diff) | |
download | pkgsrc-2b482c1b535b38e1528ea2970a2954e2e60ad73c.tar.gz |
Yet another patch to get kdm building on Solaris
(hey, and I don't even have zoularis going! ;-)
Diffstat (limited to 'x11')
-rw-r--r-- | x11/kdebase/files/patch-sum | 4 | ||||
-rw-r--r-- | x11/kdebase/patches/patch-ai | 34 | ||||
-rw-r--r-- | x11/kdebase/patches/patch-aj | 15 |
3 files changed, 52 insertions, 1 deletions
diff --git a/x11/kdebase/files/patch-sum b/x11/kdebase/files/patch-sum index 7a176fb16d8..0a5e75d1250 100644 --- a/x11/kdebase/files/patch-sum +++ b/x11/kdebase/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.6 1999/09/15 18:26:04 tron Exp $ +$NetBSD: patch-sum,v 1.7 1999/09/29 20:38:27 hubertf Exp $ MD5 (patch-aa) = b02c21a3d700b6a6f1f350b0df7c1a57 MD5 (patch-ab) = 8fd3d2def74bfcffd97ee0b4707dacd0 @@ -8,6 +8,8 @@ MD5 (patch-ae) = f4bc83b92897ecb94376d33278955a9a MD5 (patch-af) = 643bd9370f91c1c9968030a3ec6fe656 MD5 (patch-ag) = c9e121403e4f2de2a25e7f1ea8a8ecf4 MD5 (patch-ah) = 109a2d63b2f3ff0d05e2b50251bc1ec5 +MD5 (patch-ai) = 78a7190a72184b24e39cdde019c7e805 +MD5 (patch-aj) = 61054998ed6ba0e5fbd20f8cc6ac297d MD5 (patch-ak) = 073c4980228c29843856cbb3b3883334 MD5 (patch-al) = 148498220dac0b3d280ac213b5925352 MD5 (patch-am) = 1b7b201d060759a5ae1878fad7252dce diff --git a/x11/kdebase/patches/patch-ai b/x11/kdebase/patches/patch-ai new file mode 100644 index 00000000000..0387e23a5e7 --- /dev/null +++ b/x11/kdebase/patches/patch-ai @@ -0,0 +1,34 @@ +$NetBSD: patch-ai,v 1.3 1999/09/29 20:38:28 hubertf Exp $ + +This helped me getting kdm going on Solaris 7/x86. I did not test this +with Zoularis, but maybe it'll help if someone needs it. + +--- kdm/daemon.c.orig Wed Sep 30 23:19:53 1998 ++++ kdm/daemon.c Fri Sep 24 16:58:00 1999 +@@ -38,6 +38,10 @@ + + #include <X11/Xos.h> + ++#ifdef __SVR4 ++#define SVR4 __SVR4 ++#endif ++ + /* + #if defined(SVR4) || defined(USG) + #include <termios.h> +@@ -135,14 +139,12 @@ + /* + * Close standard file descriptors and get rid of controlling tty + */ +- +-/* + #if defined(SYSV) || defined(SVR4) + setpgrp (); + #else + setpgrp (0, getpid()); + #endif +-*/ ++ + setpgid( 0, getpid()); /* This should be POSIX /stefh */ + close (0); + close (1); diff --git a/x11/kdebase/patches/patch-aj b/x11/kdebase/patches/patch-aj new file mode 100644 index 00000000000..c7960a8826a --- /dev/null +++ b/x11/kdebase/patches/patch-aj @@ -0,0 +1,15 @@ +$NetBSD: patch-aj,v 1.3 1999/09/29 20:38:28 hubertf Exp $ + +Yet another Solaris-only fix + +--- kdm-config.h.orig Wed Sep 29 22:34:24 1999 ++++ kdm-config.h Wed Sep 29 22:36:27 1999 +@@ -95,3 +95,8 @@ + #ifdef __cplusplus + } + #endif ++ ++ ++#ifdef SVR4 ++#define NeedVarargsPrototypes 1 ++#endif |