summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-02-02 23:59:14 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-02-02 23:59:14 +0000
commit347bfca8d0f9ef09979451f38baf4de7d9c98c90 (patch)
treea3c3da65e1c8bd245da9e0ac5e5e7e5e41f5d318 /media-libs/allegro/files
parentMarked ~hppa (bug #164775). (diff)
downloadgentoo-2-347bfca8d0f9ef09979451f38baf4de7d9c98c90.tar.gz
gentoo-2-347bfca8d0f9ef09979451f38baf4de7d9c98c90.tar.bz2
gentoo-2-347bfca8d0f9ef09979451f38baf4de7d9c98c90.zip
strip ldflags from allegro-config --libs
(Portage version: 2.1.2-r6)
Diffstat (limited to 'media-libs/allegro/files')
-rw-r--r--media-libs/allegro/files/allegro-4.1.18-gcc4.patch35
-rw-r--r--media-libs/allegro/files/allegro-4.1.18-m4.patch11
-rw-r--r--media-libs/allegro/files/allegro-4.2.1-flags.patch52
-rw-r--r--media-libs/allegro/files/digest-allegro-4.0.33
-rw-r--r--media-libs/allegro/files/digest-allegro-4.1.183
5 files changed, 35 insertions, 69 deletions
diff --git a/media-libs/allegro/files/allegro-4.1.18-gcc4.patch b/media-libs/allegro/files/allegro-4.1.18-gcc4.patch
deleted file mode 100644
index 28f65563cb3d..000000000000
--- a/media-libs/allegro/files/allegro-4.1.18-gcc4.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Clean up code to work with gcc4
-
-patch by Mark Loeser
-
---- allegro-4.1.18/src/gui.c
-+++ allegro-4.1.18/src/gui.c
-@@ -1798,6 +1798,7 @@
-
-
-
-+static int shutdown_single_menu(MENU_PLAYER *, int *);
- /* update_menu:
- * Updates the status of a menu player object returned by init_menu(),
- * returning TRUE if it is still active or FALSE if it has finished.
-@@ -1810,8 +1810,6 @@
- */
- int update_menu(MENU_PLAYER *player)
- {
-- static int shutdown_single_menu(MENU_PLAYER *, int *);
--
- MENU_PLAYER *i;
- int c, c2;
- int old_sel, child_ret;
---- allegro-4.1.18/src/sound.c
-+++ allegro-4.1.18/src/sound.c
-@@ -25,7 +25,7 @@
-
-
-
--extern DIGI_DRIVER digi_none;
-+static DIGI_DRIVER digi_none;
-
-
-
-
diff --git a/media-libs/allegro/files/allegro-4.1.18-m4.patch b/media-libs/allegro/files/allegro-4.1.18-m4.patch
deleted file mode 100644
index d2ea265e95c2..000000000000
--- a/media-libs/allegro/files/allegro-4.1.18-m4.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- misc/allegro.m4
-+++ misc/allegro.m4
-@@ -11,7 +11,7 @@
- dnl AM_PATH_allegro([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
- dnl Test for allegro, and define allegro_CFLAGS and allegro_LIBS
- dnl
--AC_DEFUN(AM_PATH_ALLEGRO,[
-+AC_DEFUN([AM_PATH_ALLEGRO],[
- AC_ARG_WITH(allegro-prefix,
- [ --with-allegro-prefix=PFX Prefix where liballegro is installed (optional)],
- ALLEGRO_CONFIG_prefix="$withval", ALLEGRO_CONFIG_prefix="")
diff --git a/media-libs/allegro/files/allegro-4.2.1-flags.patch b/media-libs/allegro/files/allegro-4.2.1-flags.patch
index 26aee313d06d..57435622b5d7 100644
--- a/media-libs/allegro/files/allegro-4.2.1-flags.patch
+++ b/media-libs/allegro/files/allegro-4.2.1-flags.patch
@@ -1,23 +1,19 @@
---- configure
-+++ configure
-@@ -2880,7 +2880,6 @@
- echo "$as_me:$LINENO: checking whether linker works with -s option" >&5
- echo $ECHO_N "checking whether linker works with -s option... $ECHO_C" >&6
- allegro_save_LDFLAGS=$LDFLAGS
--LDFLAGS="-s $LDFLAGS"
- if test "${allegro_cv_prog_ld_s+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-@@ -4959,7 +4958,7 @@
+--- configure.in
++++ configure.in
+@@ -280,11 +280,7 @@
+ COMPILE_PROGRAM=COMPILE_NORMAL
COMPILE_CXX_PROGRAM=COMPILE_CXX_NORMAL
COMPILE_S_PROGRAM=COMPILE_S_NORMAL
- if test "X$allegro_cv_prog_ld_s" = "Xyes"; then
+- if test "X$allegro_cv_prog_ld_s" = "Xyes"; then
- PROG_LDFLAGS="-s \$(LDFLAGS)"
-+ PROG_LDFLAGS="\$(LDFLAGS)"
- else
- PROG_LDFLAGS="\$(LDFLAGS)"
- fi
-@@ -11367,11 +11366,7 @@
+- else
+- PROG_LDFLAGS="\$(LDFLAGS)"
+- fi
++ PROG_LDFLAGS="\$(LDFLAGS)"
+ LIB_TO_LINK=alleg
+ PLUGIN_LIB=lib/unix/libaldat.a
+ allegro_build_normal_library=yes
+@@ -761,11 +757,7 @@
ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DDMALLOC"
fi
ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS"
@@ -30,6 +26,28 @@
ALLEGRO_SFLAGS="-x assembler-with-cpp"
ALLEGRO_SHAREDLIB_CFLAGS="-fPIC -DALLEGRO_SHARED"
else
+--- misc/allegro-config.in
++++ misc/allegro-config.in
+@@ -21,7 +21,6 @@
+
+ accepts_frameworks=no
+
+-allegro_ldflags="@LDFLAGS@"
+ allegro_libs="@LIBS@"
+ allegro_frameworks="@FRAMEWORKS@"
+ allegro_cflags=""
+@@ -180,9 +179,9 @@
+ if test "$echo_libs" = "yes"; then
+ libdirs=-L${exec_prefix}/lib
+ if test "$static_libs" = "yes"; then
+- echo $libdirs $allegro_ldflags -l${lib_type} $allegro_libs
++ echo $libdirs -l${lib_type} $allegro_libs
+ else
+- echo $libdirs $allegro_ldflags -l${lib_type}-${version} -l${lib_type}_unsharable
++ echo $libdirs -l${lib_type}-${version} -l${lib_type}_unsharable
+ fi
+ fi
+
--- misc/deplib.sh
+++ misc/deplib.sh
@@ -70,7 +70,7 @@
diff --git a/media-libs/allegro/files/digest-allegro-4.0.3 b/media-libs/allegro/files/digest-allegro-4.0.3
deleted file mode 100644
index 49f3ed389a5a..000000000000
--- a/media-libs/allegro/files/digest-allegro-4.0.3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 4fd1d27c323ba33b6d6cad6c5a1d8a44 allegro-4.0.3.tar.gz 2440083
-RMD160 920b5536c71a7dfc60b0cfa39a7d14a780b270f7 allegro-4.0.3.tar.gz 2440083
-SHA256 fefd91ead73d1e3c3109440e2d465ee7e56eb88f0952199d36b3bc2a2f221f0f allegro-4.0.3.tar.gz 2440083
diff --git a/media-libs/allegro/files/digest-allegro-4.1.18 b/media-libs/allegro/files/digest-allegro-4.1.18
deleted file mode 100644
index 6a3fadeb84fe..000000000000
--- a/media-libs/allegro/files/digest-allegro-4.1.18
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 215b84351f349f5998a77f99bf1218fa allegro-4.1.18.tar.gz 2900486
-RMD160 05dc8ca8783487c9cca694bc22f95a06e77d64fe allegro-4.1.18.tar.gz 2900486
-SHA256 a1d588449d467cd3a0a9c116402f531ef2eb7f8d58836663d12c5188b4cd9982 allegro-4.1.18.tar.gz 2900486