public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bwbasic] rawhide: Fix FTBFS
@ 2026-06-30 17:53 Artur Frenszek-Iwicki
  0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-06-30 17:53 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/bwbasic
Branch : rawhide
Commit : b7a855e5fa598fa6fc9fd1aba17cf8389e18878b
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date   : 2026-03-07T20:44:46+01:00
Stats  : +8/-6 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/bwbasic/c/b7a855e5fa598fa6fc9fd1aba17cf8389e18878b?branch=rawhide

Log:
Fix FTBFS

---
diff --git a/CompileLink.patch b/CompileLink.patch
index 7390d2d..a6232b9 100644
--- a/CompileLink.patch
+++ b/CompileLink.patch
@@ -1,10 +1,12 @@
 diff -ruN bwbasic/Makefile bwbasic-mod/Makefile
 --- bwbasic/Makefile	2022-02-11 03:02:53.000000000 +0300
 +++ bwbasic-mod/Makefile	2024-05-25 18:15:35.760709630 +0300
-@@ -20,20 +20,27 @@
+@@ -19,21 +19,28 @@
+ # If running on a Beaglebone you might want to replace
  # CFLAGS=-s -ansi  with  CFLAGS=-Os -ansi
  # to have a smaller runtime size
- CFLAGS=-s -ansi
+-CFLAGS=-s -ansi
++CFLAGS += -ansi
 +LDFLAGS=
  LIB=-lm
  DEST=/usr/local/bin

diff --git a/bwbasic.spec b/bwbasic.spec
index da55092..5821f46 100644
--- a/bwbasic.spec
+++ b/bwbasic.spec
@@ -1,6 +1,6 @@
 Name:           bwbasic
 Version:        3.20g
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Bywater BASIC Interpreter
 
 # All files GPL-2.0-only except unixio.h which is public domain
@@ -31,9 +31,6 @@ BASIC Interpreter.
 
 %prep
 %autosetup -n %{name} -p1
-# Use Fedora build flags
-sed -i 's|^CFLAGS=-s -ansi|^CFLAGS=-s -ansi %{build_cflags}|g' Makefile
-sed -i 's|^LDFLAGS=|^LDFLAGS=%{build_ldflags} -nostartfiles|g' Makefile
 
 dos2unix DOCS/*.txt
 dos2unix README
@@ -76,6 +73,9 @@ cp -p -r DOCS %{buildroot}/%{_docdir}/bwbasic
 %{_docdir}/bwbasic/DOCS/*.HTM
 
 %changelog
+* Sat Mar 07 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 3.20g-6
+- Fix FTBFS
+
 * Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.20g-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-30 17:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-30 17:53 [rpms/bwbasic] rawhide: Fix FTBFS Artur Frenszek-Iwicki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox