From 21cf61ce7d67c3f0855e0374f6a727de900ea94f Mon Sep 17 00:00:00 2001 From: dougb Date: Tue, 1 Jun 2004 08:46:55 +0000 Subject: Borrow two patches from the gnome port to make these hacks compile on -current --- x11/xscreensaver/files/patch-hacks_apple2-main.c | 13 +++++++++++++ x11/xscreensaver/files/patch-hacks_phosphor.c | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 x11/xscreensaver/files/patch-hacks_apple2-main.c create mode 100644 x11/xscreensaver/files/patch-hacks_phosphor.c diff --git a/x11/xscreensaver/files/patch-hacks_apple2-main.c b/x11/xscreensaver/files/patch-hacks_apple2-main.c new file mode 100644 index 000000000000..8af7fa07239f --- /dev/null +++ b/x11/xscreensaver/files/patch-hacks_apple2-main.c @@ -0,0 +1,13 @@ +--- hacks/apple2-main.c.orig Wed May 19 21:45:49 2004 ++++ hacks/apple2-main.c Wed May 19 21:46:13 2004 +@@ -30,6 +30,10 @@ + # ifdef HAVE_UTIL_H + # include + # endif ++#include ++#include ++#include ++#include + #endif /* HAVE_FORKPTY */ + + #undef countof diff --git a/x11/xscreensaver/files/patch-hacks_phosphor.c b/x11/xscreensaver/files/patch-hacks_phosphor.c new file mode 100644 index 000000000000..e01033342531 --- /dev/null +++ b/x11/xscreensaver/files/patch-hacks_phosphor.c @@ -0,0 +1,13 @@ +--- hacks/phosphor.c.orig Wed May 19 21:43:52 2004 ++++ hacks/phosphor.c Wed May 19 21:44:54 2004 +@@ -33,6 +33,10 @@ + # ifdef HAVE_UTIL_H + # include + # endif ++#include ++#include ++#include ++#include + #endif /* HAVE_FORKPTY */ + + extern XtAppContext app; -- cgit