termux-packages/packages/texlive-bin/zziplib_disable_have_dirent.patch
Henrik Grimler ce1c64ca2d Properly package texlive and split package into texlive & texlive-bin (#1203)
* texlive: enable makeindex and put man files and headers in proper location.

* texlive: upgrade to 2017

* texlive: split into texlive-bin and arch independent texlive-base.

Download texmf-dist and other tarballs and package necessary files instead of
using tlnet installer on device.

* texlive-base: extract only a minimal set of files from texmf-dist, do complete
uninstall on removal. Patch some files.

The texmf-dist tar is quite large so use --checkpoint to indicate progress.

* texlive: use gnupg2 instead of gnupg

* texlive: fix texlive profile

* texlive: added TL_BINDIR variable to simplify build scripts

* texlive: replace tlmgr symlink with small wrapper.

After `tlmgr update --self` has been run, the shebang of tlmgr.pl is
none-working and there is a reference to /bin/sh in TLUtils.pm. This wrapper
fixes this (if needed) before tlmgr is run.

* texlive: update command-not-found with a few common texlive commands.

* remove un-needed minimal.list

* Format generation working. xelatex activated.

Remove all texmf-dist files created by texlive-bin package.

* texlive: fix installation and removal of texlive-{bin,base}. All essential
fixes done.

Only thing remaining to fix is figuring out how to deal with the transition
texlive -> texlive-{bin,base}.

* texlive: use Breaks instead of Conflicts

* texlive: properly fix split into two packages [WIP]

* delete old termux-install-tl.sh

* texlive: Fix so that the upgrade from texlive 20170524-2 goes smoothly and
works as it should (with Breaks and Replaces). Also major clean up of texlive/build.sh.

* texlive: minor clean up of texlive/build.sh. Update patches to avoid (silent)
complaints from patching. Add previously forgotten install-tl.list with list
of files to take from install-tl-unx.tar.gz.

* texlive: make texlive-bin-dev properly replace texlive-dev.

Everything is done now, just need to wait for breaks and subpkg_replaces
before opening a pull request.

* texlive: skip format generation on install, rm old files in texlive-bin
as well.

Also decrease verbosity of installation

* texlive: when deleting old files, leave texmf-dist alone

* texlive: fix typo, correctly remove files from old texlive version
2017-08-09 23:09:01 +02:00

14 lines
429 B
Diff

--- a/libs/zziplib/config.h.in 2013-09-09 10:31:11.000000000 +0200
+++ l/libs/zziplib/config.h.in 2016-12-20 20:17:28.906466862 +0100
@@ -12,9 +12,7 @@
/* Define to 1 if you have the <direct.h> header file. */
#undef HAVE_DIRECT_H
-/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
- */
-#undef HAVE_DIRENT_H
+
/* Define to 1 if you have the <fnmatch.h> header file. */
#undef HAVE_FNMATCH_H