packages: nvidia-texture-tools/nvidia-texture-tools.spec, nvidia-texture-to...

lisu lisu at pld-linux.org
Sat Feb 11 14:32:26 CET 2012


Author: lisu                         Date: Sat Feb 11 13:32:26 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add patch which should fix build on x86_64 with libtiff >= 4.0.0

---- Files affected:
packages/nvidia-texture-tools:
   nvidia-texture-tools.spec (1.1 -> 1.2) , nvidia-texture-tools-posh_types.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/nvidia-texture-tools/nvidia-texture-tools.spec
diff -u packages/nvidia-texture-tools/nvidia-texture-tools.spec:1.1 packages/nvidia-texture-tools/nvidia-texture-tools.spec:1.2
--- packages/nvidia-texture-tools/nvidia-texture-tools.spec:1.1	Sat Oct 16 11:13:01 2010
+++ packages/nvidia-texture-tools/nvidia-texture-tools.spec	Sat Feb 11 14:32:21 2012
@@ -13,6 +13,7 @@
 #Source0Download: http://code.google.com/p/nvidia-texture-tools/downloads/list
 Source0:	http://nvidia-texture-tools.googlecode.com/files/%{name}-%{version}-1.tar.gz
 # Source0-md5:	7449c95ca1583b512561c83c5a5f401c
+Patch0:		%{name}-posh_types.patch
 URL:		http://code.google.com/p/nvidia-texture-tools/
 BuildRequires:	OpenEXR-devel
 BuildRequires:	OpenGL-devel
@@ -73,6 +74,7 @@
 
 %prep
 %setup -q -n %{name}
+%patch0 -p1
 
 %build
 %cmake \
@@ -121,5 +123,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2012/02/11 13:32:21  lisu
+- add patch which should fix build on x86_64 with libtiff >= 4.0.0
+
 Revision 1.1  2010/10/16 09:13:01  qboosh
 - new; cuda not finished

================================================================
Index: packages/nvidia-texture-tools/nvidia-texture-tools-posh_types.patch
diff -u /dev/null packages/nvidia-texture-tools/nvidia-texture-tools-posh_types.patch:1.1
--- /dev/null	Sat Feb 11 14:32:26 2012
+++ packages/nvidia-texture-tools/nvidia-texture-tools-posh_types.patch	Sat Feb 11 14:32:21 2012
@@ -0,0 +1,42 @@
+--- nvidia-texture-tools/src/nvcore/DefsGnucLinux.h~	2010-05-14 19:59:28.000000000 +0200
++++ nvidia-texture-tools/src/nvcore/DefsGnucLinux.h	2012-02-11 14:25:10.170869965 +0100
+@@ -47,7 +47,7 @@
+ 
+ #define restrict    __restrict__
+ 
+-
++/*
+ // Type definitions
+ typedef unsigned char       uint8;
+ typedef signed char         int8;
+@@ -63,3 +63,4 @@
+ 
+ // Aliases
+ typedef uint32              uint;
++*/
+--- nvidia-texture-tools/src/nvcore/nvcore.h~	2010-05-14 19:59:28.000000000 +0200
++++ nvidia-texture-tools/src/nvcore/nvcore.h	2012-02-11 14:29:41.590451168 +0100
+@@ -99,6 +99,23 @@
+ #define NV_ENDIAN_STRING	POSH_ENDIAN_STRING
+ 
+ 
++// Type definitions:
++typedef posh_u8_t   uint8;
++typedef posh_i8_t   int8;
++
++typedef posh_u16_t  uint16;
++typedef posh_i16_t  int16;
++
++typedef posh_u32_t  uint32;
++typedef posh_i32_t  int32;
++
++typedef posh_u64_t  uint64;
++typedef posh_i64_t  int64;
++
++// Aliases
++typedef uint32      uint;
++
++
+ // Version string:
+ #define NV_VERSION_STRING \
+ 	NV_OS_STRING "/" NV_CC_STRING "/" NV_CPU_STRING"/" \
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nvidia-texture-tools/nvidia-texture-tools.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list