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

1234567891011121314151617181920212223242526272829303132
  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. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  10. ---
  11. configure.ac | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. diff --git a/configure.ac b/configure.ac
  14. index d0f62d7..0d49344 100644
  15. --- a/configure.ac
  16. +++ b/configure.ac
  17. @@ -1173,7 +1173,7 @@ XPSWRITEDEVICE=''
  18. LIBTIFFDIR='src'
  19. -LIBTIFFCONFDIR=''
  20. +LIBTIFFCONFDIR='src'
  21. TIFFDEVS_ALL='tiffs tiff12nc tiff24nc tiff48nc tiff32nc tiff64nc tiffcrle tifflzw tiffpack tiffgray tiffsep tiffsep1 tiffscaled tiffscaled4 tiffscaled8 tiffscaled24 tiffscaled32'
  22. FAX_DEVS_ALL='cfax dfaxlow dfaxhigh fax faxg3 faxg32d faxg4 tiffg3 tiffg32d tiffg4 tfax'
  23. --
  24. 2.7.4