diff options
author | drochner <drochner@pkgsrc.org> | 2008-03-12 21:05:32 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2008-03-12 21:05:32 +0000 |
commit | dc65379c7f700dc7ac60e4425cbf5ee6f3a33b62 (patch) | |
tree | 779141b22a62fb95b0b31eb866646624fff77a2a /devel/liboil | |
parent | 9d0e40f17deb16075813725ac1cedf4ea2dcb4f8 (diff) | |
download | pkgsrc-dc65379c7f700dc7ac60e4425cbf5ee6f3a33b62.tar.gz |
add two patches from upstream:
-link against librt is needed
-fix some gcc inline asm for mmx to declare %ecx clobbered
Diffstat (limited to 'devel/liboil')
-rw-r--r-- | devel/liboil/Makefile | 3 | ||||
-rw-r--r-- | devel/liboil/distinfo | 4 | ||||
-rw-r--r-- | devel/liboil/patches/patch-ag | 14 | ||||
-rw-r--r-- | devel/liboil/patches/patch-ah | 34 |
4 files changed, 53 insertions, 2 deletions
diff --git a/devel/liboil/Makefile b/devel/liboil/Makefile index f2182987501..9d70d1c0222 100644 --- a/devel/liboil/Makefile +++ b/devel/liboil/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.14 2008/02/28 19:28:24 drochner Exp $ +# $NetBSD: Makefile,v 1.15 2008/03/12 21:05:32 drochner Exp $ # DISTNAME= liboil-0.3.13 +PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= http://liboil.freedesktop.org/download/ diff --git a/devel/liboil/distinfo b/devel/liboil/distinfo index 79d60b046e0..50f155d7cb4 100644 --- a/devel/liboil/distinfo +++ b/devel/liboil/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.11 2008/02/29 16:58:14 tnn Exp $ +$NetBSD: distinfo,v 1.12 2008/03/12 21:05:32 drochner Exp $ SHA1 (liboil-0.3.13.tar.gz) = 1c08d92810a76afce7a2cba2b5f969a096ecf8a0 RMD160 (liboil-0.3.13.tar.gz) = aefcf9c7a100b5faff3449573bff6238db0bdb34 @@ -9,3 +9,5 @@ SHA1 (patch-ac) = 8ccb2b0323b337902c384f4bdda856ca1cc2b023 SHA1 (patch-ad) = 9d38917949c5f7b06229587f2338de7d1745147f SHA1 (patch-ae) = ca873368c23a5e3bd7475e9aeb64ffb74e7e2ea7 SHA1 (patch-af) = 9a6a42eb98f0c41d2a9fc5da91eb084864d3f16e +SHA1 (patch-ag) = 9a553b1748081e8eedcc33ba0f0d733de2636ae7 +SHA1 (patch-ah) = 690996951555a22df4094445c537582ffbfcefa7 diff --git a/devel/liboil/patches/patch-ag b/devel/liboil/patches/patch-ag new file mode 100644 index 00000000000..71882a04a7d --- /dev/null +++ b/devel/liboil/patches/patch-ag @@ -0,0 +1,14 @@ +$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 new file mode 100644 index 00000000000..7b01e2988dd --- /dev/null +++ b/devel/liboil/patches/patch-ah @@ -0,0 +1,34 @@ +$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); + |