From 0cf2f20608308acdf3cb922c3736446bbd8f3388 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 20:58:29 +0100 Subject: gentoo resync : 14.07.2018 --- .../torcs/files/torcs-1.3.6-as-needed.patch | 96 ---------------------- games-sports/torcs/files/torcs-1.3.6-flags.patch | 14 ---- games-sports/torcs/files/torcs-1.3.6-format.patch | 34 -------- games-sports/torcs/files/torcs-1.3.6-gcc6.patch | 11 --- games-sports/torcs/files/torcs-1.3.6-gcc7.patch | 11 --- .../torcs/files/torcs-1.3.6-no-automake.patch | 21 ----- games-sports/torcs/files/torcs-1.3.6-noXmuXt.patch | 15 ---- 7 files changed, 202 deletions(-) delete mode 100644 games-sports/torcs/files/torcs-1.3.6-as-needed.patch delete mode 100644 games-sports/torcs/files/torcs-1.3.6-flags.patch delete mode 100644 games-sports/torcs/files/torcs-1.3.6-format.patch delete mode 100644 games-sports/torcs/files/torcs-1.3.6-gcc6.patch delete mode 100644 games-sports/torcs/files/torcs-1.3.6-gcc7.patch delete mode 100644 games-sports/torcs/files/torcs-1.3.6-no-automake.patch delete mode 100644 games-sports/torcs/files/torcs-1.3.6-noXmuXt.patch (limited to 'games-sports/torcs/files') diff --git a/games-sports/torcs/files/torcs-1.3.6-as-needed.patch b/games-sports/torcs/files/torcs-1.3.6-as-needed.patch deleted file mode 100644 index d848538c07ea..000000000000 --- a/games-sports/torcs/files/torcs-1.3.6-as-needed.patch +++ /dev/null @@ -1,96 +0,0 @@ ---- torcs-1.3.6.orig/Make-default.mk -+++ torcs-1.3.6/Make-default.mk -@@ -402,7 +402,7 @@ - ifdef PROGRAM - - ${PROGRAM}: ${OBJECTS} $(subst -l,${EXPORTBASE}/lib/lib, ${LIBS:=.a}) -- ${CXX} ${OBJECTS} ${LDFLAGS} ${LIBS} ${SOLIBS} ${EXT_LIBS} -o $@ -+ ${CXX} ${LDFLAGS} -o $@ ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS} - - installprogram: ${PROGRAM} - @ createdir="${INSTLIBBASE}" ; \ -@@ -420,14 +420,14 @@ - ifdef LOCALTOOLS - - ${LOCALTOOLS}: ${OBJECTS} $(subst -l,${EXPORTBASE}/lib/lib, ${LIBS:=.a}) -- ${CXX} ${OBJECTS} ${LDFLAGS} ${LIBS} ${EXT_LIBS} ${SOLIBS} -o $@ -+ ${CXX} ${LDFLAGS} -o $@ ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS} - - endif - - ifdef TOOLS - - ${TOOLS}: ${OBJECTS} $(subst -l,${EXPORTBASE}/lib/lib, ${LIBS:=.a}) -- ${CXX} ${OBJECTS} ${LDFLAGS} ${LIBS} ${EXT_LIBS} ${SOLIBS} -o $@ -+ ${CXX} ${LDFLAGS} -o $@ ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS} - - installtools: ${TOOLS} - @createdir="${INSTBINBASE}/${TOOLSDIR}" ; \ -@@ -478,7 +478,7 @@ - ifdef SOLIBRARY - - ${SOLIBRARY}: ${OBJECTS} -- ${CXX} -shared -o ${SOLIBRARY} ${OBJECTS} ${SOLIBS} ${LDFLAGS} ${LIBSPATH} ${LIBS} ${DEBUG_LIBS} -+ ${CXX} ${CXXFLAGS} ${LDFLAGS} -shared -o ${SOLIBRARY} ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS} - @D=`pwd` ; \ - createdir="${EXPORTBASE}/lib" ; \ - $(mkinstalldirs) $$createdir ; \ -@@ -509,7 +509,7 @@ - ifdef MODULE - - ${MODULE}: ${OBJECTS} -- ${CXX} -shared -o ${MODULE} ${OBJECTS} ${LDFLAGS} ${LIBSPATH} ${LIBS} -+ ${CXX} ${CXXFLAGS} ${LDFLAGS} -shared -o ${MODULE} ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS} - @D=`pwd` ; \ - createdir="${EXPORTBASE}/${MODULEDIR}" ; \ - $(mkinstalldirs) $$createdir ; \ ---- torcs-1.3.6.orig/configure.in -+++ torcs-1.3.6/configure.in -@@ -123,11 +123,11 @@ - AC_CHECK_LIB(Xxf86vm, XF86VidModeSetViewPort,,AC_MSG_ERROR([Can't find libXxf86vm. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"])) - AC_CHECK_LIB(Xrender, XRenderSetSubpixelOrder,,AC_MSG_ERROR([Can't find libXrender. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"])) - AC_CHECK_LIB(Xrandr, XRRQueryVersion,,AC_MSG_ERROR([Can't find libXrandr. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"])) --AC_CHECK_LIB(openal, alEnable, LDFLAGS="$LDFLAGS -lopenal", AC_MSG_ERROR([Can't find AL/al.h. OpenAL can be found on http://www.openal.org/])) -+AC_CHECK_LIB(openal, alEnable, LIBS="$LIBS -lopenal", AC_MSG_ERROR([Can't find AL/al.h. OpenAL can be found on http://www.openal.org/])) - AC_CHECK_LIB(alut, alutLoadWAVFile, -- LDFLAGS="$LDFLAGS -lalut", -- LDFLAGS="$LDFLAGS") --AC_CHECK_LIB(vorbisfile, ov_fopen, LDFLAGS="$LDFLAGS -lvorbisfile", AC_MSG_ERROR([Can't find libvorbis.])) -+ LIBS="$LIBS -lalut", ) -+AC_CHECK_LIB(vorbisfile, ov_fopen, LIBS="$LIBS -lvorbisfile", AC_MSG_ERROR([Can't find libvorbis.])) -+ - - AC_CHECK_LIB(dl, dlopen) - AC_CHECK_FUNC(dlopen,,AC_MSG_ERROR([Can't find dlopen function. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"])) ---- torcs-1.3.6.orig/src/libs/Makefile -+++ torcs-1.3.6/src/libs/Makefile -@@ -23,7 +23,7 @@ - - TOOLSUBDIRS = txml - --SUBDIRS = confscreens racescreens robottools txml tgf tgfclient client raceengineclient learning \ -+SUBDIRS = confscreens racescreens robottools txml tgf tgfclient raceengineclient client learning \ - portability math musicplayer - - PKGSUBDIRS = $(SUBDIRS) ---- torcs-1.3.6.orig/src/libs/client/Makefile -+++ torcs-1.3.6/src/libs/client/Makefile -@@ -23,6 +23,8 @@ - SOURCES = entry.cpp mainmenu.cpp splash.cpp exitmenu.cpp \ - optionmenu.cpp - -+SOLIBS = -lconfscreens -lraceengine -+ - LIBS = -lplibssg -lplibsg -lplibul - - EXPDIR = include ---- torcs-1.3.6.orig/src/libs/tgf/Makefile -+++ torcs-1.3.6/src/libs/tgf/Makefile -@@ -29,6 +29,7 @@ - profiler.cpp \ - hash.cpp - -+SOLIBS = -ltxml - - EXPDIR = include - diff --git a/games-sports/torcs/files/torcs-1.3.6-flags.patch b/games-sports/torcs/files/torcs-1.3.6-flags.patch deleted file mode 100644 index 5f11fd270ef1..000000000000 --- a/games-sports/torcs/files/torcs-1.3.6-flags.patch +++ /dev/null @@ -1,14 +0,0 @@ -respect cflags - ---- torcs-1.3.6/configure.in -+++ torcs-1.3.6/configure.in -@@ -50,8 +50,7 @@ - ADDCFLAGS="-Wall -fPIC -fno-strict-aliasing" - AC_ARG_ENABLE(debug, - [ --enable-debug set the debug mode], -- ADDCFLAGS="$ADDCFLAGS -g -DDEBUG -DDEBUG_OUT", -- ADDCFLAGS="$ADDCFLAGS -O2") -+ ADDCFLAGS="$ADDCFLAGS -g -DDEBUG -DDEBUG_OUT") - - AC_ARG_ENABLE(xrandr, - [ --disable-xrandr reset the XRANDR mode], diff --git a/games-sports/torcs/files/torcs-1.3.6-format.patch b/games-sports/torcs/files/torcs-1.3.6-format.patch deleted file mode 100644 index da59c4da4fa0..000000000000 --- a/games-sports/torcs/files/torcs-1.3.6-format.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- a/src/tools/texmapper/maintexmapper.cpp 2015-12-23 20:55:24.874102363 +0100 -+++ b/src/tools/texmapper/maintexmapper.cpp 2015-12-23 20:55:55.071553325 +0100 -@@ -103,7 +103,7 @@ - { - int i, j; - -- printf(title); -+ printf("%s", title); - for (j = 0; j < 4; j ++){ - for (i = 0; i < 4; i ++) { - printf("%.6f ", m[i][j]); ---- a/src/tools/trackgen/objects.cpp 2015-12-23 20:59:49.671287196 +0100 -+++ b/src/tools/trackgen/objects.cpp 2015-12-23 21:02:21.639523189 +0100 -@@ -234,9 +234,9 @@ - - ssgLeaf *vt = (ssgLeaf *)ent; - if (vt->getCullFace() == TRUE) { -- surf = "SURF 0x10\n"; -+ surf = "0x10"; - } else { -- surf = "SURF 0x30\n"; -+ surf = "0x30"; - } - - int num_verts = vt->getNumVertices(); -@@ -304,7 +304,7 @@ - fprintf (save_fd, "numsurf %d\n", num_tris); - - for (i = 0; i < num_tris; i++) { -- fprintf (save_fd, surf); -+ fprintf (save_fd, "SURF %s\n", surf); - fprintf (save_fd, "mat 0\n"); - fprintf (save_fd, "refs 3\n"); - fprintf (save_fd, "%d %g %g\n", diff --git a/games-sports/torcs/files/torcs-1.3.6-gcc6.patch b/games-sports/torcs/files/torcs-1.3.6-gcc6.patch deleted file mode 100644 index 6daf22a81b11..000000000000 --- a/games-sports/torcs/files/torcs-1.3.6-gcc6.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/drivers/olethros/geometry.cpp -+++ b/src/drivers/olethros/geometry.cpp -@@ -27,6 +27,8 @@ - #ifdef WIN32 - #include - #define isnan _isnan -+#elif __cplusplus >= 201103L -+using std::isnan; - #endif - - diff --git a/games-sports/torcs/files/torcs-1.3.6-gcc7.patch b/games-sports/torcs/files/torcs-1.3.6-gcc7.patch deleted file mode 100644 index af139ad509de..000000000000 --- a/games-sports/torcs/files/torcs-1.3.6-gcc7.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/libs/musicplayer/OpenALMusicPlayer.cpp -+++ b/src/libs/musicplayer/OpenALMusicPlayer.cpp -@@ -161,7 +161,7 @@ - { - char pcm[BUFFERSIZE]; - int size = 0; -- const char* error = '\0'; -+ const char* error = ""; - - if (!stream->read(pcm, BUFFERSIZE, &size, &error)) { - GfError("OpenALMusicPlayer: Stream read error: %s\n", error); diff --git a/games-sports/torcs/files/torcs-1.3.6-no-automake.patch b/games-sports/torcs/files/torcs-1.3.6-no-automake.patch deleted file mode 100644 index 9b47bfb9a64c..000000000000 --- a/games-sports/torcs/files/torcs-1.3.6-no-automake.patch +++ /dev/null @@ -1,21 +0,0 @@ -torcs doesn't use automake, so it shouldn't be calling the macro - -http://bugs.gentoo.org/408473 - ---- torcs-1.3.6.orig/configure.in -+++ torcs-1.3.6/configure.in -@@ -15,9 +15,12 @@ - # - ############################################################################## - --AC_INIT(Make-config.in) -+AC_INIT(torcs, 1.3.6) - AC_CONFIG_HEADERS(config.h) --AM_INIT_AUTOMAKE(torcs, 1.3.6) -+dnl Workaround code using old VERSION instead of new PACKAGE_VERSION -+VERSION=$PACKAGE_VERSION -+AC_DEFINE_UNQUOTED([VERSION], "$VERSION", [old VERSION workaround]) -+AC_SUBST(VERSION) - - dnl Checks for programs. - AC_PROG_CC diff --git a/games-sports/torcs/files/torcs-1.3.6-noXmuXt.patch b/games-sports/torcs/files/torcs-1.3.6-noXmuXt.patch deleted file mode 100644 index f87fb750d199..000000000000 --- a/games-sports/torcs/files/torcs-1.3.6-noXmuXt.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/configure.in -+++ b/configure.in -@@ -116,12 +116,8 @@ - AC_CHECK_LIB(ICE, IceSetIOErrorHandler,,AC_MSG_ERROR([Can't find libICE. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"])) - dnl Replace `main' with a function in -lSM: - AC_CHECK_LIB(SM, SmsSetErrorHandler,,AC_MSG_ERROR([Can't find libSM. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"])) --dnl Replace `main' with a function in -lXt: --AC_CHECK_LIB(Xt, XtDisplay,,AC_MSG_ERROR([Can't find libXt. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"])) - dnl Replace `main' with a function in -lXi: - AC_CHECK_LIB(Xi, XOpenDevice,,AC_MSG_ERROR([Can't find libXi. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"])) --dnl Replace `main' with a function in -lXmu: --AC_CHECK_LIB(Xmu, XmuSimpleErrorHandler,,AC_MSG_ERROR([Can't find libXmu. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"])) - AC_CHECK_LIB(Xxf86vm, XF86VidModeSetViewPort,,AC_MSG_ERROR([Can't find libXxf86vm. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"])) - AC_CHECK_LIB(Xrender, XRenderSetSubpixelOrder,,AC_MSG_ERROR([Can't find libXrender. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"])) - AC_CHECK_LIB(Xrandr, XRRQueryVersion,,AC_MSG_ERROR([Can't find libXrandr. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"])) -- cgit v1.2.3