diff options
author | thierry <thierry@FreeBSD.org> | 2005-04-11 05:00:01 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2005-04-11 05:00:01 +0800 |
commit | da47f90c2f884162d559671165c1f0715c5d955a (patch) | |
tree | e6c2eb1139725dc6d6df22551cc80ffacfb0e46a /devel/libmba | |
parent | e90ba78e7a3e4cc608483642fff52ffc10fc1e90 (diff) | |
download | freebsd-ports-gnome-da47f90c2f884162d559671165c1f0715c5d955a.tar.gz freebsd-ports-gnome-da47f90c2f884162d559671165c1f0715c5d955a.tar.zst freebsd-ports-gnome-da47f90c2f884162d559671165c1f0715c5d955a.zip |
Unbreak on FreeBSD-4.11.
PR: ports/79354
Submitted by: Jukka Ukkonen
Diffstat (limited to 'devel/libmba')
-rw-r--r-- | devel/libmba/Makefile | 4 | ||||
-rw-r--r-- | devel/libmba/files/patch-src::mba::time.h | 10 | ||||
-rw-r--r-- | devel/libmba/files/patch-src::text.c | 11 |
3 files changed, 19 insertions, 6 deletions
diff --git a/devel/libmba/Makefile b/devel/libmba/Makefile index 188280ab6987..abd6e49d2d2f 100644 --- a/devel/libmba/Makefile +++ b/devel/libmba/Makefile @@ -34,8 +34,8 @@ SHLIB_MAJOR= 1 .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500039 -IGNORE= requires wchar functions for compilation +.if ${OSVERSION} < 500000 +USE_GCC= 3.4 .endif post-patch: diff --git a/devel/libmba/files/patch-src::mba::time.h b/devel/libmba/files/patch-src::mba::time.h index 24a3dda27af2..f6294116b05d 100644 --- a/devel/libmba/files/patch-src::mba::time.h +++ b/devel/libmba/files/patch-src::mba::time.h @@ -1,11 +1,13 @@ ---- src/mba/time.h.orig Tue Mar 22 08:58:04 2005 -+++ src/mba/time.h Tue Mar 22 08:56:02 2005 -@@ -20,7 +20,7 @@ +--- src/mba/time.h.orig Sun Oct 26 06:06:09 2003 ++++ src/mba/time.h Sun Apr 10 22:27:40 2005 +@@ -20,7 +20,9 @@ #endif /* WIN32 */ #endif /* LIBMBA_API */ -#if defined(__sparc__) -+#if defined(__sparc__) && ! (defined (__FreeBSD__)) ++#if defined(__FreeBSD__) ++ #include <inttypes.h> ++#elif defined(__sparc__) #include <sys/inttypes.h> #elif defined(_WIN32) #define MILLISECONDS_BETWEEN_1970_AND_1601 11644473600000Ui64 diff --git a/devel/libmba/files/patch-src::text.c b/devel/libmba/files/patch-src::text.c new file mode 100644 index 000000000000..9c95a04cf159 --- /dev/null +++ b/devel/libmba/files/patch-src::text.c @@ -0,0 +1,11 @@ +--- src/text.c.orig Fri Feb 13 22:52:52 2004 ++++ src/text.c Sun Apr 10 22:25:00 2005 +@@ -22,6 +22,8 @@ + * OTHER DEALINGS IN THE SOFTWARE. + */ + ++#include <sys/types.h> ++#include <stdarg.h> + #include <stdlib.h> + #include <stdio.h> + #include <stddef.h> |