[hyperrogue] 22/30: Add system-glew.patch and link against the system library of glew.

Markus Koschany apo at moszumanska.debian.org
Fri Sep 9 22:55:44 UTC 2016


This is an automated email from the git hooks/post-receive script.

apo pushed a commit to branch master
in repository hyperrogue.

commit 9e972930a0bba994a6b314f5e3c8c5f815abc9de
Author: Markus Koschany <apo at debian.org>
Date:   Fri Sep 9 23:52:02 2016 +0200

    Add system-glew.patch and link against the system library of glew.
---
 debian/changelog                 |  2 ++
 debian/patches/series            |  1 +
 debian/patches/system-glew.patch | 21 +++++++++++++++++++++
 3 files changed, 24 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index caa4943..f14602e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ hyperrogue (8.3j+dfsg-1) unstable; urgency=medium
 
   * Team upload.
   * New upstream version 8.3j+dfsg. (Closes: #797024)
+  * New upstream release fixes FTBFS with GCC-6. (Closes: #811991)
   * Drop hyperrogue-dbg package and use the automatic -dbgsym package instead.
   * Declare compliance with Debian Policy 3.9.8.
   * Vcs-fields: Use cgit and https.
@@ -13,6 +14,7 @@ hyperrogue (8.3j+dfsg-1) unstable; urgency=medium
   * Add system-dejavu.patch and replace 10-fontconfig.patch.
   * Drop 01-sdl_wm.patch. Fixed upstream.
   * d/control: Only depend on fonts-dejavu-core for hyperrouge.
+  * Add system-glew.patch and link against the system library of glew.
 
  -- Markus Koschany <apo at debian.org>  Fri, 09 Sep 2016 22:35:56 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
index 9a309fb..12d7922 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 system-dejavu.patch
+system-glew.patch
diff --git a/debian/patches/system-glew.patch b/debian/patches/system-glew.patch
new file mode 100644
index 0000000..c64b979
--- /dev/null
+++ b/debian/patches/system-glew.patch
@@ -0,0 +1,21 @@
+From: Markus Koschany <apo at debian.org>
+Date: Fri, 9 Sep 2016 23:51:51 +0200
+Subject: system glew
+
+---
+ src/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index 6e91eba..b82e63c 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -9,7 +9,7 @@ hyper.o: hyper.cpp graph.cpp hyperpoint.cpp geometry.cpp cell.cpp heptagon.cpp g
+ 	g++ hyper.cpp -c -o hyper.o -DFHS -Wall ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} -O3 -DLINUX
+ 
+ hyper: hyper.o savepng-loc.o
+-	g++ savepng-loc.o hyper.o -o hyper -lSDL -lSDL_ttf -lSDL_mixer -lSDL_gfx ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} -lGL -lpng
++	g++ savepng-loc.o hyper.o -o hyper -lSDL -lSDL_ttf -lSDL_mixer -lSDL_gfx ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} -lGL -lpng -lGlew
+ 
+ langen: langen.cpp language-cz.cpp language-pl.cpp language-tr.cpp language-ru.cpp
+ 	g++ langen.cpp -o langen

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/hyperrogue.git



More information about the Pkg-games-commits mailing list