summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-08-28 13:15:15 +0000
committerFabian Groffen <grobian@gentoo.org>2011-08-28 13:15:15 +0000
commita5b4f67b6c68c23140f3384c8312c42a358ecf69 (patch)
treec374e14229eafae9e974ba7b8135964ef9c50aff /app-text/dvipng/files/dvipng-1.14-wait.patch
parentChange version scheme (diff)
downloadgentoo-2-a5b4f67b6c68c23140f3384c8312c42a358ecf69.tar.gz
gentoo-2-a5b4f67b6c68c23140f3384c8312c42a358ecf69.tar.bz2
gentoo-2-a5b4f67b6c68c23140f3384c8312c42a358ecf69.zip
Add patch by MATSUI Tetsushi to fix compilation on Darwin, bug #369363
(Portage version: 2.2.01.19074-prefix/cvs/Darwin i386)
Diffstat (limited to 'app-text/dvipng/files/dvipng-1.14-wait.patch')
-rw-r--r--app-text/dvipng/files/dvipng-1.14-wait.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/app-text/dvipng/files/dvipng-1.14-wait.patch b/app-text/dvipng/files/dvipng-1.14-wait.patch
new file mode 100644
index 000000000000..d7f629fb372b
--- /dev/null
+++ b/app-text/dvipng/files/dvipng-1.14-wait.patch
@@ -0,0 +1,18 @@
+Patch by MATSUI Tetsushi to fix compilation issue on OSX
+
+sys/wait.h seems to be the man-page include for waitpid on Linux,
+Solaris and OSX
+
+https://bugs.gentoo.org/show_bug.cgi?id=369363
+
+--- special.c
++++ special.c
+@@ -26,7 +26,7 @@
+
+ #ifndef MIKTEX
+ #ifndef WIN32
+-#include <wait.h>
++#include <sys/wait.h>
+ #else /* WIN32 */
+ #include <fcntl.h>
+ #include <io.h>