Update to 0.3.3.
Fix build on 4.x by using gcc 3.4.
This commit is contained in:
parent
8d4b99d2a9
commit
26c17cb9e2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146007
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= liboil
|
||||
PORTVERSION= 0.3.2
|
||||
PORTVERSION= 0.3.3
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.schleef.org/liboil/download/
|
||||
|
||||
@ -16,6 +16,7 @@ COMMENT= Library of optimized inner loops
|
||||
USE_GNOME= glib20
|
||||
USE_REINPLACE= yes
|
||||
USE_LIBTOOL_VER=15
|
||||
USE_GCC= 3.4
|
||||
INSTALLS_SHLIB= yes
|
||||
CONFIGURE_ARGS= --disable-gtk-doc
|
||||
|
||||
@ -23,13 +24,10 @@ PLIST_SUB= VERSION=${PORTVERSION:R}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= "Does not compile on FreeBSD 4.x"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|stdint\.h|inttypes.h|g' \
|
||||
${WRKSRC}/liboil/liboiltypes.h \
|
||||
${WRKSRC}/liboil/liboilprofile.h \
|
||||
${WRKSRC}/liboil/liboil.h
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (liboil-0.3.2.tar.gz) = f127d90ee8531d03184b76f18e3997be
|
||||
SIZE (liboil-0.3.2.tar.gz) = 568293
|
||||
MD5 (liboil-0.3.3.tar.gz) = 5bcbee1d5e7f29c95d28620f1fe6b817
|
||||
SIZE (liboil-0.3.3.tar.gz) = 671516
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- configure.orig Thu Mar 17 10:45:20 2005
|
||||
+++ configure Sat Mar 19 11:55:47 2005
|
||||
@@ -20895,13 +20895,13 @@
|
||||
--- configure.orig Fri Sep 30 01:52:47 2005
|
||||
+++ configure Fri Oct 21 11:14:15 2005
|
||||
@@ -21513,13 +21513,13 @@
|
||||
|
||||
fi
|
||||
|
||||
-LIBOIL_CFLAGS="$LIBOIL_CFLAGS -D_GNU_SOURCE -D_POSIX_C_SOURCE=200112L -I\$(top_srcdir) -O2"
|
||||
+LIBOIL_CFLAGS="$LIBOIL_CFLAGS -D_GNU_SOURCE -I\$(top_srcdir) -O2"
|
||||
|
||||
-LIBOIL_CFLAGS="$LIBOIL_CFLAGS -D_BSD_SOURCE -D_GNU_SOURCE -I\$(top_srcdir) -O2"
|
||||
+LIBOIL_CFLAGS="$LIBOIL_CFLAGS -D_BSD_SOURCE -D_GNU_SOURCE -I\$(top_srcdir) $(CFLAGS)"
|
||||
|
||||
|
||||
LIBOIL_LIBS="\$(top_builddir)/liboil/liboil-$LIBOIL_MAJORMINOR.la"
|
||||
|
17
devel/liboil/files/patch-liboil__simdpack__sincos_f64.c
Normal file
17
devel/liboil/files/patch-liboil__simdpack__sincos_f64.c
Normal file
@ -0,0 +1,17 @@
|
||||
--- liboil/simdpack/sincos_f64.c.orig Sun Oct 9 09:59:12 2005
|
||||
+++ liboil/simdpack/sincos_f64.c Sun Oct 9 10:01:03 2005
|
||||
@@ -71,6 +71,7 @@
|
||||
}
|
||||
OIL_DEFINE_IMPL (sincos_f64_i20_fast, sincos_f64);
|
||||
|
||||
+/*
|
||||
#ifdef _GNU_SOURCE
|
||||
static void
|
||||
sincos_f64_sincos (double *dest_sin, double *dest_cos, int n, double *offset,
|
||||
@@ -83,5 +84,6 @@
|
||||
}
|
||||
}
|
||||
OIL_DEFINE_IMPL (sincos_f64_sincos, sincos_f64);
|
||||
#endif
|
||||
+*/
|
||||
|
@ -1,9 +1,11 @@
|
||||
include/liboil-%%VERSION%%/liboil/liboil.h
|
||||
include/liboil-%%VERSION%%/liboil/liboilclasses.h
|
||||
include/liboil-%%VERSION%%/liboil/liboilcpu.h
|
||||
include/liboil-%%VERSION%%/liboil/liboildebug.h
|
||||
include/liboil-%%VERSION%%/liboil/liboilfuncs.h
|
||||
include/liboil-%%VERSION%%/liboil/liboilfunction.h
|
||||
include/liboil-%%VERSION%%/liboil/liboilgcc.h
|
||||
include/liboil-%%VERSION%%/liboil/liboilinternal.h
|
||||
include/liboil-%%VERSION%%/liboil/liboilparameter.h
|
||||
include/liboil-%%VERSION%%/liboil/liboilprofile.h
|
||||
include/liboil-%%VERSION%%/liboil/liboilprototype.h
|
||||
@ -34,6 +36,7 @@ share/gtk-doc/html/liboil/liboil-liboilfuncs-doc.html
|
||||
share/gtk-doc/html/liboil/liboil-liboilfuncs-math.html
|
||||
share/gtk-doc/html/liboil/liboil-liboilfuncs-math8x8.html
|
||||
share/gtk-doc/html/liboil/liboil-liboilfuncs-pixel.html
|
||||
share/gtk-doc/html/liboil/liboil-liboilmacros.html
|
||||
share/gtk-doc/html/liboil/liboil-liboilparameter.html
|
||||
share/gtk-doc/html/liboil/liboil-liboilprofile.html
|
||||
share/gtk-doc/html/liboil/liboil-liboilprototype.html
|
||||
|
Loading…
Reference in New Issue
Block a user