forked from pool/perl-Bit-Vector
		
	Compare commits
	
		
			3 Commits
		
	
	
		
	
	| Author | SHA256 | Date | |
|---|---|---|---|
| bed54528e8 | |||
| 4ac8173457 | |||
| 979e7867ac | 
							
								
								
									
										12
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								README.md
									
									
									
									
									
								
							@@ -1,12 +0,0 @@
 | 
				
			|||||||
 | 
					 | 
				
			||||||
## Build Results
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Current state of perl in openSUSE:Factory is
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||

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

 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
@@ -6,7 +6,6 @@
 | 
				
			|||||||
#  - source2
 | 
					#  - source2
 | 
				
			||||||
patches:
 | 
					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: |-
 | 
					#preamble: |-
 | 
				
			||||||
# BuildRequires:  gcc-c++
 | 
					# BuildRequires:  gcc-c++
 | 
				
			||||||
#post_prep: |-
 | 
					#post_prep: |-
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,13 +0,0 @@
 | 
				
			|||||||
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,10 +1,3 @@
 | 
				
			|||||||
-------------------------------------------------------------------
 | 
					 | 
				
			||||||
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>
 | 
					Thu Feb  6 22:16:07 UTC 2025 - Tina Müller <tina.mueller@suse.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -28,10 +28,7 @@ Summary:        Bit::Vector Perl module
 | 
				
			|||||||
URL:            https://metacpan.org/release/%{cpan_name}
 | 
					URL:            https://metacpan.org/release/%{cpan_name}
 | 
				
			||||||
Source0:        https://cpan.metacpan.org/authors/id/S/ST/STBEY/%{cpan_name}-%{cpan_version}.tar.gz
 | 
					Source0:        https://cpan.metacpan.org/authors/id/S/ST/STBEY/%{cpan_name}-%{cpan_version}.tar.gz
 | 
				
			||||||
Source1:        cpanspec.yml
 | 
					Source1:        cpanspec.yml
 | 
				
			||||||
Source100:      README.md
 | 
					 | 
				
			||||||
Patch0:         Bit-Vector-7.1.diff
 | 
					Patch0:         Bit-Vector-7.1.diff
 | 
				
			||||||
# build with gcc15, sent to STBEY@cpan.org
 | 
					 | 
				
			||||||
Patch1:         perl-Bit-Vector-gcc15.patch
 | 
					 | 
				
			||||||
BuildRequires:  perl
 | 
					BuildRequires:  perl
 | 
				
			||||||
BuildRequires:  perl-macros
 | 
					BuildRequires:  perl-macros
 | 
				
			||||||
BuildRequires:  perl(Carp::Clan) >= 5.300
 | 
					BuildRequires:  perl(Carp::Clan) >= 5.300
 | 
				
			||||||
@@ -47,7 +44,9 @@ Provides:       perl(Bit::Vector::String) = %{version}
 | 
				
			|||||||
%description
 | 
					%description
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%prep
 | 
					%prep
 | 
				
			||||||
%autosetup -p0 -n %{cpan_name}-%{cpan_version}
 | 
					%autosetup  -n %{cpan_name}-%{cpan_version} -N
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%patch -P0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%build
 | 
					%build
 | 
				
			||||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 | 
					perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user