diff -Nru gravit-0.5.1+dfsg/debian/changelog gravit-0.5.1+dfsg/debian/changelog --- gravit-0.5.1+dfsg/debian/changelog 2020-05-01 08:35:04.000000000 +0000 +++ gravit-0.5.1+dfsg/debian/changelog 2022-11-05 16:27:59.000000000 +0000 @@ -1,3 +1,14 @@ +gravit (0.5.1+dfsg-6) unstable; urgency=medium + + * Team Upload. + * Add patch to also link with GL (Closes: #1022284) + * Bump Standards-Version to 4.6.1 (no changes needed) + * Remove debhelper from B-D, do not keep both dh and dh-compat + * Bump debhelper compatibility level to 13 + * Update copyright year + + -- Nilesh Patra Sat, 05 Nov 2022 21:57:59 +0530 + gravit (0.5.1+dfsg-5) unstable; urgency=medium * Fix ftbfs with GCC-10 (Closes: #957303) diff -Nru gravit-0.5.1+dfsg/debian/control gravit-0.5.1+dfsg/debian/control --- gravit-0.5.1+dfsg/debian/control 2020-05-01 08:35:04.000000000 +0000 +++ gravit-0.5.1+dfsg/debian/control 2022-11-05 16:27:56.000000000 +0000 @@ -3,13 +3,12 @@ Uploaders: Tomasz Buchert Section: science Priority: optional -Build-Depends: debhelper (>= 12), - debhelper-compat (= 12), +Build-Depends: debhelper-compat (= 13), liblua5.1-0-dev, libsdl-image1.2-dev, libsdl-ttf2.0-dev, libsdl1.2-dev -Standards-Version: 4.5.0 +Standards-Version: 4.6.1 Vcs-Browser: https://salsa.debian.org/debian-astro-team/gravit Vcs-Git: https://salsa.debian.org/debian-astro-team/gravit.git Homepage: https://github.com/gak/gravit diff -Nru gravit-0.5.1+dfsg/debian/copyright gravit-0.5.1+dfsg/debian/copyright --- gravit-0.5.1+dfsg/debian/copyright 2020-05-01 08:35:04.000000000 +0000 +++ gravit-0.5.1+dfsg/debian/copyright 2022-11-05 16:27:56.000000000 +0000 @@ -40,7 +40,7 @@ for ore information. Files: debian/* -Copyright: 2014-2015 Tomasz Buchert +Copyright: 2014-2022 Tomasz Buchert License: GPL-2+ diff -Nru gravit-0.5.1+dfsg/debian/patches/link-with-gl.patch gravit-0.5.1+dfsg/debian/patches/link-with-gl.patch --- gravit-0.5.1+dfsg/debian/patches/link-with-gl.patch 1970-01-01 00:00:00.000000000 +0000 +++ gravit-0.5.1+dfsg/debian/patches/link-with-gl.patch 2022-11-05 16:07:46.000000000 +0000 @@ -0,0 +1,20 @@ +Description: GLU does not vendor -lGL flag from pkg-config anymore requires + so use GL_LIBS and GL_CFLAGS as well +Author: Nilesh Patra +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022284 +Last-Update: 2022-11-05 +--- a/configure.in ++++ b/configure.in +@@ -183,9 +183,9 @@ + if test x"$have_gl" = x"yes" -a x"$have_glu" = x"yes" ; then + PKG_CHECK_MODULES(GL, [gl]) + PKG_CHECK_MODULES(GLU, [glu]) +- #GLU requires GL, so it's enough to use GLU_CFLAGS and GLU_LIBS +- CFLAGS="$CFLAGS $GLU_CFLAGS" +- LIBS="$LIBS $GLU_LIBS" ++ #GLU does not vendor -lGL flag from pkg-config anymore requires so use GL_LIBS and GL_CFLAGS as well ++ CFLAGS="$CFLAGS $GLU_CFLAGS $GL_CFLAGS" ++ LIBS="$LIBS $GLU_LIBS $GL_LIBS" + else + dnl Check for OpenGL - borrowed from SDL_ttf + case "$host" in diff -Nru gravit-0.5.1+dfsg/debian/patches/series gravit-0.5.1+dfsg/debian/patches/series --- gravit-0.5.1+dfsg/debian/patches/series 2020-05-01 08:35:04.000000000 +0000 +++ gravit-0.5.1+dfsg/debian/patches/series 2022-11-05 16:13:28.000000000 +0000 @@ -1,3 +1,4 @@ fix-ftbfs-non-x86.patch 0002-make-HAVE_SSE-fully-configurable.patch 0003-fix-gcc10-fno-common-build-issue.patch +link-with-gl.patch