rpms/Inventor/F-11 Inventor-2.1.5-s390x.patch, NONE, 1.1 Inventor.spec, 1.48, 1.49

Karsten Hopp karsten at fedoraproject.org
Wed Apr 22 21:57:35 UTC 2009


Author: karsten

Update of /cvs/extras/rpms/Inventor/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9780

Modified Files:
	Inventor.spec 
Added Files:
	Inventor-2.1.5-s390x.patch 
Log Message:
- add s390x patch

Inventor-2.1.5-s390x.patch:

--- NEW FILE Inventor-2.1.5-s390x.patch ---
diff -up inventor/lib/database/src/so/SoOutput.c++.s390x inventor/lib/database/src/so/SoOutput.c++
--- inventor/lib/database/src/so/SoOutput.c++.s390x	2009-04-22 23:09:59.000000000 +0200
+++ inventor/lib/database/src/so/SoOutput.c++	2009-04-22 23:09:25.000000000 +0200
@@ -1462,7 +1462,7 @@ SoOutput::findReference(const SoBase *ba
 
     // Generates a CC warning. Ho hum.
     if (refDict->find((unsigned long) base, ref))
-#if (_MIPS_SZPTR == 64 || __ia64__ || __x86_64__ || __powerpc64__)
+#if (_MIPS_SZPTR == 64 || __ia64__ || __x86_64__ || __powerpc64__ || __s390x__)
         referenceId = (int) ((unsigned long) ref);
 #else
 	referenceId = (int)ref;


Index: Inventor.spec
===================================================================
RCS file: /cvs/extras/rpms/Inventor/F-11/Inventor.spec,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- Inventor.spec	23 Feb 2009 21:27:08 -0000	1.48
+++ Inventor.spec	22 Apr 2009 21:57:31 -0000	1.49
@@ -6,7 +6,7 @@
 
 Name:           Inventor
 Version:        2.1.5
-Release:        35%{?dist}
+Release:        35%{?dist}.1
 
 Summary:        SGI Open Inventor (TM)
 
@@ -20,6 +20,7 @@
 Patch2:		Inventor-2.1.5-31-32.diff
 # Misc C++ modernization stuff
 Patch3:		Inventor-2.1.5-32-33.diff
+Patch4:		Inventor-2.1.5-s390x.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -145,6 +146,7 @@
 %patch1 -p0
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 sed -i \
 -e 's,^IVPREFIX =.*$,IVPREFIX = %{_prefix},' \
@@ -344,6 +346,9 @@
 %{_libdir}/Inventor/examples
 
 %changelog
+* Wed Apr 22 2009 Karsten Hopp <karsten at redhat.com> 2.1.5-35.1
+- add s390x patch
+
 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1.5-35
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list