summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-02 23:08:20 +0000
committerKarl Berry <karl@freefriends.org>2013-04-02 23:08:20 +0000
commit4fc1e594d94b337aa29dd938b55e09048c0c290c (patch)
treec8009a7c3c377d791f6ab5890725946c2c0e1128 /Build/source
parent324efbd652f973cd70f42fe08c665c518995bcbe (diff)
<unistd.h> instead of <kpathsea/getopt.h> needed for 32-bit Mac
git-svn-id: svn://tug.org/texlive/trunk@29619 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/ttfdump/ChangeLog7
-rw-r--r--Build/source/texk/ttfdump/src/ttfdump.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/Build/source/texk/ttfdump/ChangeLog b/Build/source/texk/ttfdump/ChangeLog
index a22ca6ba713..3706ba6dd72 100644
--- a/Build/source/texk/ttfdump/ChangeLog
+++ b/Build/source/texk/ttfdump/ChangeLog
@@ -1,3 +1,10 @@
+2013-04-03 Karl Berry <karl@tug.org>
+
+ * src/ttfdump.c [KPATHSEA]: #include <unistd.h> rather than
+ <kpathsea/getopt.h>. Otherwise optarg is NULL on 32-bit MacOSX
+ and thus all options-with-arguments fail. Report and patch from
+ Dick Koch.
+
2013-02-01 Peter Breitenlohner <peb@mppmu.mpg.de>
* libttf/os2.c: Index checking for string array elements.
diff --git a/Build/source/texk/ttfdump/src/ttfdump.c b/Build/source/texk/ttfdump/src/ttfdump.c
index aa1a9ce4b3f..46ee5cda94e 100644
--- a/Build/source/texk/ttfdump/src/ttfdump.c
+++ b/Build/source/texk/ttfdump/src/ttfdump.c
@@ -9,7 +9,7 @@
#include <kpathsea/c-fopen.h>
#include <kpathsea/progname.h>
#include <kpathsea/c-unistd.h>
-#include <kpathsea/getopt.h>
+#include <unistd.h>
#elif defined(WIN32)
#include <getopt.h>
#else