Compare commits
6 Commits
Author | SHA256 | Date | |
---|---|---|---|
59e9af2c70 | |||
9146e25e78 | |||
22950004bc | |||
1a2c40d9ba | |||
520faee401 | |||
6656331f3b |
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
## Build Results
|
||||
|
||||
Current state of perl in openSUSE:Factory is
|
||||
|
||||

|
||||
|
||||
The current state of perl in the devel project build (devel:languages:perl)
|
||||
|
||||

|
||||
|
||||
|
@@ -5,7 +5,8 @@
|
||||
# - source1
|
||||
# - source2
|
||||
patches:
|
||||
Bit-Vector-7.1.diff:
|
||||
Bit-Vector-7.1.diff:
|
||||
perl-Bit-Vector-gcc15.patch: build with gcc15, sent to STBEY@cpan.org
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
|
13
perl-Bit-Vector-gcc15.patch
Normal file
13
perl-Bit-Vector-gcc15.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: ToolBox.h
|
||||
===================================================================
|
||||
--- ToolBox.h.orig
|
||||
+++ ToolBox.h
|
||||
@@ -85,7 +85,7 @@ typedef Z_longword *Z_longwordp
|
||||
#undef TRUE
|
||||
#define TRUE (0==0)
|
||||
|
||||
-#ifdef __cplusplus
|
||||
+#if defined(__cplusplus) || (__STDC_VERSION__ >= 202311L)
|
||||
typedef bool boolean;
|
||||
#else
|
||||
#ifdef MACOS_TRADITIONAL
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 15 13:31:05 UTC 2025 - pgajdos@suse.com
|
||||
|
||||
- added patches [bsc#1241940]:
|
||||
fix build with gcc15, sent to STBEY@cpan.org
|
||||
* perl-Bit-Vector-gcc15.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 6 22:16:07 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
|
@@ -28,7 +28,10 @@ Summary: Bit::Vector Perl module
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/S/ST/STBEY/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
Source100: README.md
|
||||
Patch0: Bit-Vector-7.1.diff
|
||||
# build with gcc15, sent to STBEY@cpan.org
|
||||
Patch1: perl-Bit-Vector-gcc15.patch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Carp::Clan) >= 5.300
|
||||
@@ -44,9 +47,7 @@ Provides: perl(Bit::Vector::String) = %{version}
|
||||
%description
|
||||
|
||||
%prep
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -N
|
||||
|
||||
%patch -P0
|
||||
%autosetup -p0 -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
|
Reference in New Issue
Block a user