[SCM] C Bindings for the SFML Library branch, master, updated. upstream/1.2-19-g246cf54

Christoph Egger Christoph.Egger at gmx.de
Wed Jun 25 14:39:36 UTC 2008


The following commit has been merged in the master branch:
commit 246cf540361cae9b5d36c6bd70d5f91d58edc47b
Author: Christoph Egger <Christoph.Egger at gmx.de>
Date:   Wed Jun 25 16:38:31 2008 +0200

     * Fixing remaining library problems

diff --git a/debian/patches/link_as_needed.patch b/debian/patches/link_as_needed.patch
new file mode 100644
index 0000000..c503a68
--- /dev/null
+++ b/debian/patches/link_as_needed.patch
@@ -0,0 +1,39 @@
+Index: libcsfml/CSFML/src/SFML/Graphics/Makefile
+===================================================================
+--- libcsfml.orig/CSFML/src/SFML/Graphics/Makefile	2008-06-25 16:30:28.000000000 +0200
++++ libcsfml/CSFML/src/SFML/Graphics/Makefile	2008-06-25 16:30:28.000000000 +0200
+@@ -5,7 +5,7 @@
+ all: $(LIB)
+ 
+ libcsfml-graphics.so: $(OBJ)
+-	$(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBPATH)/$@.$(VERSION) $(OBJ) -lsfml-graphics -lsfml-window -lsfml-system
++	$(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBPATH)/$@.$(VERSION) $(OBJ) -lsfml-graphics -lsfml-window
+ 
+ $(OBJ): %.o: %.cpp
+ 	$(CPP) -o $@ -c $< $(CFLAGS)
+Index: libcsfml/CSFML/src/SFML/Window/Makefile
+===================================================================
+--- libcsfml.orig/CSFML/src/SFML/Window/Makefile	2008-06-25 16:30:28.000000000 +0200
++++ libcsfml/CSFML/src/SFML/Window/Makefile	2008-06-25 16:30:28.000000000 +0200
+@@ -5,7 +5,7 @@
+ all: $(LIB)
+ 
+ libcsfml-window.so: $(OBJ)
+-	$(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBPATH)/$@.$(VERSION) $(OBJ) -lsfml-window -lsfml-system
++	$(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBPATH)/$@.$(VERSION) $(OBJ) -lsfml-window
+ 
+ $(OBJ): %.o: %.cpp
+ 	$(CPP) -o $@ -c $< $(CFLAGS)
+Index: libcsfml/CSFML/src/SFML/System/Makefile
+===================================================================
+--- libcsfml.orig/CSFML/src/SFML/System/Makefile	2008-06-25 16:32:27.000000000 +0200
++++ libcsfml/CSFML/src/SFML/System/Makefile	2008-06-25 16:32:47.000000000 +0200
+@@ -5,7 +5,7 @@
+ all: $(LIB)
+ 
+ libcsfml-system.so: $(OBJ)
+-	$(CC) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBPATH)/$@.$(VERSION) $(OBJ) -lsfml-system
++	$(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBPATH)/$@.$(VERSION) $(OBJ) -lsfml-system
+ 
+ $(OBJ): %.o: %.cpp
+ 	$(CPP) -o $@ -c $< $(CFLAGS)
diff --git a/debian/patches/series b/debian/patches/series
index 5350910..7e2e5cc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 add_destdir_to_makefiles.patch
 cstring_ftbfs.patch
 fix_soname.patch
+link_as_needed.patch

-- 
C Bindings for the SFML Library



More information about the Pkg-games-commits mailing list