Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 135331 Details for
Bug 195262
media-libs/glfw-2.6 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for building the shared library (fixed)
glfw-2.6-dyn.patch (text/plain), 1.88 KB, created by
Peter Koeleman
on 2007-11-06 14:47:12 UTC
(
hide
)
Description:
Patch for building the shared library (fixed)
Filename:
MIME Type:
Creator:
Peter Koeleman
Created:
2007-11-06 14:47:12 UTC
Size:
1.88 KB
patch
obsolete
>--- /var/tmp/portage/media-libs/glfw-2.6/work/glfw/compile.sh 2007-07-01 11:46:46.000000000 +0200 >+++ glfw/compile.sh 2007-10-09 15:37:11.000000000 +0200 >@@ -68,7 +68,8 @@ > LDFLAGS= > INCS= > LIBS="-lGL -lX11" >- >+SONAME=libglfw.so.2 >+REALNAME=libglfw.so.2.6 > > ########################################################################## > # Compilation commands >@@ -85,7 +85,7 @@ > case "x`uname 2> /dev/null`" in > xLinux) > CFLAGS="$CFLAGS -Dlinux" >- LDFLAGS="-shared" >+ LDFLAGS="-shared -Wall -lc -Wl,-soname,$SONAME" > echo " Linux" 1>&6 > ;; > xDarwin) >@@ -534,9 +534,9 @@ > # Post fixups > ########################################################################## > if [ "x$use_gcc" = xyes ]; then >- CFLAGS_SPEED="-c -I. -I.. $CFLAGS -O3 -ffast-math -Wall" >- CFLAGS="-c -I. -I.. $CFLAGS -Os -Wall" >- CFLAGS_LINK="$INCS -O3 -ffast-math -Wall" >+ CFLAGS_SPEED="-c -I. -I.. $CFLAGS -O3 -ffast-math -Wall -fPIC" >+ CFLAGS="-c -I. -I.. $CFLAGS -Os -Wall -fPIC" >+ CFLAGS_LINK="$INCS -O3 -ffast-math -Wall -fPIC" > else > CFLAGS_SPEED="-c -I. -I.. $CFLAGS -O" > CFLAGS="-c -I. -I.. $CFLAGS -O" >@@ -564,6 +564,8 @@ > echo "LDFLAGS = $LDFLAGS" >>$MKNAME > echo "LFLAGS = $LFLAGS" >>$MKNAME > echo "LIBS = $LIBS" >>$MKNAME >+echo "SONAME = $SONAME" >>$MKNAME >+echo "REALNAME = $REALNAME" >>$MKNAME > echo " " >>$MKNAME > cat './lib/x11/Makefile.x11.in' >>$MKNAME > >--- /var/tmp/portage/media-libs/glfw-2.6/work/glfw/lib/x11/Makefile.x11.in 2007-07-01 11:46:46.000000000 +0200 >+++ glfw/lib/x11/Makefile.x11.in 2007-10-09 15:22:20.000000000 +0200 >@@ -105,7 +105,7 @@ > # Rule for building shared library > ########################################################################## > libglfw.so: $(SHARED_OBJS) >- $(CC) $(LDFLAGS) -o $@ $(SHARED_OBJS) $(LFLAGS) $(LIBS) >+ $(CC) $(LDFLAGS) -o $(REALNAME) $(SHARED_OBJS) $(LFLAGS) $(LIBS) > > > ##########################################################################
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 195262
:
132991
|
132993
| 135331