summaryrefslogtreecommitdiff
path: root/x11/bbrun/files/patch-bbrun.c
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-07-22 02:35:58 +0000
committerPatrick Li <pat@FreeBSD.org>2002-07-22 02:35:58 +0000
commit778ce44486d91b893fb9a6dbf8e444df27d735b4 (patch)
treec7faa1c7f0ee9d0a2b7860030b74a8b75c346859 /x11/bbrun/files/patch-bbrun.c
parentUpdate to 5.9.3 (diff)
Update to 1.4
PR: ports/40820 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=63355
Diffstat (limited to '')
-rw-r--r--x11/bbrun/files/patch-bbrun.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/x11/bbrun/files/patch-bbrun.c b/x11/bbrun/files/patch-bbrun.c
new file mode 100644
index 000000000000..376c2989112b
--- /dev/null
+++ b/x11/bbrun/files/patch-bbrun.c
@@ -0,0 +1,23 @@
+--- bbrun.c.orig Sat Jul 20 13:24:53 2002
++++ bbrun.c Sat Jul 20 20:31:49 2002
+@@ -3,7 +3,11 @@
+ #include <string.h>
+ #include <getopt.h>
+ #include <unistd.h>
++#ifdef __FreeBSD__
++#include <sys/types.h>
++#else
+ #include <linux/types.h>
++#endif
+ #include <X11/xpm.h>
+ #include <gtk/gtk.h>
+ #include <gdk/gdkkeysyms.h>
+@@ -20,7 +24,7 @@
+ #define ADVANCED_WINDOW_ROWS 3
+ #define ADVANCED_WINDOW_COLS 10
+
+-#define u32 __u32
++#define u32 u_int32_t
+ #define __DEBUG__ 0
+ #define VERSION "1.4"
+