diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2014-01-02 09:33:14 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2014-01-02 09:33:14 +0000 |
commit | 7a8207d5b1371f84aee1ec610d5b9fa5fa5c4197 (patch) | |
tree | 2e5ec00ec2b0050a00575ea8fa280c898d13b7b2 /dev-util/dwdiff/files | |
parent | Version bump. Add webp use flag, fix perl bindings build issue (bug #456180, ... (diff) | |
download | gentoo-2-7a8207d5b1371f84aee1ec610d5b9fa5fa5c4197.tar.gz gentoo-2-7a8207d5b1371f84aee1ec610d5b9fa5fa5c4197.tar.bz2 gentoo-2-7a8207d5b1371f84aee1ec610d5b9fa5fa5c4197.zip |
Version bump. Fixed broken configure script (bug #496736). Removed old
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'dev-util/dwdiff/files')
-rw-r--r-- | dev-util/dwdiff/files/dwdiff-2.0.7-configure_fixes.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-util/dwdiff/files/dwdiff-2.0.7-configure_fixes.patch b/dev-util/dwdiff/files/dwdiff-2.0.7-configure_fixes.patch new file mode 100644 index 000000000000..e93f37f5762b --- /dev/null +++ b/dev-util/dwdiff/files/dwdiff-2.0.7-configure_fixes.patch @@ -0,0 +1,21 @@ +--- dwdiff-2.0.7/config.pkg ++++ dwdiff-2.0.7/config.pkg +@@ -104,6 +104,7 @@ + + if [ "yes" = "${with_dwfilter}" ] ; then + cat > .config.c <<EOF ++#include <sys/types.h> + #include <unistd.h> + + int main(int argc, char *argv[]) { +@@ -114,8 +115,8 @@ + clean .config.o + + test_link "required functions for dwfilter" || { +- checkfunction "fork" 'pid_t pid = fork();' "<unistd.h>" +- checkfunction "open" 'execvp("test", NULL);' "<unistd.h>" ++ checkfunction "fork" 'pid_t pid = fork();' "<unistd.h>" "<sys/types.h>" ++ checkfunction "open" 'execvp("test", NULL);' "<unistd.h>" "<sys/types.h>" + check_message_result "!! A required function for dwfilter is not availabe. Try configuring with --without-dwfilter" + exit 1 + } |