diff options
author | arved <arved@FreeBSD.org> | 2006-01-20 23:20:43 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2006-01-20 23:20:43 +0800 |
commit | 4be76a55b90e6d201833c8563adb30487b6c5f16 (patch) | |
tree | 8e445dc99d695559cd01ded48ed2b52f0f9a1471 /sysutils | |
parent | 8166833be54f5d71291fe1c0c4b93ee564a3a242 (diff) | |
download | freebsd-ports-gnome-4be76a55b90e6d201833c8563adb30487b6c5f16.tar.gz freebsd-ports-gnome-4be76a55b90e6d201833c8563adb30487b6c5f16.tar.zst freebsd-ports-gnome-4be76a55b90e6d201833c8563adb30487b6c5f16.zip |
Fix build after MFC of swab prototype change.
Unfortunately trhodes did not bump __FreeBSD_version, so use an
approximation.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/gtoaster/Makefile | 4 | ||||
-rw-r--r-- | sysutils/gtoaster/files/patch-stdfiletrack.c | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/sysutils/gtoaster/Makefile b/sysutils/gtoaster/Makefile index 0a9635ce34b8..0e4d254b5507 100644 --- a/sysutils/gtoaster/Makefile +++ b/sysutils/gtoaster/Makefile @@ -33,10 +33,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 504104 && ${OSVERSION} < 600000 -BROKEN= "Does not compile on FreeBSD 5.x" -.endif - .if ${HAVE_GNOME:Mgnomelibs}!="" PKGNAMESUFFIX= -gnome USE_GNOME+= gnomelibs diff --git a/sysutils/gtoaster/files/patch-stdfiletrack.c b/sysutils/gtoaster/files/patch-stdfiletrack.c index f2cf3c58ec24..16d6c6670576 100644 --- a/sysutils/gtoaster/files/patch-stdfiletrack.c +++ b/sysutils/gtoaster/files/patch-stdfiletrack.c @@ -8,7 +8,7 @@ $FreeBSD$ #ifndef __svr4__ +#include <osreldate.h> -+#if __FreeBSD_version >= 600007 ++#if __FreeBSD_version >= 504102 +void swab(const void *from,void *to,ssize_t n); +#else void swab(const void *from,void *to,size_t n); |