diff options
author | marino <marino@pkgsrc.org> | 2011-12-13 20:03:26 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2011-12-13 20:03:26 +0000 |
commit | 5a469898a20679faa1b14a41958b2cc472953f64 (patch) | |
tree | 34025a7ad7f1a1df17f46aa1617a1e6f5d2baf5e /graphics | |
parent | b37057b05b27d094f929649be79186a6f1a54be9 (diff) | |
download | pkgsrc-5a469898a20679faa1b14a41958b2cc472953f64.tar.gz |
graphics/evas: Improve conftest (Fixes DragonFly)
S_IRUSR and S_IWUSR are defined in <sys/stat.h> on DragonFly, but the
conftest for the Cache Server wasn't pulling that header in. After
patching the conftest, the package builds normally. There was no need
to patch the source itself, so it was a bad test.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/evas/distinfo | 4 | ||||
-rw-r--r-- | graphics/evas/patches/patch-configure | 12 | ||||
-rw-r--r-- | graphics/evas/patches/patch-configure.ac | 12 |
3 files changed, 27 insertions, 1 deletions
diff --git a/graphics/evas/distinfo b/graphics/evas/distinfo index ee864aa61e9..2864d177238 100644 --- a/graphics/evas/distinfo +++ b/graphics/evas/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.8 2011/12/05 17:33:32 joerg Exp $ +$NetBSD: distinfo,v 1.9 2011/12/13 20:03:26 marino Exp $ SHA1 (evas-1.1.0.tar.bz2) = e09daebd5aa14ecdff94bca0ff30a4cf70b3b84b RMD160 (evas-1.1.0.tar.bz2) = ebad0e5b4f3987ee9a29b39f329afb650eafeb20 Size (evas-1.1.0.tar.bz2) = 9235732 bytes +SHA1 (patch-configure) = 76c1e7dec71cf4505e0ac4b52b7187be1adaeabf +SHA1 (patch-configure.ac) = ab4c089e250ecc1acfb57e1b949b918bfc590608 diff --git a/graphics/evas/patches/patch-configure b/graphics/evas/patches/patch-configure new file mode 100644 index 00000000000..a983686fe5e --- /dev/null +++ b/graphics/evas/patches/patch-configure @@ -0,0 +1,12 @@ +$NetBSD: patch-configure,v 1.3 2011/12/13 20:03:26 marino Exp $ + +--- configure.orig 2011-12-13 18:08:17.000000000 +0000 ++++ configure +@@ -19846,6 +19846,7 @@ $as_echo_n "checking whether shm_open() + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++#include <sys/stat.h> + #include <sys/types.h> + #include <sys/mman.h> + #include <fcntl.h> diff --git a/graphics/evas/patches/patch-configure.ac b/graphics/evas/patches/patch-configure.ac new file mode 100644 index 00000000000..11e962aedbf --- /dev/null +++ b/graphics/evas/patches/patch-configure.ac @@ -0,0 +1,12 @@ +$NetBSD: patch-configure.ac,v 1.1 2011/12/13 20:03:26 marino Exp $ + +--- configure.ac.orig 2011-11-17 03:25:24.000000000 +0000 ++++ configure.ac +@@ -569,6 +569,7 @@ if test "x${want_evas_cserve}" = "xyes" + AC_LINK_IFELSE( + [AC_LANG_PROGRAM( + [[ ++#include <sys/stat.h> + #include <sys/types.h> + #include <sys/mman.h> + #include <fcntl.h> |