aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gtoaster
diff options
context:
space:
mode:
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"