summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2004-06-01 08:46:55 +0000
committerDoug Barton <dougb@FreeBSD.org>2004-06-01 08:46:55 +0000
commit096d90977d01c94e55631690577a50e9fe5e798f (patch)
tree4389ca634647e276c85f94d38602d689db7ab847 /x11
parentThis 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')
-rw-r--r--x11/xscreensaver/files/patch-hacks_apple2-main.c13
-rw-r--r--x11/xscreensaver/files/patch-hacks_phosphor.c13
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;