[perl-PDL] Add patch to drop projects.h from Proj.pd
Orion Poplawski
orion at fedoraproject.org
Sun Aug 5 03:37:27 UTC 2012
commit 18606be4ec25a07bda2c154d138e5194f9f27641
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Sat Aug 4 21:37:22 2012 -0600
Add patch to drop projects.h from Proj.pd
perl-PDL-proj.patch | 11 +++++++++++
perl-PDL.spec | 8 +++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/perl-PDL-proj.patch b/perl-PDL-proj.patch
new file mode 100644
index 0000000..6ec8f43
--- /dev/null
+++ b/perl-PDL-proj.patch
@@ -0,0 +1,11 @@
+diff -up PDL-2.4.10/Lib/GIS/Proj/Proj.pd.proj PDL-2.4.10/Lib/GIS/Proj/Proj.pd
+--- PDL-2.4.10/Lib/GIS/Proj/Proj.pd.proj 2012-01-02 16:56:28.000000000 -0700
++++ PDL-2.4.10/Lib/GIS/Proj/Proj.pd 2012-08-04 21:33:10.290196121 -0600
+@@ -85,7 +85,6 @@ EODOC
+ # Header files:
+ #
+ pp_addhdr(<<'EOHDR');
+-#include "projects.h"
+ #include "proj_api.h"
+ #include <string.h>
+
diff --git a/perl-PDL.spec b/perl-PDL.spec
index 3b4c304..45e512c 100644
--- a/perl-PDL.spec
+++ b/perl-PDL.spec
@@ -1,6 +1,6 @@
Name: perl-PDL
Version: 2.4.10
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: The Perl Data Language
Group: Development/Libraries
License: GPL+ or Artistic
@@ -9,6 +9,8 @@ Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHM/PDL-%{version}.t
# Uncomment to enable PDL::IO::Browser
# Patch0: perl-PDL-2.4.10-settings.patch
Patch1: perl-PDL-2.4.7-hdf.patch
+# Drop project.h from Proj.pd, no longer part of proj
+Patch2: perl-PDl-proj.patch
BuildRequires: perl(version)
BuildRequires: perl(ExtUtils::F77)
BuildRequires: perl(File::Spec)
@@ -54,6 +56,7 @@ such commercial packages as IDL and MatLab.
# Uncomment to enable PDL::IO::Browser
# %patch0 -p1 -b .settings
%patch1 -p1 -b .hdf
+%patch2 -p1 -b .proj
%build
CFLAGS="%{optflags} -Wno-unused"
@@ -90,6 +93,9 @@ make test
%{_mandir}/man3/*.3*
%changelog
+* Sat Aug 04 2012 Orion Poplawski <orion at nwra.com> - 2.4.10-4
+- Add patch to drop projects.h from Proj.pd
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.4.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list