summaryrefslogtreecommitdiff
path: root/graphics/glitz
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-10-03 19:46:56 +0000
committerjoerg <joerg@pkgsrc.org>2005-10-03 19:46:56 +0000
commit957ca17ce6f1baf2f02abc006089db1570ed0eff (patch)
treeabf0931e2dc2e20eb9c02bc25b1a65c5039cda3f /graphics/glitz
parentd1cb54c9d6a82c70b8286a69383a48e2c24669bb (diff)
downloadpkgsrc-957ca17ce6f1baf2f02abc006089db1570ed0eff.tar.gz
Use platform pthread flags instead of hard coded -lpthread.
Diffstat (limited to 'graphics/glitz')
-rw-r--r--graphics/glitz/distinfo3
-rw-r--r--graphics/glitz/patches/patch-aa13
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/glitz/distinfo b/graphics/glitz/distinfo
index d0295cc2759..a0c8c1fa5fa 100644
--- a/graphics/glitz/distinfo
+++ b/graphics/glitz/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2005/08/11 15:24:54 adam Exp $
+$NetBSD: distinfo,v 1.9 2005/10/03 19:46:56 joerg Exp $
SHA1 (glitz-0.4.4.tar.gz) = 53d5df02aaf7c156ad62787a1ad9b3072f8dbd25
RMD160 (glitz-0.4.4.tar.gz) = ffbdc0467c8ac727747eb430bcdde226f8fcce42
Size (glitz-0.4.4.tar.gz) = 425742 bytes
+SHA1 (patch-aa) = d725f03f96082b6d9b31c608a0e4c1beb71e87f1
diff --git a/graphics/glitz/patches/patch-aa b/graphics/glitz/patches/patch-aa
new file mode 100644
index 00000000000..4579c25ba06
--- /dev/null
+++ b/graphics/glitz/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.5 2005/10/03 19:46:56 joerg Exp $
+
+--- configure.orig 2005-10-03 18:14:07.000000000 +0000
++++ configure
+@@ -22799,7 +22799,7 @@ echo "${ECHO_T}$xthreads" >&6
+
+ if test "x$xthreads" = "xyes"
+ then
+- GLX_LIBS="$GLX_LIBS -lpthread"
++ GLX_LIBS="$GLX_LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
+ cat >>confdefs.h <<\_ACEOF
+ #define XTHREADS 1
+ _ACEOF