diff options
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/15_jam.patch | 155 | ||||
-rw-r--r-- | debian/patches/20_hurd_PATH_MAX.patch | 81 | ||||
-rw-r--r-- | debian/patches/series | 1 |
3 files changed, 225 insertions, 12 deletions
diff --git a/debian/patches/15_jam.patch b/debian/patches/15_jam.patch index 08ca67a..b8014ef 100644 --- a/debian/patches/15_jam.patch +++ b/debian/patches/15_jam.patch @@ -1,33 +1,99 @@ Description: Add multiarch support to jam files Author: Jörg Frings Fürst <debian@jff-webhosting.net> Forwarded: http://www.freelists.org/post/argyllcms/Some-buildsystem-issues -Last-Update: 2014-09-14 +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-07 20:15:02.520225484 +0200 -+++ trunk/Jamtop 2014-09-07 20:15:43.909089670 +0200 -@@ -109,12 +109,16 @@ +--- trunk.orig/Jamtop 2014-09-25 11:10:18.768548869 +0200 ++++ trunk/Jamtop 2014-09-25 11:17:03.696933742 +0200 +@@ -109,12 +109,80 @@ # 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/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 ] ++ if [ GLOB /usr/include : tiffio.h ] ++ || [ GLOB /usr/local/include : tiffio.h ] + || [ GLOB /usr/include/x86_64-linux-gnu : tiffio.h ] -+ || [ GLOB /usr/include/i386-linux-gnu : 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/include/i386-linux-gnu : tiffio.h ] ++ || [ GLOB /usr/include/aarch64-linux-gnu : tiffio.h ] ++ || [ GLOB /usr/include/arm-linux-gnueabi : tiffio.h ] ++ || [ GLOB /usr/include/arm-linux-gnueabihf : tiffio.h ] ++ || [ GLOB /usr/include/i386-gnu : tiffio.h ] ++ || [ GLOB /usr/include/x86_64-kfreebsd-gnu : tiffio.h ] ++ || [ GLOB /usr/include/i386-kfreebsd-gnu : tiffio.h ] ++ || [ GLOB /usr/include/mips-linux-gnu : tiffio.h ] ++ || [ GLOB /usr/include/mipsel-linux-gnu : tiffio.h ] ++ || [ GLOB /usr/include/powerpc-linux-gnu : tiffio.h ] ++ || [ GLOB /usr/include/powerpc64le-linux-gnu : tiffio.h ] ++ || [ GLOB /usr/include/s390x-linux-gnu : tiffio.h ] ++ || [ GLOB /usr/include/sparc-linux-gnu : tiffio.h ] ++ || [ GLOB /usr/include/alpha-linux-gnu : tiffio.h ] ++ || [ GLOB /usr/include/hppa-linux-gnu : tiffio.h ] ++ || [ GLOB /usr/include/m68k-linux-gnu : tiffio.h ] ++ || [ GLOB /usr/include/powerpc-linux-gnuspe : tiffio.h ] ++ || [ GLOB /usr/include/sh4-linux-gnu : tiffio.h ] ++ || [ GLOB /usr/include/sparc64-linux-gnu : tiffio.h ] ++ || [ GLOB /usr/include/x86_64-linux-gnux32 : tiffio.h ] ++ || [ GLOB /usr/include/powerpc64-linux-gnu : 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 ] { + || [ GLOB /usr/lib/i386-linux-gnu : libtiff.so ] + || [ GLOB /usr/lib/i386-linux-gnu : libtiff.a ] -+ || [ GLOB /usr/local/lib : libtiff.so ] || [ GLOB /usr/local/lib : libtiff.a ] { ++ || [ GLOB /usr/lib/aarch64-linux-gnu : libtiff.so ] ++ || [ GLOB /usr/lib/aarch64-linux-gnu : libtiff.a ] ++ || [ GLOB /usr/lib/arm-linux-gnueabi : libtiff.so ] ++ || [ GLOB /usr/lib/arm-linux-gnueabi : libtiff.a ] ++ || [ GLOB /usr/lib/arm-linux-gnueabihf : libtiff.so ] ++ || [ GLOB /usr/lib/arm-linux-gnueabihf : libtiff.a ] ++ || [ GLOB /usr/lib/i386-gnu : libtiff.so ] ++ || [ GLOB /usr/lib/i386-gnu : libtiff.a ] ++ || [ GLOB /usr/lib/x86_64-kfreebsd-gnu : libtiff.so ] ++ || [ GLOB /usr/lib/x86_64-kfreebsd-gnu : libtiff.a ] ++ || [ GLOB /usr/lib/i386-kfreebsd-gnu : libtiff.so ] ++ || [ GLOB /usr/lib/i386-kfreebsd-gnu : libtiff.a ] ++ || [ GLOB /usr/lib/mips-linux-gnu : libtiff.so ] ++ || [ GLOB /usr/lib/mips-linux-gnu : libtiff.a ] ++ || [ GLOB /usr/lib/mipsel-linux-gnu : libtiff.so ] ++ || [ GLOB /usr/lib/mipsel-linux-gnu : libtiff.a ] ++ || [ GLOB /usr/lib/powerpc-linux-gnu : libtiff.so ] ++ || [ GLOB /usr/lib/powerpc-linux-gnu : libtiff.a ] ++ || [ GLOB /usr/lib/powerpc64le-linux-gnu : libtiff.so ] ++ || [ GLOB /usr/lib/powerpc64le-linux-gnu : libtiff.a ] ++ || [ GLOB /usr/lib/s390x-linux-gnu : libtiff.so ] ++ || [ GLOB /usr/lib/s390x-linux-gnu : libtiff.a ] ++ || [ GLOB /usr/lib/sparc-linux-gnu : libtiff.so ] ++ || [ GLOB /usr/lib/sparc-linux-gnu : libtiff.a ] ++ || [ GLOB /usr/lib/alpha-linux-gnu : libtiff.so ] ++ || [ GLOB /usr/lib/alpha-linux-gnu : libtiff.a ] ++ || [ GLOB /usr/lib/hppa-linux-gnu : libtiff.so ] ++ || [ GLOB /usr/lib/hppa-linux-gnu : libtiff.a ] ++ || [ GLOB /usr/lib/m68k-linux-gnu : libtiff.so ] ++ || [ GLOB /usr/lib/m68k-linux-gnu : libtiff.a ] ++ || [ GLOB /usr/lib/powerpc-linux-gnuspe : libtiff.so ] ++ || [ GLOB /usr/lib/powerpc-linux-gnuspe : libtiff.a ] ++ || [ GLOB /usr/lib/sh4-linux-gnu : libtiff.so ] ++ || [ GLOB /usr/lib/sh4-linux-gnu : libtiff.a ] ++ || [ GLOB /usr/lib/sparc64-linux-gnu : libtiff.so ] ++ || [ GLOB /usr/lib/sparc64-linux-gnu : libtiff.a ] ++ || [ GLOB /usr/lib/x86_64-linux-gnux32 : libtiff.so ] ++ || [ GLOB /usr/lib/x86_64-linux-gnux32 : libtiff.a ] ++ || [ GLOB /usr/lib/powerpc64-linux-gnu : libtiff.so ] ++ || [ GLOB /usr/lib/powerpc64-linux-gnu : libtiff.a ] ++ || [ GLOB /usr/local/lib : libtiff.so ] ++ || [ GLOB /usr/local/lib : libtiff.a ] { echo "Using system TIFF library" ; TIFFLIB = ; TIFFINC = ; -@@ -124,6 +128,7 @@ +@@ -124,6 +192,7 @@ } } @@ -35,10 +101,75 @@ Index: trunk/Jamtop # If nothing else, use Argyll supplied TIFF library if ! $(HAVE_TIFF) || $(BUILTIN_TIFF) { echo "Using Argyll TIFF library" ; +@@ -133,12 +202,58 @@ + + # 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/x86_64-linux-gnu : libjpeg.so ] ++ || [ GLOB /usr/lib/x86_64-linux-gnu : libjpeg.a ] ++ || [ GLOB /usr/lib/i386-linux-gnu : libjpeg.so ] ++ || [ GLOB /usr/lib/i386-linux-gnu : libjpeg.a ] ++ || [ GLOB /usr/lib/aarch64-linux-gnu : libjpeg.so ] ++ || [ GLOB /usr/lib/aarch64-linux-gnu : libjpeg.a ] ++ || [ GLOB /usr/lib/arm-linux-gnueabi : libjpeg.so ] ++ || [ GLOB /usr/lib/arm-linux-gnueabi : libjpeg.a ] ++ || [ GLOB /usr/lib/arm-linux-gnueabihf : libjpeg.so ] ++ || [ GLOB /usr/lib/arm-linux-gnueabihf : libjpeg.a ] ++ || [ GLOB /usr/lib/i386-gnu : libjpeg.so ] ++ || [ GLOB /usr/lib/i386-gnu : libjpeg.a ] ++ || [ GLOB /usr/lib/x86_64-kfreebsd-gnu : libjpeg.so ] ++ || [ GLOB /usr/lib/x86_64-kfreebsd-gnu : libjpeg.a ] ++ || [ GLOB /usr/lib/i386-kfreebsd-gnu : libjpeg.so ] ++ || [ GLOB /usr/lib/i386-kfreebsd-gnu : libjpeg.a ] ++ || [ GLOB /usr/lib/mips-linux-gnu : libjpeg.so ] ++ || [ GLOB /usr/lib/mips-linux-gnu : libjpeg.a ] ++ || [ GLOB /usr/lib/mipsel-linux-gnu : libjpeg.so ] ++ || [ GLOB /usr/lib/mipsel-linux-gnu : libjpeg.a ] ++ || [ GLOB /usr/lib/powerpc-linux-gnu : libjpeg.so ] ++ || [ GLOB /usr/lib/powerpc-linux-gnu : libjpeg.a ] ++ || [ GLOB /usr/lib/powerpc64le-linux-gnu : libjpeg.so ] ++ || [ GLOB /usr/lib/powerpc64le-linux-gnu : libjpeg.a ] ++ || [ GLOB /usr/lib/s390x-linux-gnu : libjpeg.so ] ++ || [ GLOB /usr/lib/s390x-linux-gnu : libjpeg.a ] ++ || [ GLOB /usr/lib/sparc-linux-gnu : libjpeg.so ] ++ || [ GLOB /usr/lib/sparc-linux-gnu : libjpeg.a ] ++ || [ GLOB /usr/lib/alpha-linux-gnu : libjpeg.so ] ++ || [ GLOB /usr/lib/alpha-linux-gnu : libjpeg.a ] ++ || [ GLOB /usr/lib/hppa-linux-gnu : libjpeg.so ] ++ || [ GLOB /usr/lib/hppa-linux-gnu : libjpeg.a ] ++ || [ GLOB /usr/lib/m68k-linux-gnu : libjpeg.so ] ++ || [ GLOB /usr/lib/m68k-linux-gnu : libjpeg.a ] ++ || [ GLOB /usr/lib/powerpc-linux-gnuspe : libjpeg.so ] ++ || [ GLOB /usr/lib/powerpc-linux-gnuspe : libjpeg.a ] ++ || [ GLOB /usr/lib/sh4-linux-gnu : libjpeg.so ] ++ || [ GLOB /usr/lib/sh4-linux-gnu : libjpeg.a ] ++ || [ GLOB /usr/lib/sparc64-linux-gnu : libjpeg.so ] ++ || [ GLOB /usr/lib/sparc64-linux-gnu : libjpeg.a ] ++ || [ GLOB /usr/lib/x86_64-linux-gnux32 : libjpeg.so ] ++ || [ GLOB /usr/lib/x86_64-linux-gnux32 : libjpeg.a ] ++ || [ GLOB /usr/lib/powerpc64-linux-gnu : libjpeg.so ] ++ || [ GLOB /usr/lib/powerpc64-linux-gnu : 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-07 20:15:02.520225484 +0200 -+++ trunk/Jambase 2014-09-07 20:15:02.512225317 +0200 +--- trunk.orig/Jambase 2014-09-25 11:10:18.768548869 +0200 ++++ trunk/Jambase 2014-09-25 11:10:18.768548869 +0200 @@ -880,7 +880,7 @@ # UNIX defaults diff --git a/debian/patches/20_hurd_PATH_MAX.patch b/debian/patches/20_hurd_PATH_MAX.patch new file mode 100644 index 0000000..e5b2b40 --- /dev/null +++ b/debian/patches/20_hurd_PATH_MAX.patch @@ -0,0 +1,81 @@ +Description: Add on hurdi386 missing PATH_MAX +Author: Jörg Frings-Fürst <debian@jff-webhosting.net> +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762774 +Last-Update: 2014-09-25 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/numlib/numsup.c +=================================================================== +--- trunk.orig/numlib/numsup.c 2014-01-31 05:08:43.000000000 +0100 ++++ trunk/numlib/numsup.c 2014-09-25 14:02:54.718876001 +0200 +@@ -39,6 +39,10 @@ + + /* Globals */ + ++#ifndef PATH_MAX ++#define PATH_MAX 4096 ++#endif ++ + char *exe_path = "\000"; /* Directory executable resides in ('/' dir separator) */ + //char *error_program = "Unknown"; /* Name to report as responsible for an error */ + +Index: trunk/spectro/mongoose.c +=================================================================== +--- trunk.orig/spectro/mongoose.c 2014-01-31 05:08:55.000000000 +0100 ++++ trunk/spectro/mongoose.c 2014-09-25 14:06:05.274863478 +0200 +@@ -18,6 +18,10 @@ + // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + // THE SOFTWARE. + ++#ifndef PATH_MAX ++#define PATH_MAX 4096 ++#endif ++ + #if defined(_WIN32) + #define _CRT_SECURE_NO_WARNINGS // Disable deprecation warning in VS2005 + #else +Index: trunk/spectro/usbio_lx.c +=================================================================== +--- trunk.orig/spectro/usbio_lx.c 2014-01-31 05:08:58.000000000 +0100 ++++ trunk/spectro/usbio_lx.c 2014-09-25 14:07:12.552271544 +0200 +@@ -33,6 +33,10 @@ + #define poll_x poll + #endif + ++#ifndef PATH_MAX ++#define PATH_MAX 4096 ++#endif ++ + /* USB descriptors are little endian */ + + /* Take a word sized return buffer, and convert it to an unsigned int */ +Index: trunk/spectro/usbio_nt.c +=================================================================== +--- trunk.orig/spectro/usbio_nt.c 2014-01-31 05:08:58.000000000 +0100 ++++ trunk/spectro/usbio_nt.c 2014-09-25 14:07:37.048784270 +0200 +@@ -31,6 +31,10 @@ + #define LIBUSBW1_PATH_MAX 512 + #define LIBUSBW1_DEFAULT_TIMEOUT 5000 + ++#ifndef PATH_MAX ++#define PATH_MAX 4096 ++#endif ++ + /* USB descriptors are little endian */ + + /* Take a word sized return buffer, and convert it to an unsigned int */ +Index: trunk/spectro/hidio.c +=================================================================== +--- trunk.orig/spectro/hidio.c 2014-09-25 11:17:32.000000000 +0200 ++++ trunk/spectro/hidio.c 2014-09-25 14:08:43.834182211 +0200 +@@ -97,6 +97,10 @@ + #endif + #endif + ++#ifndef PATH_MAX ++#define PATH_MAX 4096 ++#endif ++ + #if defined(NT) + + /* Declartions to enable HID access without using the DDK */ diff --git a/debian/patches/series b/debian/patches/series index 1382f48..928d441 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ 100_spelling.patch 15_jam.patch 03_usb-db.diff +20_hurd_PATH_MAX.patch |