Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-sports/torcs/files: torcs-1.3.6-flags.patch torcs-1.3.6-as-needed.patch torcs-1.3.6-noXmuXt.patch torcs-1.3.4-noXmuXt.patch torcs-1.3.6-no-automake.patch
Date: Tue, 02 Sep 2014 00:54:03
Message-Id: 20140902005359.6124E47A4@oystercatcher.gentoo.org
1 mr_bones_ 14/09/02 00:53:59
2
3 Modified: torcs-1.3.4-noXmuXt.patch
4 Added: torcs-1.3.6-flags.patch torcs-1.3.6-as-needed.patch
5 torcs-1.3.6-noXmuXt.patch
6 torcs-1.3.6-no-automake.patch
7 Log:
8 version bump
9
10 (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
11
12 Revision Changes Path
13 1.2 games-sports/torcs/files/torcs-1.3.4-noXmuXt.patch
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/torcs/files/torcs-1.3.4-noXmuXt.patch?rev=1.2&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/torcs/files/torcs-1.3.4-noXmuXt.patch?rev=1.2&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/torcs/files/torcs-1.3.4-noXmuXt.patch?r1=1.1&r2=1.2
18
19 Index: torcs-1.3.4-noXmuXt.patch
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/games-sports/torcs/files/torcs-1.3.4-noXmuXt.patch,v
22 retrieving revision 1.1
23 retrieving revision 1.2
24 diff -u -r1.1 -r1.2
25 --- torcs-1.3.4-noXmuXt.patch 19 Jul 2014 13:55:10 -0000 1.1
26 +++ torcs-1.3.4-noXmuXt.patch 2 Sep 2014 00:53:59 -0000 1.2
27 @@ -1,5 +1,5 @@
28 ---- configure.in.old 2014-07-19 15:43:50.480681694 +0200
29 -+++ configure.in 2014-07-19 15:44:12.487294592 +0200
30 +--- configure.in.old
31 ++++ configure.in
32 @@ -116,12 +116,8 @@
33 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@×××××××××××××××××.net with the subject \"torcs compilation problem\"]))
34 dnl Replace `main' with a function in -lSM:
35
36
37
38 1.1 games-sports/torcs/files/torcs-1.3.6-flags.patch
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/torcs/files/torcs-1.3.6-flags.patch?rev=1.1&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/torcs/files/torcs-1.3.6-flags.patch?rev=1.1&content-type=text/plain
42
43 Index: torcs-1.3.6-flags.patch
44 ===================================================================
45 respect cflags
46
47 --- torcs-1.3.6/configure.in
48 +++ torcs-1.3.6/configure.in
49 @@ -50,8 +50,7 @@
50 ADDCFLAGS="-Wall -fPIC -fno-strict-aliasing"
51 AC_ARG_ENABLE(debug,
52 [ --enable-debug set the debug mode],
53 - ADDCFLAGS="$ADDCFLAGS -g -DDEBUG -DDEBUG_OUT",
54 - ADDCFLAGS="$ADDCFLAGS -O2")
55 + ADDCFLAGS="$ADDCFLAGS -g -DDEBUG -DDEBUG_OUT")
56
57 AC_ARG_ENABLE(xrandr,
58 [ --disable-xrandr reset the XRANDR mode],
59
60
61
62 1.1 games-sports/torcs/files/torcs-1.3.6-as-needed.patch
63
64 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/torcs/files/torcs-1.3.6-as-needed.patch?rev=1.1&view=markup
65 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/torcs/files/torcs-1.3.6-as-needed.patch?rev=1.1&content-type=text/plain
66
67 Index: torcs-1.3.6-as-needed.patch
68 ===================================================================
69 --- torcs-1.3.6.orig/Make-default.mk
70 +++ torcs-1.3.6/Make-default.mk
71 @@ -402,7 +402,7 @@
72 ifdef PROGRAM
73
74 ${PROGRAM}: ${OBJECTS} $(subst -l,${EXPORTBASE}/lib/lib, ${LIBS:=.a})
75 - ${CXX} ${OBJECTS} ${LDFLAGS} ${LIBS} ${SOLIBS} ${EXT_LIBS} -o $@
76 + ${CXX} ${LDFLAGS} -o $@ ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS}
77
78 installprogram: ${PROGRAM}
79 @ createdir="${INSTLIBBASE}" ; \
80 @@ -420,14 +420,14 @@
81 ifdef LOCALTOOLS
82
83 ${LOCALTOOLS}: ${OBJECTS} $(subst -l,${EXPORTBASE}/lib/lib, ${LIBS:=.a})
84 - ${CXX} ${OBJECTS} ${LDFLAGS} ${LIBS} ${EXT_LIBS} ${SOLIBS} -o $@
85 + ${CXX} ${LDFLAGS} -o $@ ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS}
86
87 endif
88
89 ifdef TOOLS
90
91 ${TOOLS}: ${OBJECTS} $(subst -l,${EXPORTBASE}/lib/lib, ${LIBS:=.a})
92 - ${CXX} ${OBJECTS} ${LDFLAGS} ${LIBS} ${EXT_LIBS} ${SOLIBS} -o $@
93 + ${CXX} ${LDFLAGS} -o $@ ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS}
94
95 installtools: ${TOOLS}
96 @createdir="${INSTBINBASE}/${TOOLSDIR}" ; \
97 @@ -478,7 +478,7 @@
98 ifdef SOLIBRARY
99
100 ${SOLIBRARY}: ${OBJECTS}
101 - ${CXX} -shared -o ${SOLIBRARY} ${OBJECTS} ${SOLIBS} ${LDFLAGS} ${LIBSPATH} ${LIBS} ${DEBUG_LIBS}
102 + ${CXX} ${CXXFLAGS} ${LDFLAGS} -shared -o ${SOLIBRARY} ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS}
103 @D=`pwd` ; \
104 createdir="${EXPORTBASE}/lib" ; \
105 $(mkinstalldirs) $$createdir ; \
106 @@ -509,7 +509,7 @@
107 ifdef MODULE
108
109 ${MODULE}: ${OBJECTS}
110 - ${CXX} -shared -o ${MODULE} ${OBJECTS} ${LDFLAGS} ${LIBSPATH} ${LIBS}
111 + ${CXX} ${CXXFLAGS} ${LDFLAGS} -shared -o ${MODULE} ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS}
112 @D=`pwd` ; \
113 createdir="${EXPORTBASE}/${MODULEDIR}" ; \
114 $(mkinstalldirs) $$createdir ; \
115 --- torcs-1.3.6.orig/configure.in
116 +++ torcs-1.3.6/configure.in
117 @@ -123,11 +123,11 @@
118 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@×××××××××××××××××.net with the subject \"torcs compilation problem\"]))
119 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@×××××××××××××××××.net with the subject \"torcs compilation problem\"]))
120 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@×××××××××××××××××.net with the subject \"torcs compilation problem\"]))
121 -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/]))
122 +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/]))
123 AC_CHECK_LIB(alut, alutLoadWAVFile,
124 - LDFLAGS="$LDFLAGS -lalut",
125 - LDFLAGS="$LDFLAGS")
126 -AC_CHECK_LIB(vorbisfile, ov_fopen, LDFLAGS="$LDFLAGS -lvorbisfile", AC_MSG_ERROR([Can't find libvorbis.]))
127 + LIBS="$LIBS -lalut", )
128 +AC_CHECK_LIB(vorbisfile, ov_fopen, LIBS="$LIBS -lvorbisfile", AC_MSG_ERROR([Can't find libvorbis.]))
129 +
130
131 AC_CHECK_LIB(dl, dlopen)
132 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@×××××××××××××××××.net with the subject \"torcs compilation problem\"]))
133 --- torcs-1.3.6.orig/src/libs/Makefile
134 +++ torcs-1.3.6/src/libs/Makefile
135 @@ -23,7 +23,7 @@
136
137 TOOLSUBDIRS = txml
138
139 -SUBDIRS = confscreens racescreens robottools txml tgf tgfclient client raceengineclient learning \
140 +SUBDIRS = confscreens racescreens robottools txml tgf tgfclient raceengineclient client learning \
141 portability math musicplayer
142
143 PKGSUBDIRS = $(SUBDIRS)
144 --- torcs-1.3.6.orig/src/libs/client/Makefile
145 +++ torcs-1.3.6/src/libs/client/Makefile
146 @@ -23,6 +23,8 @@
147 SOURCES = entry.cpp mainmenu.cpp splash.cpp exitmenu.cpp \
148 optionmenu.cpp
149
150 +SOLIBS = -lconfscreens -lraceengine
151 +
152 LIBS = -lplibssg -lplibsg -lplibul
153
154 EXPDIR = include
155 --- torcs-1.3.6.orig/src/libs/tgf/Makefile
156 +++ torcs-1.3.6/src/libs/tgf/Makefile
157 @@ -29,6 +29,7 @@
158 profiler.cpp \
159 hash.cpp
160
161 +SOLIBS = -ltxml
162
163 EXPDIR = include
164
165
166
167
168 1.1 games-sports/torcs/files/torcs-1.3.6-noXmuXt.patch
169
170 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/torcs/files/torcs-1.3.6-noXmuXt.patch?rev=1.1&view=markup
171 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/torcs/files/torcs-1.3.6-noXmuXt.patch?rev=1.1&content-type=text/plain
172
173 Index: torcs-1.3.6-noXmuXt.patch
174 ===================================================================
175 --- configure.in.old
176 +++ configure.in
177 @@ -116,12 +116,8 @@
178 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@×××××××××××××××××.net with the subject \"torcs compilation problem\"]))
179 dnl Replace `main' with a function in -lSM:
180 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@×××××××××××××××××.net with the subject \"torcs compilation problem\"]))
181 -dnl Replace `main' with a function in -lXt:
182 -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@×××××××××××××××××.net with the subject \"torcs compilation problem\"]))
183 dnl Replace `main' with a function in -lXi:
184 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@×××××××××××××××××.net with the subject \"torcs compilation problem\"]))
185 -dnl Replace `main' with a function in -lXmu:
186 -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@×××××××××××××××××.net with the subject \"torcs compilation problem\"]))
187 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@×××××××××××××××××.net with the subject \"torcs compilation problem\"]))
188 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@×××××××××××××××××.net with the subject \"torcs compilation problem\"]))
189 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@×××××××××××××××××.net with the subject \"torcs compilation problem\"]))
190
191
192
193 1.1 games-sports/torcs/files/torcs-1.3.6-no-automake.patch
194
195 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/torcs/files/torcs-1.3.6-no-automake.patch?rev=1.1&view=markup
196 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/torcs/files/torcs-1.3.6-no-automake.patch?rev=1.1&content-type=text/plain
197
198 Index: torcs-1.3.6-no-automake.patch
199 ===================================================================
200 torcs doesn't use automake, so it shouldn't be calling the macro
201
202 http://bugs.gentoo.org/408473
203
204 --- torcs-1.3.6.orig/configure.in
205 +++ torcs-1.3.6/configure.in
206 @@ -15,9 +15,12 @@
207 #
208 ##############################################################################
209
210 -AC_INIT(Make-config.in)
211 +AC_INIT(torcs, 1.3.6)
212 AC_CONFIG_HEADERS(config.h)
213 -AM_INIT_AUTOMAKE(torcs, 1.3.6)
214 +dnl Workaround code using old VERSION instead of new PACKAGE_VERSION
215 +VERSION=$PACKAGE_VERSION
216 +AC_DEFINE_UNQUOTED([VERSION], "$VERSION", [old VERSION workaround])
217 +AC_SUBST(VERSION)
218
219 dnl Checks for programs.
220 AC_PROG_CC