sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master games grimoire by Ismael Luceno (5d3723de5b2a860be5808a3e1d727d28a79afea7)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
- Subject: [[SM-Commit] ] GIT changes to master games grimoire by Ismael Luceno (5d3723de5b2a860be5808a3e1d727d28a79afea7)
- Date: Mon, 20 Oct 2025 02:33:08 +0000
GIT changes to master games grimoire by Ismael Luceno <ismael AT sourcemage.org>:
games-puzzles/gtk-sudoku/BUILD
| 1
games-puzzles/gtk-sudoku/HISTORY
| 4 +
games-puzzles/gtk-sudoku/PRE_BUILD
| 3 +
games-puzzles/gtk-sudoku/patches/0001-Fix-Makefile-to-respect-environment-CFLAGS-and-LIBS.patch
| 25 ++++++++++
4 files changed, 33 insertions(+)
New commits:
commit 5d3723de5b2a860be5808a3e1d727d28a79afea7
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
gtk-sudoku: Fixed build with GCC 10+
diff --git a/games-puzzles/gtk-sudoku/BUILD b/games-puzzles/gtk-sudoku/BUILD
index 8f58e6d..52c089a 100755
--- a/games-puzzles/gtk-sudoku/BUILD
+++ b/games-puzzles/gtk-sudoku/BUILD
@@ -1 +1,2 @@
+CFLAGS+=' -fcommon' &&
make
diff --git a/games-puzzles/gtk-sudoku/HISTORY
b/games-puzzles/gtk-sudoku/HISTORY
index 846ccf4..ff42df5 100644
--- a/games-puzzles/gtk-sudoku/HISTORY
+++ b/games-puzzles/gtk-sudoku/HISTORY
@@ -1,2 +1,6 @@
+2025-09-11 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, PRE_BUILD,
patches/0001-Fix-Makefile-to-respect-environment-CFLAGS-and-LIBS.patch:
+ Fixed build with GCC 10+
+
2016-10-04 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS, DEPENDS, BUILD, INSTALL: created spell, version 0.7.2
diff --git a/games-puzzles/gtk-sudoku/PRE_BUILD
b/games-puzzles/gtk-sudoku/PRE_BUILD
new file mode 100755
index 0000000..c230ad1
--- /dev/null
+++ b/games-puzzles/gtk-sudoku/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+apply_patch_dir patches
diff --git
a/games-puzzles/gtk-sudoku/patches/0001-Fix-Makefile-to-respect-environment-CFLAGS-and-LIBS.patch
b/games-puzzles/gtk-sudoku/patches/0001-Fix-Makefile-to-respect-environment-CFLAGS-and-LIBS.patch
new file mode 100644
index 0000000..f94f938
--- /dev/null
+++
b/games-puzzles/gtk-sudoku/patches/0001-Fix-Makefile-to-respect-environment-CFLAGS-and-LIBS.patch
@@ -0,0 +1,25 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <ismael AT sourcemage.org>
+Date: Thu, 11 Sep 2025 08:15:03 +0200
+Subject: Fix Makefile to respect environment CFLAGS and LIBS
+
+Upstream-Status: Pending
+Origin: Source Mage
+Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
+---
+ Makefile | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index b54a8d315577..11d8f510df3b 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,5 +1,6 @@
+-CFLAGS = -g -Wall -O2 `pkg-config --cflags gtk+-2.0 gthread-2.0`
+-LIBS = `pkg-config --libs gtk+-2.0 gthread-2.0`
++CFLAGS ?= -g -Wall -O2
++CFLAGS += `pkg-config --cflags gtk+-2.0 gthread-2.0`
++LIBS += `pkg-config --libs gtk+-2.0 gthread-2.0`
+ CC = gcc
+ OBJS = generator.o solver.o sudoku.o
+
- [[SM-Commit] ] GIT changes to master games grimoire by Ismael Luceno (5d3723de5b2a860be5808a3e1d727d28a79afea7), Ismael Luceno, 10/19/2025
Archive powered by MHonArc 2.6.24.