summaryrefslogtreecommitdiff
path: root/x11/pixman
diff options
context:
space:
mode:
authoris <is@pkgsrc.org>2013-04-23 11:42:45 +0000
committeris <is@pkgsrc.org>2013-04-23 11:42:45 +0000
commita6c663ffae41d732790d86a82f3da16c2e209bee (patch)
tree99cb4c87522061ae8763d3d51b9a0ce7966450cb /x11/pixman
parent99008c70930382846b91f567a59b76a0955d068a (diff)
downloadpkgsrc-a6c663ffae41d732790d86a82f3da16c2e209bee.tar.gz
Without this, we get sse2 SEGV, apparently due to a misaligned (for sse2)
thread stacks. <martin> base pixman only enables sse2 for amd64 <martin> I only tested and found it crash like that, so I did not enable it <martin> for i386 in base This is a workaround - there should be some better solution.
Diffstat (limited to 'x11/pixman')
-rw-r--r--x11/pixman/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/pixman/Makefile b/x11/pixman/Makefile
index 3e787f5a103..44187c01830 100644
--- a/x11/pixman/Makefile
+++ b/x11/pixman/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.51 2013/01/30 10:21:22 wiz Exp $
+# $NetBSD: Makefile,v 1.52 2013/04/23 11:42:45 is Exp $
DISTNAME= pixman-0.28.2
+PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XORG:=lib/}
EXTRACT_SUFX= .tar.bz2
@@ -11,6 +12,10 @@ COMMENT= Library of low-level pixel manipulation routines
LICENSE= mit
GNU_CONFIGURE= yes
+.if ${MACHINE_ARCH} == i386
+CONFIGURE_ARGS += --disable-sse2
+.endif
+
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config perl