summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-02-07 12:19:03 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-02-07 12:19:03 +0000
commitdeeff75c49f1d72c90ee36be95e3e0c4c0c35a04 (patch)
tree063e580c79fbc39465fc5636aafd7c6cd90b1727
parent5d5723a8324653e6a6f410823477dea7356f0dc5 (diff)
dvipng build: #include <sys/wait.h>, not <wait.h>
git-svn-id: svn://tug.org/texlive/trunk@21334 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/dvipng/dvipng-1.14-PATCHES/ChangeLog5
-rw-r--r--Build/source/texk/dvipng/dvipng-1.14-PATCHES/patch-05-sys_wait17
-rw-r--r--Build/source/texk/dvipng/dvipng-1.14/special.c2
3 files changed, 23 insertions, 1 deletions
diff --git a/Build/source/texk/dvipng/dvipng-1.14-PATCHES/ChangeLog b/Build/source/texk/dvipng/dvipng-1.14-PATCHES/ChangeLog
index 18066504b37..85281936097 100644
--- a/Build/source/texk/dvipng/dvipng-1.14-PATCHES/ChangeLog
+++ b/Build/source/texk/dvipng/dvipng-1.14-PATCHES/ChangeLog
@@ -1,3 +1,8 @@
+2011--02-07 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-05-sys_wait (new): #include <sys/wait.h>, not <wait.h>.
+ Reported by Nikola Lecic <nikola.lecic@anthesphoria.net>.
+
2010-12-30 Peter Breitenlohner <peb@mppmu.mpg.de>
* patch-03-programname (new): Use basename() as defined in
diff --git a/Build/source/texk/dvipng/dvipng-1.14-PATCHES/patch-05-sys_wait b/Build/source/texk/dvipng/dvipng-1.14-PATCHES/patch-05-sys_wait
new file mode 100644
index 00000000000..39de7d508e2
--- /dev/null
+++ b/Build/source/texk/dvipng/dvipng-1.14-PATCHES/patch-05-sys_wait
@@ -0,0 +1,17 @@
+ Posix requires to include <sys/wait.h>, not <wait.h>.
+ FreeBSD has no <wait.h>.
+
+ From Nikola Lecic <nikola.lecic@anthesphoria.net>.
+
+diff -ur dvipng-1.14.orig/special.c dvipng-1.14/special.c
+--- dvipng-1.14.orig/special.c 2010-12-15 16:01:07.000000000 +0100
++++ dvipng-1.14/special.c 2011-02-07 11:47:08.000000000 +0100
+@@ -26,7 +26,7 @@
+
+ #ifndef MIKTEX
+ #ifndef WIN32
+-#include <wait.h>
++#include <sys/wait.h>
+ #else /* WIN32 */
+ #include <fcntl.h>
+ #include <io.h>
diff --git a/Build/source/texk/dvipng/dvipng-1.14/special.c b/Build/source/texk/dvipng/dvipng-1.14/special.c
index fdc92e3eb8b..6642e6266d2 100644
--- a/Build/source/texk/dvipng/dvipng-1.14/special.c
+++ b/Build/source/texk/dvipng/dvipng-1.14/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>