aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gtoaster
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-01-09 08:58:22 +0800
committerkrion <krion@FreeBSD.org>2005-01-09 08:58:22 +0800
commit751df40320f0a7562e88491725eca3cfabbb0b77 (patch)
tree4d393ca0802c771cf2c87162e14408e33b81d5c2 /sysutils/gtoaster
parent4d313e3dbe330c3e2669e40e1c0c666f87c0b05b (diff)
downloadfreebsd-ports-gnome-751df40320f0a7562e88491725eca3cfabbb0b77.tar.gz
freebsd-ports-gnome-751df40320f0a7562e88491725eca3cfabbb0b77.tar.zst
freebsd-ports-gnome-751df40320f0a7562e88491725eca3cfabbb0b77.zip
Fix build on 6.x after changing swab() prototypes in <unistd.h> and
<string.h>
Diffstat (limited to 'sysutils/gtoaster')
-rw-r--r--sysutils/gtoaster/files/patch-stdfiletrack.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/gtoaster/files/patch-stdfiletrack.c b/sysutils/gtoaster/files/patch-stdfiletrack.c
new file mode 100644
index 000000000000..f2cf3c58ec24
--- /dev/null
+++ b/sysutils/gtoaster/files/patch-stdfiletrack.c
@@ -0,0 +1,18 @@
+
+$FreeBSD$
+
+--- stdfiletrack.c.orig
++++ stdfiletrack.c
+@@ -21,7 +21,12 @@
+ #include "dependencies.h"
+
+ #ifndef __svr4__
++#include <osreldate.h>
++#if __FreeBSD_version >= 600007
++void swab(const void *from,void *to,ssize_t n);
++#else
+ void swab(const void *from,void *to,size_t n);
++#endif
+ #endif
+
+ #include "tracks.h"