Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-SGML-Parser-OpenSP for 
openSUSE:Factory checked in at 2023-08-09 17:26:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-SGML-Parser-OpenSP (Old)
 and      /work/SRC/openSUSE:Factory/.perl-SGML-Parser-OpenSP.new.11712 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-SGML-Parser-OpenSP"

Wed Aug  9 17:26:40 2023 rev:5 rq:1103155 version:0.994

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-SGML-Parser-OpenSP/perl-SGML-Parser-OpenSP.changes
  2012-12-05 14:02:39.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-SGML-Parser-OpenSP.new.11712/perl-SGML-Parser-OpenSP.changes
       2023-08-09 17:26:54.053995745 +0200
@@ -1,0 +2,5 @@
+Wed Aug  9 12:31:40 UTC 2023 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Add perl538.patch: Fix build with Perl 5.38.
+
+-------------------------------------------------------------------

New:
----
  perl538.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-SGML-Parser-OpenSP.spec ++++++
--- /var/tmp/diff_new_pack.KdPW4g/_old  2023-08-09 17:26:54.525998684 +0200
+++ /var/tmp/diff_new_pack.KdPW4g/_new  2023-08-09 17:26:54.533998733 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-SGML-Parser-OpenSP
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,19 +12,20 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           perl-SGML-Parser-OpenSP
 %define cpan_name SGML-Parser-OpenSP
 Summary:        Perl interface to the OpenSP SGML and XML parser
-License:        Artistic-1.0 or GPL-2.0+
+License:        Artistic-1.0 OR GPL-2.0-or-later
 Group:          Development/Libraries/Perl
 Version:        0.994
 Release:        0
-Url:            http://search.cpan.org/dist/SGML-Parser-OpenSP
+URL:            http://search.cpan.org/dist/SGML-Parser-OpenSP
 Source0:        %{cpan_name}-%{version}.tar.gz
+Patch0:         perl538.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %{perl_requires}
 BuildRequires:  dos2unix
@@ -45,7 +46,7 @@
  Authors:      Bjoern Hoehrmann, <bjo...@hoehrmann.de>
 
 %prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup -n %{cpan_name}-%{version} -p1
 find -type f -exec chmod 0644 {} \;
 find -type d -exec chmod 0755 {} \;
 for i in Changes README lib/SGML/Parser/OpenSP/Tools.pm 
lib/SGML/Parser/OpenSP.pm; do

++++++ perl538.patch ++++++
Index: SGML-Parser-OpenSP-0.994/OpenSP.xs
===================================================================
--- SGML-Parser-OpenSP-0.994.orig/OpenSP.xs
+++ SGML-Parser-OpenSP-0.994/OpenSP.xs
@@ -162,7 +162,7 @@ SV* SgmlParserOpenSP::cs2sv(const SGMLAp
     {
         d = m_temp;
         for (i = 0; i < s.len; ++i)
-            d = uvuni_to_utf8_flags(d, s.ptr[i], 0);
+            d = uvoffuni_to_utf8_flags(d, s.ptr[i], 0);
         result = newSVpvn((const char*)m_temp, d - m_temp);
     }
     else
@@ -171,7 +171,7 @@ SV* SgmlParserOpenSP::cs2sv(const SGMLAp
         for (i = 0; i < s.len; ++i)
         {
             d = (U8 *)SvGROW(result, SvCUR(result) + UTF8_MAXLEN + 1);
-            d = uvuni_to_utf8_flags(d + SvCUR(result), s.ptr[i], 0); 
+            d = uvoffuni_to_utf8_flags(d + SvCUR(result), s.ptr[i], 0); 
             SvCUR_set(result, d - (U8 *)SvPVX(result));
         }
     }

Reply via email to