Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 164657 Details for
Bug 232592
games-sports/torcs-1.3.0 fails to compile with --as-needed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
torcs-1.3.0-as-needed.patch
torcs-1.3.0-as-needed.patch (text/plain), 3.40 KB, created by
Dannee McGuire
on 2008-09-05 20:23:24 UTC
(
hide
)
Description:
torcs-1.3.0-as-needed.patch
Filename:
MIME Type:
Creator:
Dannee McGuire
Created:
2008-09-05 20:23:24 UTC
Size:
3.40 KB
patch
obsolete
>--- configure.in >+++ configure.in >@@ -118,8 +118,7 @@ > 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,, 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") >+ LIBS="$LIBS -lalut", ) > > 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\"])) >--- Make-default.mk >+++ 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} ${CXXFLAGS} ${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} ${CXXFLAGS} ${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} ${CXXFLAGS} ${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} ${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 ; \ >--- src/libs/client/Makefile >+++ 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 >--- src/libs/Makefile >+++ 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 > > PKGSUBDIRS = $(SUBDIRS) >--- src/libs/raceengineclient/Makefile >+++ src/libs/raceengineclient/Makefile >@@ -23,6 +23,8 @@ > SOURCES = singleplayer.cpp raceinit.cpp racemain.cpp racemanmenu.cpp racestate.cpp racegl.cpp \ > raceengine.cpp raceresults.cpp > >+SOLIBS = -lconfscreens -lrobottools -lracescreens >+ > EXPDIR = include > > EXPORTS = singleplayer.h raceinit.h >--- src/libs/tgf/Makefile >+++ src/libs/tgf/Makefile >@@ -29,6 +29,7 @@ > profiler.cpp \ > hash.cpp > >+SOLIBS = -ltxml > > EXPDIR = include >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 232592
: 164657 |
164658