aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-01-09 00:58:22 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-01-09 00:58:22 +0000
commit419100a033944593fbbd29bccba6fa9e686f5cb6 (patch)
tree24ce2d7f90f6a9eb07a479958f2f65df0d6d1a8f /sysutils
parentb3388de1cd22664dc5e59b892f05379e9f37a22d (diff)
downloadports-419100a033944593fbbd29bccba6fa9e686f5cb6.tar.gz
ports-419100a033944593fbbd29bccba6fa9e686f5cb6.zip
Notes
Diffstat (limited to 'sysutils')
-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"