Control: tags 925704 + patch
Control: tags 925704 + pending

Dear maintainer,

I've prepared an NMU for gramophone2 (versioned as 0.8.13a-3.1) and
uploaded it to mentors for sponsoring. Please feel free to tell me if I
should remove it.

--
Regards
Sudip

diff -Nru gramophone2-0.8.13a/debian/changelog 
gramophone2-0.8.13a/debian/changelog
--- gramophone2-0.8.13a/debian/changelog        2014-01-28 22:35:12.000000000 
+0000
+++ gramophone2-0.8.13a/debian/changelog        2020-03-28 00:24:28.000000000 
+0000
@@ -1,3 +1,10 @@
+gramophone2 (0.8.13a-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix ftbfs with GCC. (Closes: #925704)
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Sat, 28 Mar 2020 00:24:28 
+0000
+
 gramophone2 (0.8.13a-3) unstable; urgency=medium
 
   * switched to quilt patch system, migrated all the existing patches.
diff -Nru gramophone2-0.8.13a/debian/patches/fix_gcc.patch 
gramophone2-0.8.13a/debian/patches/fix_gcc.patch
--- gramophone2-0.8.13a/debian/patches/fix_gcc.patch    1970-01-01 
01:00:00.000000000 +0100
+++ gramophone2-0.8.13a/debian/patches/fix_gcc.patch    2020-03-28 
00:23:54.000000000 +0000
@@ -0,0 +1,27 @@
+Description: Fix FTBFS with GCC
+
+Author: Sudip Mukherjee <sudipm.mukher...@gmail.com>
+
+---
+
+--- gramophone2-0.8.13a.orig/Makefile
++++ gramophone2-0.8.13a/Makefile
+@@ -1,7 +1,8 @@
+ CC=gcc
+ #CFLAGS+=-O2
+ #Decomment this line if you use Linux:
+-CFLAGS+=-O2 -lm
++CFLAGS+=-O2
++LIBS+=-lm
+ 
+ DESTDIR=/usr/local
+ 
+@@ -9,7 +10,7 @@ default:              GRAMophone.tab.c
+                       $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o gramophone2 
GRAMophone.c\
+                       grammyVM.c init.c midicode.c\
+                       midifile.c expcode.c debug.c errors.c\
+-                      hash.c GRAMophone.tab.c
++                      hash.c GRAMophone.tab.c $(LIBS)
+ 
+ GRAMophone.tab.c:     lex.yy.c
+                       bison -d GRAMophone.y
diff -Nru gramophone2-0.8.13a/debian/patches/series 
gramophone2-0.8.13a/debian/patches/series
--- gramophone2-0.8.13a/debian/patches/series   2014-01-28 10:48:24.000000000 
+0000
+++ gramophone2-0.8.13a/debian/patches/series   2020-03-28 00:24:24.000000000 
+0000
@@ -1,3 +1,4 @@
 Makefile.diff
 GRAMophone.y.diff
 grammyVM.c.diff
+fix_gcc.patch

Reply via email to