orion pushed to irrlicht (epel7). "fix libaesgm support"

notifications at fedoraproject.org notifications at fedoraproject.org
Sat Mar 28 03:52:32 UTC 2015


>From 0639a34ec0e16e41de7d4a8f12fb114b522fbfd7 Mon Sep 17 00:00:00 2001
From: Tom Callaway <spot at fedoraproject.org>
Date: Mon, 24 May 2010 16:08:34 +0000
Subject: fix libaesgm support


diff --git a/irrlicht-1.7.1-libaesgm.patch b/irrlicht-1.7.1-libaesgm.patch
new file mode 100644
index 0000000..faca504
--- /dev/null
+++ b/irrlicht-1.7.1-libaesgm.patch
@@ -0,0 +1,23 @@
+diff -up irrlicht-1.7.1/source/Irrlicht/CZipReader.cpp.libaesgm irrlicht-1.7.1/source/Irrlicht/CZipReader.cpp
+--- irrlicht-1.7.1/source/Irrlicht/CZipReader.cpp.libaesgm	2010-01-31 16:03:28.000000000 -0500
++++ irrlicht-1.7.1/source/Irrlicht/CZipReader.cpp	2010-05-24 11:15:18.856512375 -0400
+@@ -20,7 +20,7 @@
+ 	#endif
+ 
+ 	#ifdef _IRR_COMPILE_WITH_ZIP_ENCRYPTION_
+-	#include "aesGladman/fileenc.h"
++	#include <aes/fileenc.h>
+ 	#endif
+ 	#ifdef _IRR_COMPILE_WITH_BZIP2_
+ 	#ifndef _IRR_USE_NON_SYSTEM_BZLIB_
+--- irrlicht-1.7.1/source/Irrlicht/Makefile.libaesgm	2010-05-24 11:18:35.966512547 -0400
++++ irrlicht-1.7.1/source/Irrlicht/Makefile	2010-05-24 11:18:10.368387943 -0400
+@@ -54,7 +54,7 @@ LINKOBJ = $(IRRMESHOBJ) $(IRROBJ) $(IRRP
+ ###############
+ #Compiler flags
+ CXXINCS = -I../../include
+-CPPFLAGS += $(CXXINCS) -DIRRLICHT_EXPORTS=1 $(RPM_OPT_FLAGS)
++CPPFLAGS += $(CXXINCS) -DIRRLICHT_EXPORTS=1 -DUSE_SHA1 $(RPM_OPT_FLAGS)
+ CXXFLAGS += $(RPM_OPT_FLAGS) -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing
+ ifndef NDEBUG
+ CXXFLAGS += -g -D_DEBUG
diff --git a/irrlicht.spec b/irrlicht.spec
index 294d0b6..40fe360 100644
--- a/irrlicht.spec
+++ b/irrlicht.spec
@@ -1,7 +1,7 @@
 Name:		irrlicht
 Summary: 	A high performance realtime 3D engine
 Version:	1.7.1
-Release:	1%{?dist}
+Release:	2%{?dist}
 License:	zlib
 Group:		System Environment/Libraries
 Source0:	http://downloads.sourceforge.net/irrlicht/%{name}-%{version}.zip
@@ -10,6 +10,8 @@ Source0:	http://downloads.sourceforge.net/irrlicht/%{name}-%{version}.zip
 Patch0:		irrlicht-1.7.1-optflags.patch
 # Get the code compiling
 Patch1:		irrlicht-1.5.1-glext.patch
+# Use system libaesgm
+Patch2:		irrlicht-1.7.1-libaesgm.patch
 URL:		http://irrlicht.sourceforge.net/
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	libXxf86vm-devel, mesa-libGL-devel, mesa-libGLU-devel
@@ -37,11 +39,12 @@ Development headers and libraries for irrlicht.
 %setup -q
 %patch0 -p1 -b .optflags
 %patch1 -p1 -b .glext
+%patch2 -p1 -b .libaesgm
 sed -i 's/\r//' readme.txt
 iconv -o readme.txt.iso88591 -f iso88591 -t utf8 readme.txt
 mv readme.txt.iso88591 readme.txt
 # We don't use any of this. Deleting it so the debuginfo doesn't pick it up.
-rm -rf source/Irrlicht/jpeglib source/Irrlicht/zlib source/Irrlicht/libpng
+rm -rf source/Irrlicht/jpeglib source/Irrlicht/zlib source/Irrlicht/libpng source/Irrlicht/aesGladman
 
 for i in include/*.h doc/upgrade-guide.txt source/Irrlicht/*.cpp source/Irrlicht/*.h; do
   	sed -i 's/\r//' $i
@@ -81,6 +84,9 @@ rm -rf %{buildroot}
 %{_libdir}/libIrrlicht*.so
 
 %changelog
+* Mon May 24 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 1.7.1-2
+- rebuild against fixed libaesgm
+
 * Thu Feb 18 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 1.7.1-1
 - update to 1.7.1
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/irrlicht.git/commit/?h=epel7&id=0639a34ec0e16e41de7d4a8f12fb114b522fbfd7


More information about the scm-commits mailing list