rpms/perl-PDL/EL-5 perl-PDL-2.4.3-gl.patch, NONE, 1.1 perl-PDL.spec, 1.34, 1.35

Orion Poplawski (orion) fedora-extras-commits at redhat.com
Wed Jan 30 17:17:24 UTC 2008


Author: orion

Update of /cvs/pkgs/rpms/perl-PDL/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21925

Modified Files:
	perl-PDL.spec 
Added Files:
	perl-PDL-2.4.3-gl.patch 
Log Message:
* Wed Jan 30 2008 Orion Poplawski <orion at cora.nwra.com> - 2.4-3-5
- Add patch to support GL version in EL-5


perl-PDL-2.4.3-gl.patch:

--- NEW FILE perl-PDL-2.4.3-gl.patch ---
--- PDL-2.4.3/Graphics/TriD/OpenGL/opengl.pd.gl	2006-06-22 00:51:43.000000000 -0600
+++ PDL-2.4.3/Graphics/TriD/OpenGL/opengl.pd	2008-01-29 09:30:50.000000000 -0700
@@ -348,6 +348,7 @@
 	 $com .= " $_" if(1 || /-D/);
   }
   $com .= " -D_LANGUAGE_C -DAPIENTRY=''";  # forces prototypes of SGI GL 
+  $com .= " -DGLvoid=void";  # workaround for RHEL5 MESA
 
   print STDERR "*** CPP command: $com $nfile |\n";
 


Index: perl-PDL.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-PDL/EL-5/perl-PDL.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- perl-PDL.spec	15 Aug 2007 14:22:12 -0000	1.34
+++ perl-PDL.spec	30 Jan 2008 17:16:46 -0000	1.35
@@ -1,6 +1,6 @@
 Name:           perl-PDL
 Version:        2.4.3
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        The Perl Data Language
 
 Group:          Development/Libraries
@@ -15,6 +15,7 @@
 Patch5:         perl-PDL-2.4.3-hdf.patch
 Patch6:         perl-PDL-2.4.3-Xext.patch
 Patch7:         perl-PDL-2.4.3-fortran.patch
+Patch8:         perl-PDL-2.4.3-gl.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  perl >= 1:5.6.1
@@ -57,6 +58,7 @@
 %patch5 -p1 -b .hdf
 %patch6 -p1 -b .Xext
 %patch7 -p1 -b .fortran
+%patch8 -p1 -b .gl
 
 # Provides: explicitly filter perl(Inline)
 cat <<__EOF__ > %{name}-findperlprovides
@@ -137,6 +139,9 @@
 
 
 %changelog
+* Wed Jan 30 2008 Orion Poplawski <orion at cora.nwra.com> - 2.4-3-5
+- Add patch to support GL version in EL-5
+
 * Wed Aug 15 2007 Robin Norwood <rnorwood at redhat.com> - 2.4-3-4
 - Updated perl-PDL-2.4.3-test.patch from Orion to fix ppc and ppc64
 - Fixed license string




More information about the fedora-extras-commits mailing list