Package: gramophone2 / 0.8.13a-3.5

Metadata

Package Version Patches format
gramophone2 0.8.13a-3.5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Makefile.diff | (download)

Makefile | 7 4 + 3 - 0 !
1 file changed, 4 insertions(+), 3 deletions(-)

 the included makefile for unix has some problems:
 It adds -lm to the CFLAGS. -lm is a linker option and as such
 has no place in CFLAGS (which are used for compiler flags).
 Due to this, -lm appears on the command line way before any
 object files. This leads to it being discarded when the linker
 flag --as-needed is set. An example failure can be observed under
 Ubuntu: /PKGBUILDDIR/grammyVM.c:1498: undefined reference to `log10'
GRAMophone.y.diff | (download)

GRAMophone.y | 10 6 + 4 - 0 !
1 file changed, 6 insertions(+), 4 deletions(-)

---
grammyVM.c.diff | (download)

grammyVM.c | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

---
clang_FTBFS.patch | (download)

midifile.c | 63 42 + 21 - 0 !
1 file changed, 42 insertions(+), 21 deletions(-)

 fix ftbfs with clang [-wreturn-type]
fix ftbfs implicit function declaration.patch | (download)

GRAMophone.c | 1 1 + 0 - 0 !
GRAMophone.l | 3 2 + 1 - 0 !
global.h | 30 30 + 0 - 0 !
midifile.h | 5 5 + 0 - 0 !
4 files changed, 38 insertions(+), 1 deletion(-)

 fix ftbfs caused by -werror=implicit-function-declaration
 In dpkg 1.22.6, it enabled -Werror=implicit-function-declaration.
 Thus we need to make sure every function has its definition.
Bug-Debian: http://bugs.debian.org/1066674