Source: ethstatus
Version: 0.4.8
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

ethstatus fails to cross build from source, because the Makefile hard
codes gcc. After making it substitutable, ethstatus cross builds
successfully. Please consider applying the attached patch.

Helmut
diff --minimal -Nru ethstatus-0.4.8/Makefile ethstatus-0.4.8+nmu1/Makefile
--- ethstatus-0.4.8/Makefile    2016-03-27 07:29:44.000000000 +0200
+++ ethstatus-0.4.8+nmu1/Makefile       2018-06-08 23:17:22.000000000 +0200
@@ -18,7 +18,7 @@
 all : ethstatus
 
 ethstatus : ethstatus.c ethstatus.h
-       gcc $(CFLAGS) $(CPPFLAGS) -o ${BIN} ${SRC} $(LDFLAGS)
+       $(CC) $(CFLAGS) $(CPPFLAGS) -o ${BIN} ${SRC} $(LDFLAGS)
 
 clean:
        rm -f ${BIN} *.o core *~ 
diff --minimal -Nru ethstatus-0.4.8/debian/changelog 
ethstatus-0.4.8+nmu1/debian/changelog
--- ethstatus-0.4.8/debian/changelog    2016-06-01 04:25:53.000000000 +0200
+++ ethstatus-0.4.8+nmu1/debian/changelog       2018-06-08 23:17:28.000000000 
+0200
@@ -1,3 +1,10 @@
+ethstatus (0.4.8+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Make gcc substitutable. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 08 Jun 2018 23:17:28 +0200
+
 ethstatus (0.4.8) unstable; urgency=medium
 
   * New release.

Reply via email to