This is an automated email from the git hooks/post-receive script. smcv pushed a commit to branch debian/master in repository yquake2.
commit a37120d4ab05e61266bb3e13166229f72eb8f99e Author: Simon McVittie <s...@debian.org> Date: Thu Sep 14 20:06:57 2017 +0100 Add patch to link CTF with -lm explicitly, fixing FTBFS --- debian/changelog | 6 ++++++ .../patches/Link-ctf-game.so-to-math-library.patch | 24 ++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 31 insertions(+) diff --git a/debian/changelog b/debian/changelog index 3405431..ca72a8b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +yquake2 (7.01+ctf1.05~dfsg-2) UNRELEASED; urgency=medium + + * Add patch to link CTF with -lm explicitly, fixing FTBFS + + -- Simon McVittie <s...@debian.org> Thu, 14 Sep 2017 20:06:12 +0100 + yquake2 (7.01+ctf1.05~dfsg-1) unstable; urgency=medium * Change Architecture to linux-any. If someone wants to run this diff --git a/debian/patches/Link-ctf-game.so-to-math-library.patch b/debian/patches/Link-ctf-game.so-to-math-library.patch new file mode 100644 index 0000000..9c7ae5b --- /dev/null +++ b/debian/patches/Link-ctf-game.so-to-math-library.patch @@ -0,0 +1,24 @@ +From: Simon McVittie <s...@debian.org> +Date: Thu, 14 Sep 2017 20:06:07 +0100 +Subject: Link ctf game.so to math library + +It uses sqrt() and similar functions. + +Signed-off-by: Simon McVittie <s...@debian.org> +--- + ctf/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ctf/Makefile b/ctf/Makefile +index 9e42ab7..4df1c3c 100644 +--- a/ctf/Makefile ++++ b/ctf/Makefile +@@ -185,7 +185,7 @@ release/game.dylib : $(CTF_OBJS) + else + release/game.so : $(CTF_OBJS) + @echo "===> LD $@" +- $(Q)$(CC) $(LDFLAGS) -o $@ $(CTF_OBJS) ++ $(Q)$(CC) $(LDFLAGS) -o $@ $(CTF_OBJS) -lm + endif + + # ---------- diff --git a/debian/patches/series b/debian/patches/series index d9b973b..2c67b1e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ Append-to-C-LD-FLAGS-instead-of-overriding-them-to-o.patch Remove-unwanted-rpaths-from-LDFLAGS.patch ctf-Use-SOURCE_DATE_EPOCH-for-reproducible-build.patch ctf-Append-to-CFLAGS-LDFLAGS-instead-of-overriding.patch +Link-ctf-game.so-to-math-library.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/yquake2.git _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits