public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Artur Frenszek-Iwicki <fedora@svgames.pl>
To: git-commits@fedoraproject.org
Subject: [rpms/bwbasic] rawhide: Fix FTBFS
Date: Tue, 30 Jun 2026 17:53:11 GMT	[thread overview]
Message-ID: <178284199187.1.15175817020005033526.rpms-bwbasic-b7a855e5fa59@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-06-30 17:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178284199187.1.15175817020005033526.rpms-bwbasic-b7a855e5fa59@fedoraproject.org \
    --to=fedora@svgames.pl \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox