aboutsummaryrefslogtreecommitdiff
path: root/audio/xwave/files/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xwave/files/patch-ah')
-rw-r--r--audio/xwave/files/patch-ah29
1 files changed, 29 insertions, 0 deletions
diff --git a/audio/xwave/files/patch-ah b/audio/xwave/files/patch-ah
new file mode 100644
index 000000000000..b66afe7118f8
--- /dev/null
+++ b/audio/xwave/files/patch-ah
@@ -0,0 +1,29 @@
+--- src/graphics.c.orig Mon Nov 9 08:22:55 1998
++++ src/graphics.c Fri Jun 30 19:49:18 2000
+@@ -30,7 +30,7 @@
+
+ #ifdef linux
+ #include <endian.h>
+-#elif defined (FreeBSD)
++#elif defined (__FreeBSD__)
+ #include <machine/endian.h>
+ #elif defined (sgi)
+ #include <sys/endian.h>
+@@ -1476,7 +1476,7 @@
+ if (md->mb->exposing) return;
+ */
+
+-#if defined (linux) || defined (FreeBSD)
++#if defined (linux) || defined (__FreeBSD__)
+ if (resizing) {
+ resizing=FALSE;
+ return;
+@@ -1532,7 +1532,7 @@
+
+ void expose_canvas (Widget w, Main_Data *md, XExposeEvent *event, Boolean *flg)
+ {
+-#if defined (linux) || defined (FreeBSD)
++#if defined (linux) || defined (__FreeBSD__)
+ if (resizing) {
+ if (!event->count) resizing=FALSE;
+ return;