mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Merged in jscipione/haikuports (pull request #179)
Patch tiff in 4.0.2 receipe to fix typedefs
This commit is contained in:
26
media-libs/tiff/patches/tiff-4.0.2.patch
Normal file
26
media-libs/tiff/patches/tiff-4.0.2.patch
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
diff --git a/libtiff/tiff.h b/libtiff/tiff.h
|
||||||
|
index 5c32d3a..370827d 100644
|
||||||
|
--- a/libtiff/tiff.h
|
||||||
|
+++ b/libtiff/tiff.h
|
||||||
|
@@ -65,6 +65,12 @@
|
||||||
|
* strings unsigned char*
|
||||||
|
*/
|
||||||
|
|
||||||
|
+#ifdef __HAIKU__
|
||||||
|
+
|
||||||
|
+#include <SupportDefs.h>
|
||||||
|
+
|
||||||
|
+#else
|
||||||
|
+
|
||||||
|
typedef TIFF_INT8_T int8;
|
||||||
|
typedef TIFF_UINT8_T uint8;
|
||||||
|
|
||||||
|
@@ -77,6 +83,8 @@ typedef TIFF_UINT32_T uint32;
|
||||||
|
typedef TIFF_INT64_T int64;
|
||||||
|
typedef TIFF_UINT64_T uint64;
|
||||||
|
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
/*
|
||||||
|
* Some types as promoted in a variable argument list
|
||||||
|
* We use uint16_vap rather then directly using int, because this way
|
||||||
@@ -7,12 +7,10 @@ TIFF.
|
|||||||
HOMEPAGE="http://www.libtiff.org"
|
HOMEPAGE="http://www.libtiff.org"
|
||||||
SRC_URI="ftp://ftp.remotesensing.org/pub/libtiff/tiff-4.0.2.tar.gz"
|
SRC_URI="ftp://ftp.remotesensing.org/pub/libtiff/tiff-4.0.2.tar.gz"
|
||||||
CHECKSUM_SHA256="aa29f1f5bfe3f443c3eb4dac472ebde15adc8ff0464b83376f35e3b2fef935da"
|
CHECKSUM_SHA256="aa29f1f5bfe3f443c3eb4dac472ebde15adc8ff0464b83376f35e3b2fef935da"
|
||||||
REVISION="1"
|
|
||||||
LICENSE="MIT"
|
LICENSE="MIT"
|
||||||
COPYRIGHT="1988-1997 Sam Leffler
|
COPYRIGHT="1988-1997 Sam Leffler
|
||||||
1991-1997 Silicon Graphics, Inc."
|
1991-1997 Silicon Graphics, Inc."
|
||||||
|
REVISION="5"
|
||||||
REVISION="4"
|
|
||||||
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
||||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||||
|
|
||||||
@@ -43,6 +41,9 @@ BUILD_PREREQUIRES="
|
|||||||
cmd:libtoolize
|
cmd:libtoolize
|
||||||
cmd:make
|
cmd:make
|
||||||
"
|
"
|
||||||
|
PATCHES="
|
||||||
|
tiff-4.0.2.patch
|
||||||
|
"
|
||||||
|
|
||||||
PATCH()
|
PATCH()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user