From 961cc466ce876823fc92bc3d3b2f7f3173d5719b Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Tue, 30 Jul 2013 10:34:37 -0500 Subject: [PATCH] fix build on arm --- nvidia-texture-tools-arm.patch | 11 +++++++++++ nvidia-texture-tools.spec | 9 +++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 nvidia-texture-tools-arm.patch diff --git a/nvidia-texture-tools-arm.patch b/nvidia-texture-tools-arm.patch new file mode 100644 index 0000000..3e6a8c6 --- /dev/null +++ b/nvidia-texture-tools-arm.patch @@ -0,0 +1,11 @@ +--- nvidia-texture-tools/src/nvcore/nvcore.h.orig 2013-07-30 09:48:05.111350472 -0500 ++++ nvidia-texture-tools/src/nvcore/nvcore.h 2013-07-30 09:50:19.667643065 -0500 +@@ -70,6 +70,8 @@ + # define NV_CPU_X86 1 + #elif defined POSH_CPU_PPC + # define NV_CPU_PPC 1 ++#elif defined POSH_CPU_STRONGARM ++# define NV_CPU_STRONGARM 1 + #else + # error "Unsupported CPU" + #endif diff --git a/nvidia-texture-tools.spec b/nvidia-texture-tools.spec index 3d6718e..9de7f70 100644 --- a/nvidia-texture-tools.spec +++ b/nvidia-texture-tools.spec @@ -2,7 +2,7 @@ Name: nvidia-texture-tools Version: 2.0.8 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Collection of image processing and texture manipulation tools Group: System Environment/Libraries License: MIT @@ -27,7 +27,8 @@ Patch2: %{name}-%{version}-png-api.patch Patch3: %{name}-%{version}-soversion.patch # install libraries in proper directory Patch4: %{name}-%{version}-libdir.patch - +# add arm support in +Patch5: nvidia-texture-tools-arm.patch %description The NVIDIA Texture Tools is a collection of image processing and texture manipulation tools, designed to be integrated in game tools and asset @@ -55,6 +56,7 @@ Headers and libraries for development with %{name}. %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %build mkdir -p build @@ -96,6 +98,9 @@ make -C build filtertest %{_libdir}/lib*.so %changelog +* Tue Jul 30 2013 Dennis Gilmore - 2.0.8-6 +- fix build on arm + * Thu Feb 14 2013 Fedora Release Engineering - 2.0.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild