mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix build on 6.x after changing swab() prototypes in <unistd.h> and
<string.h>
This commit is contained in:
parent
b3388de1cd
commit
419100a033
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125905
1 changed files with 18 additions and 0 deletions
18
sysutils/gtoaster/files/patch-stdfiletrack.c
Normal file
18
sysutils/gtoaster/files/patch-stdfiletrack.c
Normal file
|
@ -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"
|
Loading…
Add table
Reference in a new issue