Package: gobi-loader
Version: 0.7

This package currently doesn't respect CC and CFLAGS envvars.

Patch: Respect CC and CFLAGS environment variables
diff -Nru gobi-loader-0.7/debian/changelog gobi-loader-0.7/debian/changelog
--- gobi-loader-0.7/debian/changelog	2024-04-08 16:58:32.000000000 +0100
+++ gobi-loader-0.7/debian/changelog	2024-06-28 13:05:08.000000000 +0100
@@ -1,3 +1,9 @@
+gobi-loader (0.7-0ubuntu7) oracular; urgency=medium
+
+  * d/p/respect-cc-and-cflags.patch: Respect CC and CFLAGS environment variables
+
+ -- Mate Kukri <mate.ku...@canonical.com>  Fri, 28 Jun 2024 13:05:08 +0100
+
 gobi-loader (0.7-0ubuntu6) noble; urgency=high
 
   * No change rebuild for 64-bit time_t and frame pointers.
diff -Nru gobi-loader-0.7/debian/patches/respect-cc-and-cflags.patch gobi-loader-0.7/debian/patches/respect-cc-and-cflags.patch
--- gobi-loader-0.7/debian/patches/respect-cc-and-cflags.patch	1970-01-01 01:00:00.000000000 +0100
+++ gobi-loader-0.7/debian/patches/respect-cc-and-cflags.patch	2024-06-28 13:05:08.000000000 +0100
@@ -0,0 +1,20 @@
+Description: Change Makefile to respect CC and CFLAGS environment variables.
+Author: Mate Kukri <mate.ku...@canonical.com>
+Bug-Ubuntu: https://launchpad.net/bugs/2071459
+Forwarded: no
+Last-Update: 2024-06-28
+
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- gobi-loader-0.7.orig/Makefile
++++ gobi-loader-0.7/Makefile
+@@ -1,7 +1,7 @@
+ VERSION = 0.7
+ 
+ gobi_loader: gobi_loader.c
+-	gcc -Wall gobi_loader.c -o gobi_loader
++	$(CC) $(CFLAGS) gobi_loader.c -o gobi_loader
+ 
+ all: gobi_loader
+ 
diff -Nru gobi-loader-0.7/debian/patches/series gobi-loader-0.7/debian/patches/series
--- gobi-loader-0.7/debian/patches/series	2010-08-03 12:48:18.000000000 +0100
+++ gobi-loader-0.7/debian/patches/series	2024-06-28 13:03:57.000000000 +0100
@@ -1 +1,2 @@
 0001-fix-udev-rule.patch
+respect-cc-and-cflags.patch

Reply via email to