[SCM] Packaging for Red Eclipse branch, master-svn, updated. debian/1.2-2-36-g545b2de

Martin Erik Werner martinerikwerner at gmail.com
Tue Aug 7 10:19:45 UTC 2012


The following commit has been merged in the master-svn branch:
commit c24b360e135c5d570138cf91f829d5a0adad9ff4
Author: Martin Erik Werner <martinerikwerner at gmail.com>
Date:   Wed Aug 1 16:16:42 2012 +0200

    remove ldflags patch (upstreamed) and refresh enet patch

diff --git a/debian/patches/build-with-ldflags.patch b/debian/patches/build-with-ldflags.patch
deleted file mode 100644
index eb2b280..0000000
--- a/debian/patches/build-with-ldflags.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Description: Build with LDFLAGS
- Append $(LDFLAGS) to client server and cube2font targets.
-Author: Martin Erik Werner <martinerikwerner at gmail.com>
-
-Forwarded: no
-Last-Update: 2012-06-07
-
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -170,13 +170,13 @@
- endif
- else
- client: $(CLIENT_OBJS)
--	$(CXX) $(CXXFLAGS) -o $(APPCLIENT) $(CLIENT_OBJS) $(CLIENT_LIBS)
-+	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(APPCLIENT) $(CLIENT_OBJS) $(CLIENT_LIBS)
- ifneq (,$(STRIP))
- 	$(STRIP) $(APPCLIENT)
- endif
- 
- server: $(SERVER_OBJS)
--	$(CXX) $(CXXFLAGS) -o $(APPSERVER) $(SERVER_OBJS) $(SERVER_LIBS)
-+	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(APPSERVER) $(SERVER_OBJS) $(SERVER_LIBS)
- ifneq (,$(STRIP))
- 	$(STRIP) $(APPSERVER)
- endif
-@@ -193,7 +193,7 @@
- 	$(CXX) $(CXXFLAGS) -c -o $@ $< `freetype-config --cflags`
- 
- cube2font: shared/cube2font.o
--	$(CXX) $(CXXFLAGS) -o cube2font shared/cube2font.o `freetype-config --libs` -lz
-+	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o cube2font shared/cube2font.o `freetype-config --libs` -lz
- 
- install-cube2font: cube2font
- 	install -d ../bin
diff --git a/debian/patches/build-with-system-enet.patch b/debian/patches/build-with-system-enet.patch
index d9bf240..0231f2a 100644
--- a/debian/patches/build-with-system-enet.patch
+++ b/debian/patches/build-with-system-enet.patch
@@ -39,13 +39,13 @@ Author: Adrián Chaves Fernández (Gallaecio) <adriyetichaves at gmail.com>
  else
 -client: libenet $(CLIENT_OBJS)
 +client: $(CLIENT_OBJS)
- 	$(CXX) $(CXXFLAGS) -o $(APPCLIENT) $(CLIENT_OBJS) $(CLIENT_LIBS)
+ 	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(APPCLIENT) $(CLIENT_OBJS) $(CLIENT_LIBS)
  ifneq (,$(STRIP))
  	$(STRIP) $(APPCLIENT)
  endif
  
 -server: libenet $(SERVER_OBJS)
 +server: $(SERVER_OBJS)
- 	$(CXX) $(CXXFLAGS) -o $(APPSERVER) $(SERVER_OBJS) $(SERVER_LIBS)
+ 	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(APPSERVER) $(SERVER_OBJS) $(SERVER_LIBS)
  ifneq (,$(STRIP))
  	$(STRIP) $(APPSERVER)
diff --git a/debian/patches/series b/debian/patches/series
index 90ab62a..f525da9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,2 @@
 windowed-by-default.patch
 build-with-system-enet.patch
-build-with-ldflags.patch

-- 
Packaging for Red Eclipse



More information about the Pkg-games-commits mailing list