diff options
Diffstat (limited to 'debian/patches/15_jam.patch')
-rw-r--r-- | debian/patches/15_jam.patch | 69 |
1 files changed, 5 insertions, 64 deletions
diff --git a/debian/patches/15_jam.patch b/debian/patches/15_jam.patch index ffd9e1b..358811f 100644 --- a/debian/patches/15_jam.patch +++ b/debian/patches/15_jam.patch @@ -4,70 +4,11 @@ Forwarded: http://www.freelists.org/post/argyllcms/Some-buildsystem-issues Last-Update: 2014-09-25 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ -Index: trunk/Jamtop -=================================================================== ---- trunk.orig/Jamtop 2014-09-28 14:35:52.016329546 +0200 -+++ trunk/Jamtop 2014-09-28 14:44:07.039261307 +0200 -@@ -109,12 +109,17 @@ - - # See if we have a system TIFF library. - if ! $(BUILTIN_TIFF) && $(UNIX) { -- if [ GLOB /usr/include : tiffio.h ] || [ GLOB /usr/local/include : tiffio.h ] { -- if [ GLOB /usr/lib : libtiff.so ] || [ GLOB /usr/lib : libtiff.a ] -- || [ GLOB /usr/lib64 : libtiff.so ] || [ GLOB /usr/lib64 : libtiff.a ] -- || [ GLOB /usr/lib/x86_64-linux-gnu : libtiff.so ] -- || [ GLOB /usr/lib/x86_64-linux-gnu : libtiff.a ] -- || [ GLOB /usr/local/lib : libtiff.so ] || [ GLOB /usr/local/lib : libtiff.a ] { -+ if [ GLOB /usr/include : tiffio.h ] -+ || [ GLOB /usr/local/include : tiffio.h ] -+ || [ GLOB /usr/include/$(DEB_HOST_MULTIARCH) : tiffio.h ] { -+ if [ GLOB /usr/lib : libtiff.so ] -+ || [ GLOB /usr/lib : libtiff.a ] -+ || [ GLOB /usr/lib64 : libtiff.so ] -+ || [ GLOB /usr/lib64 : libtiff.a ] -+ || [ GLOB /usr/lib/$(DEB_HOST_MULTIARCH) : libtiff.so ] -+ || [ GLOB /usr/lib/$(DEB_HOST_MULTIARCH) : libtiff.a ] -+ || [ GLOB /usr/local/lib : libtiff.so ] -+ || [ GLOB /usr/local/lib : libtiff.a ] { - echo "Using system TIFF library" ; - TIFFLIB = ; - TIFFINC = ; -@@ -124,6 +129,7 @@ - } - } - -+ - # If nothing else, use Argyll supplied TIFF library - if ! $(HAVE_TIFF) || $(BUILTIN_TIFF) { - echo "Using Argyll TIFF library" ; -@@ -133,12 +139,16 @@ - - # See if we have a system JPEG library. - if ! $(BUILTIN_JPEG) && $(UNIX) { -- if [ GLOB /usr/include : jpeglib.h ] || [ GLOB /usr/local/include : jpeglib.h ] { -- if [ GLOB /usr/lib : libjpeg.so ] || [ GLOB /usr/lib : libjpeg.a ] -- || [ GLOB /usr/lib64 : libjpeg.so ] || [ GLOB /usr/lib64 : libjpeg.a ] -- || [ GLOB /usr/lib/x86_64-linux-gnu : libjpeg.so ] -- || [ GLOB /usr/lib/x86_64-linux-gnu : libjpeg.a ] -- || [ GLOB /usr/local/lib : libjpeg.so ] || [ GLOB /usr/local/lib : libjpeg.a ] { -+ if [ GLOB /usr/include : jpeglib.h ] -+ || [ GLOB /usr/local/include : jpeglib.h ] { -+ if [ GLOB /usr/lib : libjpeg.so ] -+ || [ GLOB /usr/lib : libjpeg.a ] -+ || [ GLOB /usr/lib64 : libjpeg.so ] -+ || [ GLOB /usr/lib64 : libjpeg.a ] -+ || [ GLOB /usr/lib/$(DEB_HOST_MULTIARCH) : libjpeg.so ] -+ || [ GLOB /usr/lib/$(DEB_HOST_MULTIARCH) : libjpeg.a ] -+ || [ GLOB /usr/local/lib : libjpeg.so ] -+ || [ GLOB /usr/local/lib : libjpeg.a ] { - echo "Using system JPEG library" ; - JPEGLIB = ; - JPEGINC = ; Index: trunk/Jambase =================================================================== ---- trunk.orig/Jambase 2014-09-28 14:35:52.016329546 +0200 -+++ trunk/Jambase 2014-09-28 14:35:52.016329546 +0200 -@@ -880,7 +880,7 @@ +--- trunk.orig/Jambase ++++ trunk/Jambase +@@ -941,7 +941,7 @@ else if $(UNIX) # UNIX defaults @@ -76,7 +17,7 @@ Index: trunk/Jambase CCOPTFLAG ?= -O2 ; CCDEBUGFLAG ?= -g ; CCPROFFLAG ?= ; -@@ -890,7 +890,7 @@ +@@ -951,7 +951,7 @@ else if $(UNIX) CHGRP ?= chgrp ; CHOWN ?= chown ; LEX ?= lex ; @@ -85,7 +26,7 @@ Index: trunk/Jambase LINKOPTFLAG ?= -O ; # Affects creating .so's LINKSTRIPFLAG ?= -s ; LINKDEBUGFLAG ?= ; -@@ -971,7 +971,7 @@ +@@ -1037,7 +1037,7 @@ else if $(UNIX) RMDIR ?= $(RM) ; RSH ?= rsh ; SED ?= sed ; |