2 Commits

3 changed files with 23 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
--- a/Tools/Makefile.orig.preamble 2024-05-27 08:57:03.000000000 +0200
+++ b/Tools/Makefile.preamble 2025-01-24 21:56:17.830762556 +0100
@@ -46,7 +46,7 @@
#ADDITIONAL_OBJCFLAGS +=
# Additional flags to pass to the C compiler
-#ADDITIONAL_CFLAGS +=
+ADDITIONAL_CFLAGS += -std=gnu17
# Additional include directories the compiler should search
ADDITIONAL_INCLUDE_DIRS += -I../Source/$(GNUSTEP_TARGET_DIR) -I../Source/

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Oct 10 14:13:54 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Add gnustep-base-fix_GCC15.patch: Fix build with gcc 15, borrow
patch from fedora.
-------------------------------------------------------------------
Fri Feb 28 22:03:49 UTC 2025 - Fred kiefer <fredkiefer@gmx.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package gnustep-base
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -33,6 +33,7 @@ URL: http://www.gnustep.org/
Source: ftp://ftp.gnustep.org/pub/gnustep/core/%{name}-%{version}.tar.gz
Source1: ftp://ftp.gnustep.org/pub/gnustep/core/%{name}-%{version}.tar.gz.sig
Source2: %{name}-rpmlintrc
Patch: gnustep-base-fix_GCC15.patch
BuildRequires: fdupes
BuildRequires: gcc-objc
BuildRequires: gmp-devel
@@ -92,7 +93,10 @@ This package contains include files for developing applications
using the GNUstep Base Library.
%prep
%autosetup -p1
%autosetup -N
%if 0%{?suse_version} >= 1600
%patch -p1 -P 0
%endif
find . -type f -name "*.swp" -delete
%build