mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-10 23:30:03 +02:00
* use https for homepage * depend on libsdl[opengl,sound,video] (doesn't launch without opengl) * depend on zlib * make dependency for music unconditional (generally feel audio/music being a broken-if-missing optfeature is questionable for games, there is an option to disable correctly in-game) * tidy patches and add some bugrefs * fix direct AR call (combined with -flags.patch) Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
28 lines
767 B
Diff
28 lines
767 B
Diff
https://bugs.gentoo.org/206258
|
|
https://bugs.gentoo.org/383207
|
|
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -101,3 +101,3 @@
|
|
CXXFLAGS="$CXXFLAGS -I/usr/X11R6/include"
|
|
- AC_CHECK_LIB(png12, main,, AC_MSG_ERROR(libpng is needed))
|
|
+ AC_CHECK_LIB(png, main,, AC_MSG_ERROR(libpng is needed))
|
|
AC_CHECK_LIB(z, main,, AC_MSG_ERROR(libz is needed))
|
|
--- a/game/main.cpp
|
|
+++ b/game/main.cpp
|
|
@@ -30,2 +30,4 @@
|
|
|
|
+#include <zlib.h>
|
|
+
|
|
void migrateConfig( void)
|
|
--- a/utilssdl/PNG.cpp
|
|
+++ b/utilssdl/PNG.cpp
|
|
@@ -47,3 +47,3 @@
|
|
|
|
- check = fwrite( data, 1, length, (FILE *)(png->io_ptr));
|
|
+ check = fwrite( data, 1, length, (FILE *)(png_get_io_ptr(png)));
|
|
if( check != length)
|
|
@@ -74,3 +74,3 @@
|
|
|
|
- if( setjmp(_png->jmpbuf))
|
|
+ if( setjmp(png_jmpbuf(_png)))
|
|
{
|