aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xscreensaver
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2004-06-01 16:46:55 +0800
committerdougb <dougb@FreeBSD.org>2004-06-01 16:46:55 +0800
commit21cf61ce7d67c3f0855e0374f6a727de900ea94f (patch)
treec9f0f71cef633ce334259894c8f182844675d1b6 /x11/xscreensaver
parentf8d267335a6c1ecfd5b6d11941504acd87c92c62 (diff)
downloadfreebsd-ports-gnome-21cf61ce7d67c3f0855e0374f6a727de900ea94f.tar.gz
freebsd-ports-gnome-21cf61ce7d67c3f0855e0374f6a727de900ea94f.tar.zst
freebsd-ports-gnome-21cf61ce7d67c3f0855e0374f6a727de900ea94f.zip
Borrow two patches from the gnome port to make these hacks compile on -current
Diffstat (limited to 'x11/xscreensaver')
-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;