summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2013-03-15 16:20:13 +0000
committerdrochner <drochner@pkgsrc.org>2013-03-15 16:20:13 +0000
commit5e9624e52354e5f27a4256a4b4aaf62afdff5343 (patch)
treea9554da009729d4a0c2cbb7364187a51c2cd00bd /fonts
parente9a5a20cf47771ff5b437f906fe7ad909214178a (diff)
downloadpkgsrc-5e9624e52354e5f27a4256a4b4aaf62afdff5343.tar.gz
don't link against libpthread on NetBSD, to avoid problems with
xdm loading the library dynamically, reported by Takahiro Kambe
Diffstat (limited to 'fonts')
-rw-r--r--fonts/fontconfig/distinfo3
-rw-r--r--fonts/fontconfig/patches/patch-ba16
2 files changed, 18 insertions, 1 deletions
diff --git a/fonts/fontconfig/distinfo b/fonts/fontconfig/distinfo
index 4108f46ad97..856cf3a0066 100644
--- a/fonts/fontconfig/distinfo
+++ b/fonts/fontconfig/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.38 2013/03/14 19:32:32 drochner Exp $
+$NetBSD: distinfo,v 1.39 2013/03/15 16:20:13 drochner Exp $
SHA1 (fontconfig-2.10.91.tar.gz) = ad6f0b59a60717c71941a65d49e06a74d5205d29
RMD160 (fontconfig-2.10.91.tar.gz) = aafb1e0176296168c54904e6151465f77d99fcf0
@@ -7,4 +7,5 @@ SHA1 (patch-aa) = c0e2e282383e8fab643d0a10fa47e42ebb4e8ae8
SHA1 (patch-ab) = 71925f19d55a0daf382f4ac31c5010180173ae50
SHA1 (patch-ac) = c4f9904842c43246321cb982af78c1a61d06ad75
SHA1 (patch-af) = becdaa40180fd8aaa828faf3776ccd70d460e67e
+SHA1 (patch-ba) = e4f116b777a8046615569ae6e89545ad3c7abf77
SHA1 (patch-src_fcstat.c) = 3b8443b92f9fca5c02e21301da55ada3a0b20536
diff --git a/fonts/fontconfig/patches/patch-ba b/fonts/fontconfig/patches/patch-ba
new file mode 100644
index 00000000000..ade9cb5beb6
--- /dev/null
+++ b/fonts/fontconfig/patches/patch-ba
@@ -0,0 +1,16 @@
+$NetBSD: patch-ba,v 1.1 2013/03/15 16:20:14 drochner Exp $
+
+--- configure.orig 2013-01-10 08:59:05.000000000 +0000
++++ configure
+@@ -15017,6 +15017,11 @@ case ${host_os} in
+ darwin*)
+ ax_pthread_flags="-pthread $ax_pthread_flags"
+ ;;
++ netbsd*)
++ # use libc stubs, don's link against libpthread, to allow
++ # dynamic loading
++ ax_pthread_flags=""
++ ;;
+ esac
+
+ if test x"$ax_pthread_ok" = xno; then