0001-Fix-cross-compilation-issue.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. From 5fed765abb8ff07c381cc3ebb9367e9560f7a658 Mon Sep 17 00:00:00 2001
  2. From: Bernd Kuhls <bernd.kuhls@t-online.de>
  3. Date: Mon, 20 Mar 2017 23:43:03 +0100
  4. Subject: [PATCH] Fix cross compilation issue
  5. Without this patch unsafe paths are used:
  6. x86_64-linux-gcc: ERROR: unsafe header/library path used in cross-compilation: '/libtiff'
  7. Downloaded from
  8. http://bugs.ghostscript.com/show_bug.cgi?id=696508#c3
  9. Slightly updated to work with 9.23
  10. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  11. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  12. ---
  13. configure.ac | 2 +-
  14. 1 file changed, 1 insertion(+), 1 deletion(-)
  15. diff --git a/configure.ac b/configure.ac
  16. index d0f62d7..0d49344 100644
  17. --- a/configure.ac
  18. +++ b/configure.ac
  19. @@ -1173,7 +1173,7 @@ XPSWRITEDEVICE=''
  20. LIBTIFFDIR='src'
  21. -LIBTIFFCONFDIR=''
  22. +LIBTIFFCONFDIR='src'
  23. TIFFCFLAGS=''
  24. TIFFDEVS_ALL='tiffs tiff12nc tiff24nc tiff48nc tiff32nc tiff64nc tiffcrle tifflzw tiffpack tiffgray tiffsep tiffsep1 tiffscaled tiffscaled4 tiffscaled8 tiffscaled24 tiffscaled32'
  25. FAX_DEVS_ALL='cfax dfaxlow dfaxhigh fax faxg3 faxg32d faxg4 tiffg3 tiffg32d tiffg4 tfax'
  26. --
  27. 2.7.4