public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Unicode-UTF8] rawhide: Update to 0.74
@ 2026-07-14  8:15 Paul Howarth
  0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-07-14  8:15 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/perl-Unicode-UTF8
            Branch : rawhide
            Commit : d59988e1aeb572010f2455d4dba6d49b0e438a12
            Author : Paul Howarth <paul@city-fan.org>
            Date   : 2026-07-14T09:14:56+01:00
            Stats  : +13/-25 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-Unicode-UTF8/c/d59988e1aeb572010f2455d4dba6d49b0e438a12?branch=rawhide

            Log:
            Update to 0.74

- New upstream release 0.74
  - Added slurp_utf8($filename), which reads an entire file and returns its
    contents decoded from UTF-8 as a character string
  - Added support for older MSVC C compilers by using __inline in place of the
    C99 inline keyword on pre-Visual Studio 2015 builds
  - Fixed SSE2 detection to only enable the SIMD implementation on 64-bit x86
    targets, which prevents unsupported SSE2 code from being selected on 32-bit
    x86 builds (GH#14)

---
diff --git a/Unicode-UTF8-0.72-SSE2.patch b/Unicode-UTF8-0.72-SSE2.patch
deleted file mode 100644
index aca5025..0000000
--- a/Unicode-UTF8-0.72-SSE2.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Disable SSE2 support on ix86
-
-Whilst ix86 may have SSE2 support, the function _mm_cvtsi128_si64 is used,
-which is not available on 32-bit processors.
-
-https://github.com/chansen/p5-unicode-utf8/issues/14
-
---- utf8_simd.h
-+++ utf8_simd.h
-@@ -47,7 +47,7 @@
- #if defined(__AVX2__)
- #  define UTF8_SIMD_HAS_AVX2 1
- #  include <immintrin.h>
--#elif defined(__SSE2__) || defined(_M_X64) || (defined(_M_IX86_FP) && (_M_IX86_FP >= 2))
-+#elif (defined(__SSE2__) && defined(__x86_64__)) || defined(_M_X64) || (defined(_M_IX86_FP) && (_M_IX86_FP >= 2))
- #  define UTF8_SIMD_HAS_SSE2 1
- #  include <emmintrin.h>
- #elif defined(__aarch64__)

diff --git a/perl-Unicode-UTF8.spec b/perl-Unicode-UTF8.spec
index c0647a8..6e25f10 100644
--- a/perl-Unicode-UTF8.spec
+++ b/perl-Unicode-UTF8.spec
@@ -7,12 +7,11 @@
 
 Summary:	Encoding and decoding of UTF-8 encoding form
 Name:		perl-Unicode-UTF8
-Version:	0.72
+Version:	0.74
 Release:	1%{?dist}
 License:	GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:		https://metacpan.org/release/Unicode-UTF8
 Source0:	https://cpan.metacpan.org/modules/by-module/Unicode/Unicode-UTF8-%{version}.tar.gz
-Patch0:		Unicode-UTF8-0.72-SSE2.patch
 # Module Build
 BuildRequires:	coreutils
 BuildRequires:	findutils
@@ -37,6 +36,7 @@ BuildRequires:	perl(File::Spec)
 BuildRequires:	perl(File::Temp)
 BuildRequires:	perl(IO::File)
 BuildRequires:	perl(lib)
+BuildRequires:	perl(POSIX)
 BuildRequires:	perl(Scalar::Util)
 BuildRequires:	perl(Test::Builder)
 BuildRequires:	perl(Test::Fatal) >= 0.006
@@ -65,10 +65,6 @@ specified by Unicode and ISO/IEC 10646:2011.
 %prep
 %setup -q -n Unicode-UTF8-%{version}
 
-# Fix FTBFS on ix86 with SSE2
-# https://github.com/chansen/p5-unicode-utf8/issues/14
-%patch -P0
-
 %build
 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}"
 %{make_build}
@@ -89,6 +85,16 @@ make test
 %{_mandir}/man3/Unicode::UTF8.3*
 
 %changelog
+* Tue Jul 14 2026 Paul Howarth <paul@city-fan.org> - 0.74-1
+- Update to 0.74
+  - Added slurp_utf8($filename), which reads an entire file and returns its
+    contents decoded from UTF-8 as a character string
+  - Added support for older MSVC C compilers by using __inline in place of the
+    C99 inline keyword on pre-Visual Studio 2015 builds
+  - Fixed SSE2 detection to only enable the SIMD implementation on 64-bit x86
+    targets, which prevents unsupported SSE2 code from being selected on 32-bit
+    x86 builds (GH#14)
+
 * Thu Jul  9 2026 Paul Howarth <paul@city-fan.org> - 0.72-1
 - Update to 0.72
   - read_utf8() now takes a single-pass fast path on PerlIO fast-gets layers,

diff --git a/sources b/sources
index 61204bf..d618ede 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Unicode-UTF8-0.72.tar.gz) = 3ded76c7ee226a724a83fa3bd95e00953c57876284a6f650ec8403d19ca95b3e420711307b01a5596076d09549e00a94c0e3fe1292da05fa9dedf8d43a8008d9
+SHA512 (Unicode-UTF8-0.74.tar.gz) = 13985e98553dbf6d6ab4281335a7af2660e829d015a4c41e557973b539dc74657cba9b2ef30978a7a21cbb91c1eb475fb74690844b16b332d5aaaf69cb79930f

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-14  8:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-14  8:15 [rpms/perl-Unicode-UTF8] rawhide: Update to 0.74 Paul Howarth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox