From 491234fd3bff1bdb9199ee80ef307101a484f6c29ffd0954c64d8d1072e46d45 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 19 Mar 2024 19:01:21 +0000 Subject: [PATCH 1/3] - Added patch: * byaccj-gcc14.patch + add missing include to fix build with gcc 14 (bsc#1221696) OBS-URL: https://build.opensuse.org/package/show/Java:packages/byaccj?expand=0&rev=12 --- byaccj-gcc14.patch | 10 ++++++++++ byaccj.changes | 7 +++++++ byaccj.spec | 4 +++- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 byaccj-gcc14.patch diff --git a/byaccj-gcc14.patch b/byaccj-gcc14.patch new file mode 100644 index 0000000..abf9fde --- /dev/null +++ b/byaccj-gcc14.patch @@ -0,0 +1,10 @@ +--- byaccj1.15/src/main.c 2024-03-19 19:33:36.131296013 +0100 ++++ byaccj1.15/src/main.c 2024-03-19 19:34:09.998023153 +0100 +@@ -1,6 +1,7 @@ + #include + #include + #include ++#include + + #ifndef __WIN32__ /*rwj -- make portable*/ + #include diff --git a/byaccj.changes b/byaccj.changes index 7907d1f..5580e7d 100644 --- a/byaccj.changes +++ b/byaccj.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Mar 19 18:59:53 UTC 2024 - Fridrich Strba + +- Added patch: + * byaccj-gcc14.patch + + add missing include to fix build with gcc 14 (bsc#1221696) + ------------------------------------------------------------------- Tue Jul 27 13:20:50 UTC 2021 - Fridrich Strba diff --git a/byaccj.spec b/byaccj.spec index b7eaf30..a4d0efd 100644 --- a/byaccj.spec +++ b/byaccj.spec @@ -1,7 +1,7 @@ # # spec file for package byaccj # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,7 @@ License: SUSE-Public-Domain Group: Development/Libraries/Java URL: http://byaccj.sourceforge.net/ Source0: https://downloads.sourceforge.net/%{name}/%{name}%{version}_src.tar.gz +Patch0: byaccj-gcc14.patch Requires: man-pages %description @@ -41,6 +42,7 @@ finally is a YACC for Java now! %prep %setup -q -n %{name}%{version} +%patch -P 0 -p1 chmod -c -x src/* docs/* sed -i -e 's|-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4|$(LDFLAGS)|g' src/Makefile From 4dd538ae69159a99d4bc1b0c4a70b62e060a04fc99f9352a7fe0d8551e697d89 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 19 Mar 2024 19:02:27 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/Java:packages/byaccj?expand=0&rev=13 --- byaccj.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/byaccj.spec b/byaccj.spec index a4d0efd..2508bb8 100644 --- a/byaccj.spec +++ b/byaccj.spec @@ -17,7 +17,6 @@ %{!?make_build:%global make_build make %{?_smp_mflags}} -%define jpp_release 3 Name: byaccj Version: 1.15 Release: 0 From ad38fc67ef9ebcb3c4e5784dd7fa1a0ce22aa8292b1fd42401503d865a70dc4b Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 19 Mar 2024 19:02:50 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/Java:packages/byaccj?expand=0&rev=14 --- byaccj.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/byaccj.spec b/byaccj.spec index 2508bb8..49412af 100644 --- a/byaccj.spec +++ b/byaccj.spec @@ -23,7 +23,7 @@ Release: 0 Summary: Parser Generator with Java Extension License: SUSE-Public-Domain Group: Development/Libraries/Java -URL: http://byaccj.sourceforge.net/ +URL: https://byaccj.sourceforge.net/ Source0: https://downloads.sourceforge.net/%{name}/%{name}%{version}_src.tar.gz Patch0: byaccj-gcc14.patch Requires: man-pages