rpms/jogl/devel jogl-ppc.patch,NONE,1.1 jogl.spec,1.4,1.5

Anthony Green (green) fedora-extras-commits at redhat.com
Sat Sep 3 18:55:29 UTC 2005


Author: green

Update of /cvs/extras/rpms/jogl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32496

Modified Files:
	jogl.spec 
Added Files:
	jogl-ppc.patch 
Log Message:
Add ppc patch.


jogl-ppc.patch:

--- NEW FILE jogl-ppc.patch ---
--- src/net/java/games/gluegen/StructLayout.java~	2005-05-27 14:24:16.000000000 -0700
+++ src/net/java/games/gluegen/StructLayout.java	2005-09-03 11:50:26.000000000 -0700
@@ -124,6 +124,7 @@ public class StructLayout {
     if ((os.startsWith("windows") && cpu.equals("x86")) ||
         (os.startsWith("linux") && cpu.equals("i386")) ||
         (os.startsWith("linux") && cpu.equals("amd64")) ||
+        (os.startsWith("linux") && cpu.equals("ppc")) ||
         (os.startsWith("linux") && cpu.equals("ia64")) ||
         (os.startsWith("sunos") && cpu.equals("sparc")) ||
         (os.startsWith("sunos") && cpu.equals("x86")) ||


Index: jogl.spec
===================================================================
RCS file: /cvs/extras/rpms/jogl/devel/jogl.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- jogl.spec	3 Sep 2005 18:34:27 -0000	1.4
+++ jogl.spec	3 Sep 2005 18:55:27 -0000	1.5
@@ -1,6 +1,6 @@
 Name:           jogl
 Version:        1.1.1
-Release:        3
+Release:        4
 Epoch:          0
 Summary:        Java bindings for the OpenGL API
 
@@ -11,6 +11,7 @@
 Source1:        jogl.properties
 Source2:        SGIFreeSWLicB.1.1.ps
 Source3:        jogl-README.txt
+Patch0:		jogl-ppc.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  ant, antlr, ant-antlr, jpackage-utils >= 0:1.5
@@ -38,6 +39,7 @@
 
 %prep
 %setup -q -n jogl
+%patch0 -p0
 cp %{SOURCE1} .
 cp %{SOURCE2} .
 cp %{SOURCE3} .
@@ -95,6 +97,9 @@
 %ghost %doc %{_javadocdir}/%{name}
 
 %changelog
+* Sat Sep  3 2005 Anthony Green <green at redhat.com> - 0:1.1.1-4
+- Add ppc build patch.
+
 * Sat Sep  3 2005 Anthony Green <green at redhat.com> - 0:1.1.1-3
 - BuildRequire ant-antlr.
 




More information about the fedora-extras-commits mailing list