Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| fcef1b8e04 | |||
|
|
859672d25d | ||
| b4580ff54b | |||
| f17c9679d5 |
14
pcsc-eco5000-fix-compile-gcc15.patch
Normal file
14
pcsc-eco5000-fix-compile-gcc15.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
Index: eco5000-1.2.0/defines.h
|
||||
===================================================================
|
||||
--- eco5000-1.2.0.orig/defines.h
|
||||
+++ eco5000-1.2.0/defines.h
|
||||
@@ -78,7 +78,8 @@
|
||||
|
||||
#ifndef bool
|
||||
|
||||
- typedef int bool;
|
||||
+/* typedef int bool; */
|
||||
+#include <stdbool.h>
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 9 10:46:16 UTC 2025 - Pedro Monreal <pmonreal@suse.com>
|
||||
|
||||
- Fix build with gcc15:
|
||||
* Remove bool typedef as not needed and not used in the code
|
||||
* Add pcsc-eco5000-fix-compile-gcc15.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 14 16:39:32 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||
|
||||
- Use %make_build instead of %jobs (boo#1237231)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 26 09:48:30 UTC 2024 - Angel Yankov <angel.yankov@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package pcsc-eco5000
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -30,7 +30,7 @@ Summary: PC/SC IFD Handler for the ECO 5000 Serial Smart Card Reader
|
||||
Source: %{_name}-%{version}.tar.bz2
|
||||
Patch0: pcsc-eco5000-fix-compile-gcc14.patch
|
||||
Patch1: pcsc-eco5000-clean-warnings.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Patch2: pcsc-eco5000-fix-compile-gcc15.patch
|
||||
Requires: pcsc-lite
|
||||
%define ifddir %(pkg-config --variable=usbdropdir libpcsclite)
|
||||
|
||||
@@ -69,16 +69,14 @@ Authors:
|
||||
Andreas Schwier <andreas.schwier@cardcontact.de>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{_name}-%{version}
|
||||
%patch -P 0 -p1
|
||||
%patch -P 1 -p1
|
||||
%autosetup -p1 -n %{_name}-%{version}
|
||||
|
||||
%build
|
||||
autoreconf -f -i
|
||||
%configure\
|
||||
--libdir=%{ifddir}\
|
||||
--disable-static
|
||||
make %{?jobs:-j%jobs}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
|
||||
Reference in New Issue
Block a user