diff options
author | adam <adam@pkgsrc.org> | 2010-12-14 22:19:52 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2010-12-14 22:19:52 +0000 |
commit | 31429c1ce85f76b06a1e01640fffc80e888749e7 (patch) | |
tree | b22f937f61b68ec7b8ec3a4f5f2cb1db8b73b058 /graphics/inkscape | |
parent | 663b73804bdb2ca35f507063cf063c717e055782 (diff) | |
download | pkgsrc-31429c1ce85f76b06a1e01640fffc80e888749e7.tar.gz |
Fix buildling on Mac OS X, without X11, with OpenMP
Diffstat (limited to 'graphics/inkscape')
-rw-r--r-- | graphics/inkscape/distinfo | 3 | ||||
-rw-r--r-- | graphics/inkscape/patches/patch-ac | 27 |
2 files changed, 29 insertions, 1 deletions
diff --git a/graphics/inkscape/distinfo b/graphics/inkscape/distinfo index 5b410a44547..6e070650b9f 100644 --- a/graphics/inkscape/distinfo +++ b/graphics/inkscape/distinfo @@ -1,10 +1,11 @@ -$NetBSD: distinfo,v 1.31 2010/09/22 11:39:13 adam Exp $ +$NetBSD: distinfo,v 1.32 2010/12/14 22:19:52 adam Exp $ SHA1 (inkscape-0.48.0.tar.bz2) = a2ab9b34937cc4f2b482c9b3720d8fd4dc7b12e8 RMD160 (inkscape-0.48.0.tar.bz2) = fe10b77f10e922a911e7117922d7553ed11d00dd Size (inkscape-0.48.0.tar.bz2) = 19333922 bytes SHA1 (patch-aa) = 595eaa0e71483abe731bc3f69090b0ab5d1d5deb SHA1 (patch-ab) = b70ffa613c054c26185d4728da4133aed6d88e63 +SHA1 (patch-ac) = 626b733daf01a79c1b443323d0df559eb494020e SHA1 (patch-ad) = 3136850b7d34370feb951fc8fdde8cda78d54d60 SHA1 (patch-ae) = 2b3f06a545d3cf27f59d41619528c59ac142c758 SHA1 (patch-af) = 5f9317fcb7a798afc569aada9683fb1c7f6ba4c7 diff --git a/graphics/inkscape/patches/patch-ac b/graphics/inkscape/patches/patch-ac new file mode 100644 index 00000000000..ceddfac19ac --- /dev/null +++ b/graphics/inkscape/patches/patch-ac @@ -0,0 +1,27 @@ +$NetBSD: patch-ac,v 1.6 2010/12/14 22:19:52 adam Exp $ + +--- configure.orig 2010-08-04 16:46:39.000000000 +0000 ++++ configure +@@ -8133,11 +8133,11 @@ for ax_openmp_flag in $ax_openmp_flags; + #ifdef __cplusplus + extern "C" + #endif +-char omp_set_num_threads (); ++#include <omp.h> + int + main () + { +-return omp_set_num_threads (); ++return omp_get_num_threads (); + ; + return 0; + } +@@ -10765,7 +10765,7 @@ $as_echo "#define HAVE_CAIRO_PDF 1" >>co + + fi + +-INKSCAPE_LIBS="$INKSCAPE_LIBS -lpng -lz -lX11 -lxml2" ++INKSCAPE_LIBS="$INKSCAPE_LIBS -lpng -lz -lxml2" + if test "x$openmp_ok" = "xyes"; then + INKSCAPE_LIBS="$INKSCAPE_LIBS -lgomp" + fi |