[mupen64plus] 43/262: Add 104-as-needed.patch, allow --as-needed to reduce libraries
Sven Eckelmann
ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:59:14 UTC 2015
This is an automated email from the git hooks/post-receive script.
ecsv-guest pushed a commit to branch master
in repository mupen64plus.
commit 01c529397e71402089b7b035ebcc8783e0f78398
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
Date: Tue Jun 2 17:39:38 2009 +0200
Add 104-as-needed.patch, allow --as-needed to reduce libraries
---
debian/changelog | 2 ++
debian/patches/104-as-needed.patch | 41 ++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 44 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 4db06e1..a7283d6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -33,6 +33,8 @@ mupen64plus (1.5-3) UNRELEASED; urgency=low
- Add 101-destdir.patch, fix usage of DESTDIR in install target
- Add 102-plugin-searchpath.patch, add search path for plugins
- Add 103-dejavu-font.patch, use font from ttf-dejavu-core package
+ - Add 104-as-needed.patch, allow --as-needed to reduce number of linked
+ libraries
* Convert debian/copyright to new dep5 version
-- Félix Arreola Rodríguez <fgatuno.123 at gmail.com> Mon, 01 Jun 2009 14:42:41 +0200
diff --git a/debian/patches/104-as-needed.patch b/debian/patches/104-as-needed.patch
new file mode 100644
index 0000000..112af75
--- /dev/null
+++ b/debian/patches/104-as-needed.patch
@@ -0,0 +1,41 @@
+From 4a9c85a9b2077db76ab9fe7ce2946fc3da9ce467 Mon Sep 17 00:00:00 2001
+From: Sven Eckelmann <sven.eckelmann at gmx.de>
+Date: Tue, 2 Jun 2009 17:37:41 +0200
+Subject: [PATCH] Allow compilation using -Wl,--as-needed
+
+
+Signed-off-by: Sven Eckelmann <sven.eckelmann at gmx.de>
+---
+ blight_input/Makefile | 2 +-
+ glN64/Makefile | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/blight_input/Makefile b/blight_input/Makefile
+index 1948b0e..139cc25 100644
+--- a/blight_input/Makefile
++++ b/blight_input/Makefile
+@@ -48,7 +48,7 @@ clean:
+ $(CC) -o $@ $(CFLAGS) $(SDL_FLAGS) $(FREETYPE_FLAGS) -c $<
+
+ blight_input.$(SO_EXTENSION): $(OBJ_BLIGHT)
+- $(CC) -o $@ -shared $(LDFLAGS) $(PLUGIN_LDFLAGS) $(SDL_LIBS) $(SDLTTF_LIBS) $(FREETYPE_LIBS) $^
++ $(CC) -o $@ -shared $(LDFLAGS) $(PLUGIN_LDFLAGS) $^ $(SDL_LIBS) $(SDLTTF_LIBS) $(FREETYPE_LIBS)
+ ifneq ($(OS), WINDOWS)
+ $(STRIP) $@
+ endif
+diff --git a/glN64/Makefile b/glN64/Makefile
+index 130bc2d..adc6a2d 100644
+--- a/glN64/Makefile
++++ b/glN64/Makefile
+@@ -96,7 +96,7 @@ ui_gln64config.h: gln64config.ui
+ $(UIC) $< -o $@
+
+ glN64.$(SO_EXTENSION): $(OBJECTS)
+- $(CXX) $^ $(LDFLAGS) $(ASM_LDFLAGS) $(PLUGIN_LDFLAGS) $(SDL_LIBS) $(LIBGL_LIBS) -shared -o $@
++ $(CXX) $^ $(LDFLAGS) $(CORE_LDFLAGS) $(ASM_LDFLAGS) $(PLUGIN_LDFLAGS) $(SDL_LIBS) $(LIBGL_LIBS) -shared -o $@
+ $(STRIP) $@
+
+ glN64.o: glN64.cpp
+--
+1.6.3.1
+
diff --git a/debian/patches/series b/debian/patches/series
index 5eaef4b..58684cc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
101-destdir.patch
102-plugin-searchpath.patch
103-dejavu-font.patch
+104-as-needed.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus.git
More information about the Pkg-games-commits
mailing list