summaryrefslogtreecommitdiff
path: root/devel/liboil
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2008-04-11 16:58:47 +0000
committerdrochner <drochner@pkgsrc.org>2008-04-11 16:58:47 +0000
commitb4b3d223e092f9b03e2717827570efe2cf3414e6 (patch)
tree178f6324782484f38d60736e14f98a50b4d0a7df /devel/liboil
parent838f71cf622bc2e645e704488b7866cb32b69ebf (diff)
downloadpkgsrc-b4b3d223e092f9b03e2717827570efe2cf3414e6.tar.gz
update to 0.3.14
sorry, no changelog available (The only message to the subject in the mailing list says "Release notes tomorrow".), a number of bugfixes afaict
Diffstat (limited to 'devel/liboil')
-rw-r--r--devel/liboil/Makefile5
-rw-r--r--devel/liboil/distinfo15
-rw-r--r--devel/liboil/patches/patch-aa84
-rw-r--r--devel/liboil/patches/patch-ad22
-rw-r--r--devel/liboil/patches/patch-ae60
-rw-r--r--devel/liboil/patches/patch-af20
-rw-r--r--devel/liboil/patches/patch-ag14
-rw-r--r--devel/liboil/patches/patch-ah34
8 files changed, 18 insertions, 236 deletions
diff --git a/devel/liboil/Makefile b/devel/liboil/Makefile
index 9d70d1c0222..3a5609a1977 100644
--- a/devel/liboil/Makefile
+++ b/devel/liboil/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2008/03/12 21:05:32 drochner Exp $
+# $NetBSD: Makefile,v 1.16 2008/04/11 16:58:47 drochner Exp $
#
-DISTNAME= liboil-0.3.13
-PKGREVISION= 1
+DISTNAME= liboil-0.3.14
CATEGORIES= devel
MASTER_SITES= http://liboil.freedesktop.org/download/
diff --git a/devel/liboil/distinfo b/devel/liboil/distinfo
index 50f155d7cb4..296b17b6a2a 100644
--- a/devel/liboil/distinfo
+++ b/devel/liboil/distinfo
@@ -1,13 +1,8 @@
-$NetBSD: distinfo,v 1.12 2008/03/12 21:05:32 drochner Exp $
+$NetBSD: distinfo,v 1.13 2008/04/11 16:58:47 drochner Exp $
-SHA1 (liboil-0.3.13.tar.gz) = 1c08d92810a76afce7a2cba2b5f969a096ecf8a0
-RMD160 (liboil-0.3.13.tar.gz) = aefcf9c7a100b5faff3449573bff6238db0bdb34
-Size (liboil-0.3.13.tar.gz) = 813995 bytes
-SHA1 (patch-aa) = d0adb03ef3a1eb5daf059cbfd53bba0ce8338fb1
+SHA1 (liboil-0.3.14.tar.gz) = 5de4eedf0f4673b6c44e462d4d1caeb34f2126b6
+RMD160 (liboil-0.3.14.tar.gz) = 91ce7a87c90e0092fd94c4d075e3fe09f6903a21
+Size (liboil-0.3.14.tar.gz) = 819559 bytes
SHA1 (patch-ab) = 36a06f38f34f43ab6d181f4e9028f7b9adf5332b
SHA1 (patch-ac) = 8ccb2b0323b337902c384f4bdda856ca1cc2b023
-SHA1 (patch-ad) = 9d38917949c5f7b06229587f2338de7d1745147f
-SHA1 (patch-ae) = ca873368c23a5e3bd7475e9aeb64ffb74e7e2ea7
-SHA1 (patch-af) = 9a6a42eb98f0c41d2a9fc5da91eb084864d3f16e
-SHA1 (patch-ag) = 9a553b1748081e8eedcc33ba0f0d733de2636ae7
-SHA1 (patch-ah) = 690996951555a22df4094445c537582ffbfcefa7
+SHA1 (patch-ad) = 9c7e9fb22c4551e3eee150ac97bc74703d5b985a
diff --git a/devel/liboil/patches/patch-aa b/devel/liboil/patches/patch-aa
deleted file mode 100644
index 8c1ee2fb54c..00000000000
--- a/devel/liboil/patches/patch-aa
+++ /dev/null
@@ -1,84 +0,0 @@
-$NetBSD: patch-aa,v 1.8 2008/02/29 16:58:14 tnn Exp $
-
---- configure.orig 2008-02-29 17:53:58.000000000 +0100
-+++ configure
-@@ -16369,6 +16369,79 @@ fi
-
-
-
-+ { echo "$as_me:$LINENO: checking if compiler supports 'pmaddubsw %%mm0, %%mm0' asm instruction" >&5
-+echo $ECHO_N "checking if compiler supports 'pmaddubsw %%mm0, %%mm0' asm instruction... $ECHO_C" >&6; }
-+
-+ cat >conftest.$ac_ext <<_ACEOF
-+/* confdefs.h. */
-+_ACEOF
-+cat confdefs.h >>conftest.$ac_ext
-+cat >>conftest.$ac_ext <<_ACEOF
-+/* end confdefs.h. */
-+
-+int
-+main ()
-+{
-+
-+#ifndef __GNUC__
-+#error Not GCC
-+#endif
-+#ifdef __GNUC_MINOR__
-+#if (__GNUC__ * 1000 + __GNUC_MINOR__) < 3004
-+#error GCC before 3.4 has critical bugs compiling inline assembly
-+#endif
-+#endif
-+__asm__ ("pmaddubsw %%mm0, %%mm0"::)
-+ ;
-+ return 0;
-+}
-+_ACEOF
-+rm -f conftest.$ac_objext
-+if { (ac_try="$ac_compile"
-+case "(($ac_try" in
-+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-+ *) ac_try_echo=$ac_try;;
-+esac
-+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-+ (eval "$ac_compile") 2>conftest.er1
-+ ac_status=$?
-+ grep -v '^ *+' conftest.er1 >conftest.err
-+ rm -f conftest.er1
-+ cat conftest.err >&5
-+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+ (exit $ac_status); } && {
-+ test -z "$ac_c_werror_flag" ||
-+ test ! -s conftest.err
-+ } && test -s conftest.$ac_objext; then
-+ flag_ok=yes
-+else
-+ echo "$as_me: failed program was:" >&5
-+sed 's/^/| /' conftest.$ac_ext >&5
-+
-+ flag_ok=no
-+fi
-+
-+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-+
-+ if test "X$flag_ok" = Xyes ; then
-+ HAVE_SSSE3_ASM=yes
-+ true
-+ else
-+ HAVE_SSSE3_ASM=no
-+ true
-+ fi
-+ { echo "$as_me:$LINENO: result: $flag_ok" >&5
-+echo "${ECHO_T}$flag_ok" >&6; }
-+
-+if test "x$HAVE_SSSE3_ASM" = xyes ; then
-+
-+cat >>confdefs.h <<\_ACEOF
-+#define HAVE_SSSE3_ASM 1
-+_ACEOF
-+
-+fi
-+
-+
- cat >>confdefs.h <<\_ACEOF
- #define OIL_EXPORTS 1
- _ACEOF
diff --git a/devel/liboil/patches/patch-ad b/devel/liboil/patches/patch-ad
index d41ad676c7c..ebe5b4d7a4b 100644
--- a/devel/liboil/patches/patch-ad
+++ b/devel/liboil/patches/patch-ad
@@ -1,13 +1,13 @@
-$NetBSD: patch-ad,v 1.1 2008/02/28 19:28:24 drochner Exp $
+$NetBSD: patch-ad,v 1.2 2008/04/11 16:58:47 drochner Exp $
---- examples/Makefile.in.orig 2008-02-25 22:51:20.000000000 +0100
+--- examples/Makefile.in.orig 2008-03-14 06:58:19.000000000 +0100
+++ examples/Makefile.in
-@@ -287,7 +287,7 @@ sbindir = @sbindir@
- sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
--SUBDIRS = jpeg md5 uberopt work huffman taylor videoscale audioresample jit
-+SUBDIRS = jpeg md5 uberopt work huffman taylor videoscale audioresample
- example1_SOURCES = example1.c
- example1_CFLAGS = $(LIBOIL_CFLAGS)
- example1_LDADD = $(LIBOIL_LIBS)
+@@ -126,7 +126,7 @@ RECURSIVE_TARGETS = all-recursive check-
+ ETAGS = etags
+ CTAGS = ctags
+ DIST_SUBDIRS = jpeg md5 uberopt work huffman taylor videoscale \
+- audioresample jit
++ audioresample
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
+ ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
diff --git a/devel/liboil/patches/patch-ae b/devel/liboil/patches/patch-ae
deleted file mode 100644
index e0f6889f04b..00000000000
--- a/devel/liboil/patches/patch-ae
+++ /dev/null
@@ -1,60 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2008/02/28 19:28:24 drochner Exp $
-
---- liboil/liboilcpu-arm.c.orig 2008-02-28 20:07:11.000000000 +0100
-+++ liboil/liboilcpu-arm.c
-@@ -60,10 +60,6 @@
- *
- */
-
--static void oil_cpu_detect_arch(void);
--
--static unsigned long oil_cpu_flags;
--
- extern unsigned long (*_oil_profile_stamp)(void);
-
- #if defined(__arm__)
-@@ -126,6 +122,35 @@ oil_cpu_arm_getflags_cpuinfo (char *cpui
- free (cpuinfo_flags);
- }
-
-+static char *
-+get_proc_cpuinfo (void)
-+{
-+ char *cpuinfo;
-+ int fd;
-+ int n;
-+
-+ cpuinfo = malloc(4096);
-+ if (cpuinfo == NULL) return NULL;
-+
-+ fd = open("/proc/cpuinfo", O_RDONLY);
-+ if (fd < 0) {
-+ free (cpuinfo);
-+ return NULL;
-+ }
-+
-+ n = read(fd, cpuinfo, 4095);
-+ if (n < 0) {
-+ free (cpuinfo);
-+ close (fd);
-+ return NULL;
-+ }
-+ cpuinfo[n] = 0;
-+
-+ close (fd);
-+
-+ return cpuinfo;
-+}
-+
- static void
- oil_cpu_detect_arm(void)
- {
-@@ -249,7 +274,7 @@ oil_cpu_detect_mips(void)
- }
- #endif
-
--static void
-+void
- oil_cpu_detect_arch(void)
- {
- #if defined(__i386__) || defined(__amd64__)
diff --git a/devel/liboil/patches/patch-af b/devel/liboil/patches/patch-af
deleted file mode 100644
index 9b9a5efe139..00000000000
--- a/devel/liboil/patches/patch-af
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-af,v 1.1 2008/02/29 16:58:14 tnn Exp $
-
---- liboil/i386_amd64/mas.c.orig 2008-02-22 20:59:17.000000000 +0100
-+++ liboil/i386_amd64/mas.c
-@@ -735,6 +735,7 @@ mas8_u8_sym_mmx_5 (uint8_t *d, const uin
- }
- OIL_DEFINE_IMPL_FULL (mas8_u8_sym_mmx_5, mas8_u8_sym_l15, OIL_IMPL_FLAG_MMX|OIL_IMPL_FLAG_MMXEXT);
-
-+#ifdef HAVE_SSSE3_ASM
- void
- mas8_u8_sym_mmx_6 (uint8_t *d, const uint8_t *s1_np7, const int16_t *s2_8,
- const int16_t *s3_2, int n)
-@@ -798,6 +799,7 @@ mas8_u8_sym_mmx_6 (uint8_t *d, const uin
- : "ecx");
- }
- OIL_DEFINE_IMPL_FULL (mas8_u8_sym_mmx_6, mas8_u8_sym_l15, OIL_IMPL_FLAG_MMX|OIL_IMPL_FLAG_MMXEXT|OIL_IMPL_FLAG_SSSE3);
-+#endif
-
- #ifdef ENABLE_BROKEN_IMPLS
- /* This only works for the taps array: -1, 3, -7, 21, 21, -7, 3, -1 */
diff --git a/devel/liboil/patches/patch-ag b/devel/liboil/patches/patch-ag
deleted file mode 100644
index 71882a04a7d..00000000000
--- a/devel/liboil/patches/patch-ag
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ag,v 1.1 2008/03/12 21:05:32 drochner Exp $
-
---- liboil/Makefile.in.orig 2008-03-03 17:32:22.000000000 +0100
-+++ liboil/Makefile.in
-@@ -448,7 +448,8 @@ nodist_liboil_@LIBOIL_MAJORMINOR@_la_SOU
-
- liboil_@LIBOIL_MAJORMINOR@_la_LIBADD = \
- liboilfunctions.la \
-- $(LIBM)
-+ $(LIBM) \
-+ $(LIBRT)
-
- liboil_@LIBOIL_MAJORMINOR@_la_CFLAGS = $(LIBOIL_CFLAGS)
- liboil_@LIBOIL_MAJORMINOR@_la_LDFLAGS = \
diff --git a/devel/liboil/patches/patch-ah b/devel/liboil/patches/patch-ah
deleted file mode 100644
index 7b01e2988dd..00000000000
--- a/devel/liboil/patches/patch-ah
+++ /dev/null
@@ -1,34 +0,0 @@
-$NetBSD: patch-ah,v 1.1 2008/03/12 21:05:32 drochner Exp $
-
---- liboil/i386_amd64/copy.c.orig 2008-03-03 17:35:30.000000000 +0100
-+++ liboil/i386_amd64/copy.c
-@@ -375,7 +375,8 @@ static void splat_u16_ns_mmx (uint16_t *
- " emms\n"
- : [dest] "+r" (dest),
- [n] "+r" (n)
-- : [src] "r" (src));
-+ : [src] "r" (src)
-+ : "ecx");
- }
- OIL_DEFINE_IMPL_FULL (splat_u16_ns_mmx, splat_u16_ns, OIL_IMPL_FLAG_MMX|OIL_IMPL_FLAG_MMXEXT);
-
-@@ -401,7 +402,8 @@ static void splat_u16_ns_mmx_2 (uint16_t
- " emms\n"
- : [dest] "+r" (dest),
- [n] "+r" (n)
-- : [src] "r" (src));
-+ : [src] "r" (src)
-+ : "ecx");
- }
- OIL_DEFINE_IMPL_FULL (splat_u16_ns_mmx_2, splat_u16_ns, OIL_IMPL_FLAG_MMX|OIL_IMPL_FLAG_MMXEXT);
-
-@@ -429,7 +431,8 @@ static void splat_u16_ns_mmx_3 (uint16_t
- " emms\n"
- : [dest] "+r" (dest),
- [n] "+r" (n)
-- : [src] "r" (src));
-+ : [src] "r" (src)
-+ : "ecx");
- }
- OIL_DEFINE_IMPL_FULL (splat_u16_ns_mmx_3, splat_u16_ns, OIL_IMPL_FLAG_MMX|OIL_IMPL_FLAG_MMXEXT);
-