File texlive-20110705-source-getopt.patch of Package mingw64-texlive
diff -Naur texlive-20110705-source/texk/kpathsea/Makefile.am texlive-20110705-source.getopt/texk/kpathsea/Makefile.am
--- texlive-20110705-source/texk/kpathsea/Makefile.am 2011-06-10 01:57:56.000000000 +0200
+++ texlive-20110705-source.getopt/texk/kpathsea/Makefile.am 2011-11-22 11:56:43.066436297 +0100
@@ -46,8 +46,6 @@
find-suffix.c \
fn.c \
fontmap.c \
- getopt.c \
- getopt1.c \
hash.c \
kdefault.c \
kpathsea.c \
diff -Naur texlive-20110705-source/texk/kpathsea/Makefile.in texlive-20110705-source.getopt/texk/kpathsea/Makefile.in
--- texlive-20110705-source/texk/kpathsea/Makefile.in 2011-06-10 01:57:56.000000000 +0200
+++ texlive-20110705-source.getopt/texk/kpathsea/Makefile.in 2011-11-22 12:01:41.159914466 +0100
@@ -106,14 +106,13 @@
am__libkpathsea_la_SOURCES_DIST = tex-file.c absolute.c atou.c cnf.c \
concat.c concat3.c concatn.c db.c debug.c dir.c elt-dirs.c \
expand.c extend-fname.c file-p.c find-suffix.c fn.c fontmap.c \
- getopt.c getopt1.c hash.c kdefault.c kpathsea.c line.c \
- magstep.c make-suffix.c path-elt.c pathsearch.c proginit.c \
- progname.c readable.c rm-suffix.c str-list.c str-llist.c \
- tex-glyph.c tex-hush.c tex-make.c tilde.c truncate.c \
- uppercasify.c variable.c version.c xbasename.c xcalloc.c \
- xdirname.c xfopen.c xfseek.c xfseeko.c xftell.c xftello.c \
- xgetcwd.c xmalloc.c xopendir.c xputenv.c xrealloc.c xstat.c \
- xstrdup.c mingw32.c
+ hash.c kdefault.c kpathsea.c line.c magstep.c make-suffix.c \
+ path-elt.c pathsearch.c proginit.c progname.c readable.c \
+ rm-suffix.c str-list.c str-llist.c tex-glyph.c tex-hush.c \
+ tex-make.c tilde.c truncate.c uppercasify.c variable.c \
+ version.c xbasename.c xcalloc.c xdirname.c xfopen.c xfseek.c \
+ xfseeko.c xftell.c xftello.c xgetcwd.c xmalloc.c xopendir.c \
+ xputenv.c xrealloc.c xstat.c xstrdup.c mingw32.c
@MINGW32_TRUE@am__objects_1 = libkpathsea_la-mingw32.lo
am_libkpathsea_la_OBJECTS = libkpathsea_la-tex-file.lo \
libkpathsea_la-absolute.lo libkpathsea_la-atou.lo \
@@ -124,7 +123,6 @@
libkpathsea_la-expand.lo libkpathsea_la-extend-fname.lo \
libkpathsea_la-file-p.lo libkpathsea_la-find-suffix.lo \
libkpathsea_la-fn.lo libkpathsea_la-fontmap.lo \
- libkpathsea_la-getopt.lo libkpathsea_la-getopt1.lo \
libkpathsea_la-hash.lo libkpathsea_la-kdefault.lo \
libkpathsea_la-kpathsea.lo libkpathsea_la-line.lo \
libkpathsea_la-magstep.lo libkpathsea_la-make-suffix.lo \
@@ -367,15 +365,14 @@
BUILT_SOURCES = paths.h
libkpathsea_la_SOURCES = tex-file.c absolute.c atou.c cnf.c concat.c \
concat3.c concatn.c db.c debug.c dir.c elt-dirs.c expand.c \
- extend-fname.c file-p.c find-suffix.c fn.c fontmap.c getopt.c \
- getopt1.c hash.c kdefault.c kpathsea.c line.c magstep.c \
- make-suffix.c path-elt.c pathsearch.c proginit.c progname.c \
- readable.c rm-suffix.c str-list.c str-llist.c tex-glyph.c \
- tex-hush.c tex-make.c tilde.c truncate.c uppercasify.c \
- variable.c version.c xbasename.c xcalloc.c xdirname.c xfopen.c \
- xfseek.c xfseeko.c xftell.c xftello.c xgetcwd.c xmalloc.c \
- xopendir.c xputenv.c xrealloc.c xstat.c xstrdup.c \
- $(am__append_1)
+ extend-fname.c file-p.c find-suffix.c fn.c fontmap.c hash.c \
+ kdefault.c kpathsea.c line.c magstep.c make-suffix.c \
+ path-elt.c pathsearch.c proginit.c progname.c readable.c \
+ rm-suffix.c str-list.c str-llist.c tex-glyph.c tex-hush.c \
+ tex-make.c tilde.c truncate.c uppercasify.c variable.c \
+ version.c xbasename.c xcalloc.c xdirname.c xfopen.c xfseek.c \
+ xfseeko.c xftell.c xftello.c xgetcwd.c xmalloc.c xopendir.c \
+ xputenv.c xrealloc.c xstat.c xstrdup.c $(am__append_1)
kpseincludedir = ${includedir}/kpathsea
nodist_kpseinclude_HEADERS = \
c-auto.h \
@@ -658,8 +655,6 @@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkpathsea_la-find-suffix.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkpathsea_la-fn.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkpathsea_la-fontmap.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkpathsea_la-getopt.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkpathsea_la-getopt1.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkpathsea_la-hash.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkpathsea_la-kdefault.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkpathsea_la-kpathsea.Plo@am__quote@
@@ -841,20 +836,6 @@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libkpathsea_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libkpathsea_la-fontmap.lo `test -f 'fontmap.c' || echo '$(srcdir)/'`fontmap.c
-libkpathsea_la-getopt.lo: getopt.c
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libkpathsea_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libkpathsea_la-getopt.lo -MD -MP -MF $(DEPDIR)/libkpathsea_la-getopt.Tpo -c -o libkpathsea_la-getopt.lo `test -f 'getopt.c' || echo '$(srcdir)/'`getopt.c
-@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libkpathsea_la-getopt.Tpo $(DEPDIR)/libkpathsea_la-getopt.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='getopt.c' object='libkpathsea_la-getopt.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libkpathsea_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libkpathsea_la-getopt.lo `test -f 'getopt.c' || echo '$(srcdir)/'`getopt.c
-
-libkpathsea_la-getopt1.lo: getopt1.c
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libkpathsea_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libkpathsea_la-getopt1.lo -MD -MP -MF $(DEPDIR)/libkpathsea_la-getopt1.Tpo -c -o libkpathsea_la-getopt1.lo `test -f 'getopt1.c' || echo '$(srcdir)/'`getopt1.c
-@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libkpathsea_la-getopt1.Tpo $(DEPDIR)/libkpathsea_la-getopt1.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='getopt1.c' object='libkpathsea_la-getopt1.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libkpathsea_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libkpathsea_la-getopt1.lo `test -f 'getopt1.c' || echo '$(srcdir)/'`getopt1.c
-
libkpathsea_la-hash.lo: hash.c
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libkpathsea_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libkpathsea_la-hash.lo -MD -MP -MF $(DEPDIR)/libkpathsea_la-hash.Tpo -c -o libkpathsea_la-hash.lo `test -f 'hash.c' || echo '$(srcdir)/'`hash.c
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libkpathsea_la-hash.Tpo $(DEPDIR)/libkpathsea_la-hash.Plo