diff options
author | Doug Barton <dougb@FreeBSD.org> | 2004-06-01 08:46:55 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2004-06-01 08:46:55 +0000 |
commit | 096d90977d01c94e55631690577a50e9fe5e798f (patch) | |
tree | 4389ca634647e276c85f94d38602d689db7ab847 /x11/xscreensaver | |
parent | This patch is no longer needed for 4.16 (diff) |
Borrow two patches from the gnome port to make these hacks compile on -current
Notes
Notes:
svn path=/head/; revision=110588
Diffstat (limited to 'x11/xscreensaver')
-rw-r--r-- | x11/xscreensaver/files/patch-hacks_apple2-main.c | 13 | ||||
-rw-r--r-- | x11/xscreensaver/files/patch-hacks_phosphor.c | 13 |
2 files changed, 26 insertions, 0 deletions
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 <util.h> + # endif ++#include <sys/types.h> ++#include <sys/ioctl.h> ++#include <termios.h> ++#include <libutil.h> + #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 <util.h> + # endif ++#include <sys/types.h> ++#include <sys/ioctl.h> ++#include <termios.h> ++#include <libutil.h> + #endif /* HAVE_FORKPTY */ + + extern XtAppContext app; |