[packages/perl-SGML-SPGroveBuilder] - don't define explicit to undefined type, rel 25

baggins baggins at pld-linux.org
Wed Mar 2 07:55:47 CET 2022


commit 82c5c12fab1ac76361f11f596e825375d496e0a4
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Mar 2 07:55:19 2022 +0100

    - don't define explicit to undefined type, rel 25

 no-undefined.patch            | 14 ++++++++++++++
 perl-SGML-SPGroveBuilder.spec |  4 +++-
 2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/perl-SGML-SPGroveBuilder.spec b/perl-SGML-SPGroveBuilder.spec
index 1174455..082d205 100644
--- a/perl-SGML-SPGroveBuilder.spec
+++ b/perl-SGML-SPGroveBuilder.spec
@@ -8,13 +8,14 @@ Summary:	SGML::SPGroveBuilder Perl module - load an SGML, XML, or HTML document
 Summary(pl.UTF-8):	Moduł Perla SGML::SPGroveBuilder - wczytywanie dokumentów SGML, XML i HTML
 Name:		perl-SGML-SPGroveBuilder
 Version:	2.01
-Release:	24
+Release:	25
 License:	BSD-like
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	5ecd47bf15af12b868c8260f21cd93cf
 Patch0:		%{name}-opensp.patch
 Patch1:		%{name}-perl-5.6.patch
+Patch2:		no-undefined.patch
 URL:		http://search.cpan.org/dist/SGML-SPGroveBuilder/
 BuildRequires:	opensp-devel >= 2:1.5.1
 BuildRequires:	perl-devel >= 1:5.8.0
@@ -35,6 +36,7 @@ Jamesa Clarka.
 %setup -q -n %{pdir}-%{pnam}-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__perl} Makefile.PL \
diff --git a/no-undefined.patch b/no-undefined.patch
new file mode 100644
index 0000000..8116064
--- /dev/null
+++ b/no-undefined.patch
@@ -0,0 +1,14 @@
+--- SGML-SPGroveBuilder-2.01/SPGroveNew.cc~	2022-03-02 07:39:53.000000000 +0100
++++ SGML-SPGroveBuilder-2.01/SPGroveNew.cc	2022-03-02 07:54:09.195341873 +0100
+@@ -14,11 +14,9 @@
+ #include "ParserEventGeneratorKit.h"
+ 
+ extern "C" {
+-#define explicit nexplicit
+ #include "EXTERN.h"
+ #include "perl.h"
+ #include "XSUB.h"
+-#undef explicit
+ 
+ SV *sp_grove_new (char *type, char *);
+ }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-SGML-SPGroveBuilder.git/commitdiff/82c5c12fab1ac76361f11f596e825375d496e0a4



More information about the pld-cvs-commit mailing list