[clanlib] 16/40: 305_gcc43.diff - New patch to build with gcc-4.3.

Stephen Kitt skitt at moszumanska.debian.org
Fri Jun 10 20:13:38 UTC 2016


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

skitt pushed a commit to branch master
in repository clanlib.

commit 2e3ff4086c3891a76e3331a125c3cde0db2195af
Author: Barry deFreese <bddebian at comcast.net>
Date:   Wed Mar 19 18:27:30 2008 +0000

    305_gcc43.diff - New patch to build with gcc-4.3.
---
 debian/changelog              |  4 ++--
 debian/control                |  4 ++--
 debian/patches/305_gcc43.diff | 19 +++++++++++++++++++
 debian/patches/series         |  1 +
 4 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 552fbf1..71f3485 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ clanlib (0.8.1-1) unstable; urgency=low
   [ Sam Hocevar ]
   * New upstream release (Closes: #188449, #299524, #383972).
     + Clanlib no longer ships lua. (Closes: #467577, #467578).
+      + Removed all lua build-deps and deps.
   * Set maintainer to the Games team (Closes: #414533).
   * Use quilt for patch management.
   * debian/control:
@@ -31,8 +32,7 @@ clanlib (0.8.1-1) unstable; urgency=low
   * Remove root / from .install files.
   * Add build-dependencies: libxmu-dev, libxi-dev, xsltproc, libsdl1.2-dev, 
     + libsdl-gfx1.2-dev, libasound2-dev.
-  * Add build-dep for libsdl1.2-dev and libsdl-gfx1.2-dev.
-  * Add build-dep for xsltproc.
+  * 305_gcc43.diff - Build with gcc-4.3. (Closes: #454818).
   * Bump Standards Version to 3.7.3. (No changes needed).
   * Add myself to uploaders.
 
diff --git a/debian/control b/debian/control
index 8f894fa..b0f4dd3 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: libs
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Sam Hocevar (Debian packages) <sam+deb at zoy.org>, Barry deFreese <bddebian at comcast.net>
-Build-Depends: debhelper (>= 5.0), quilt, autoconf, automake1.9, bzip2, hermes1-dev, libesd0-dev, libfreetype6-dev, libglu1-xorg-dev | libgl-dev, libjpeg62-dev, liblualib40-dev, libtolua-dev, libmikmod2-dev, libpng12-dev, libvorbis-dev (>= 1.0.0-3), libxt-dev, libxxf86vm-dev, pkg-config, zlib1g-dev, libxmu-dev, libxi-dev, libsdl1.2-dev, libsdl-gfx1.2-dev, xsltproc, libasound2-dev [!kfreebsd-amd64 !kfreebsd-i386 !hurd-i386]
+Build-Depends: debhelper (>= 5.0), quilt, autoconf, automake1.9, bzip2, hermes1-dev, libesd0-dev, libfreetype6-dev, libglu1-xorg-dev | libgl-dev, libjpeg62-dev, libmikmod2-dev, libpng12-dev, libvorbis-dev (>= 1.0.0-3), libxt-dev, libxxf86vm-dev, pkg-config, zlib1g-dev, libxmu-dev, libxi-dev, libsdl1.2-dev, libsdl-gfx1.2-dev, xsltproc, libasound2-dev [!kfreebsd-amd64 !kfreebsd-i386 !hurd-i386]
 Build-Conflicts: libutahglx-dev
 Standards-Version: 3.7.3
 Homepage: http://www.clanlib.org/
@@ -55,7 +55,7 @@ Package: libclanlib-dev
 Section: libdevel
 Architecture: any
 Depends: libclanapp-0.8-1, libclansdl-0.8-1
-Recommends: hermes1-dev, libfreetype6-dev, libglu1-xorg-dev | xlibmesa-dev | libgl-dev, libjpeg62-dev, liblua40-dev, liblualib40-dev, libmikmod2-dev, libpng12-0-dev, libvorbis-dev, tolua-dev
+Recommends: hermes1-dev, libfreetype6-dev, libglu1-xorg-dev | xlibmesa-dev | libgl-dev, libjpeg62-dev, libmikmod2-dev, libpng12-0-dev, libvorbis-dev
 Conflicts: clanlib0-common, libutahglx-dev, clanlib2 (<< 0.6.1-1-3), clanlib-dev
 Provides: clanlib-dev
 Replaces: clanlib-dev
diff --git a/debian/patches/305_gcc43.diff b/debian/patches/305_gcc43.diff
new file mode 100644
index 0000000..ed018b5
--- /dev/null
+++ b/debian/patches/305_gcc43.diff
@@ -0,0 +1,19 @@
+diff -urN ClanLib-0.8.1.orig/Sources/GL/opengl.cpp ClanLib-0.8.1/Sources/GL/opengl.cpp
+--- ClanLib-0.8.1.orig/Sources/GL/opengl.cpp	2006-10-26 21:55:01.000000000 -0400
++++ ClanLib-0.8.1/Sources/GL/opengl.cpp	2008-03-19 14:25:18.000000000 -0400
+@@ -51,6 +51,8 @@
+ #endif
+ #endif
+ 
++#include <cstring>
++
+ std::vector<std::string> CL_OpenGL::m_ignored_gl_extension;
+ 
+ CL_ProcAddress *CL_OpenGL::get_proc_address(const std::string& function_name)
+@@ -414,4 +416,4 @@
+ #endif
+ 	
+ 	m_ignored_gl_extension.push_back(extension_name);
+-}
+\ No newline at end of file
++}
diff --git a/debian/patches/series b/debian/patches/series
index 26b77dd..3941ac0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 010_full_linking.diff
 200_kfreebsd.diff
 300_rebootstrap.diff
+305_gcc43.diff

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



More information about the Pkg-games-commits mailing list