2 Commits

3 changed files with 21 additions and 1 deletions

13
eb-gcc15.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: eb-4.4.3/libebutils/getopt.c
===================================================================
--- eb-4.4.3.orig/libebutils/getopt.c
+++ eb-4.4.3/libebutils/getopt.c
@@ -87,8 +87,6 @@ char *optarg; /* argument associated wi
#define EMSG ""
-extern char *getenv();
-
static int getopt_internal(int nargc, char * const *nargv,
const char *options);
static int gcd(int a, int b);

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jun 21 07:57:14 UTC 2025 - Marguerite Su <i@marguerite.su>
- add eb-gcc15.patch, fix build gcc15
-------------------------------------------------------------------
Mon May 13 11:49:01 UTC 2024 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package eb
#
# 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
@@ -28,6 +28,8 @@ Source: ftp://ftp.sra.co.jp/pub/misc/eb/%{name}-%{version}.tar.bz2
Patch0: gettext.patch
# build with gcc14
Patch1: eb-gcc14.patch
# build with gcc15
Patch2: eb-gcc15.patch
BuildRequires: libtool
BuildRequires: zlib-devel
Recommends: %{name}-lang