From 7578ff3bcf401117e37a9d14316db009cbb2105b Mon Sep 17 00:00:00 2001 From: Niels Horn Date: Sun, 3 Apr 2011 20:57:02 -0300 Subject: [PATCH] libraries/allegro: Patched for make-3.82. Signed-off-by: Niels Horn --- libraries/allegro/allegro.SlackBuild | 3 ++ libraries/allegro/allegro_make382.patch | 50 +++++++++++++++++++++++++ libraries/allegro/slack-desc | 2 +- 3 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 libraries/allegro/allegro_make382.patch diff --git a/libraries/allegro/allegro.SlackBuild b/libraries/allegro/allegro.SlackBuild index 50638fbc13..af24bfec4d 100644 --- a/libraries/allegro/allegro.SlackBuild +++ b/libraries/allegro/allegro.SlackBuild @@ -56,6 +56,9 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +# Patch makefile.in for make-3.82 +patch -p1 < $CWD/allegro_make382.patch + ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ diff --git a/libraries/allegro/allegro_make382.patch b/libraries/allegro/allegro_make382.patch new file mode 100644 index 0000000000..2eb20bcaff --- /dev/null +++ b/libraries/allegro/allegro_make382.patch @@ -0,0 +1,50 @@ +--- allegro-4.2.2/makefile.in 2007-07-22 02:55:54.000000000 -0300 ++++ allegro-4.2.2_patched/makefile.in 2011-04-03 20:38:48.000000000 -0300 +@@ -398,37 +398,32 @@ + + # -------- rules for deleting the generated files -------- + +-clean: +- + define RM_OBJ_CLEAN_FILES +- $(foreach file, $(OBJ_CLEAN_FILES), rm -f $(file) +- ) ++ $(foreach file, $(OBJ_CLEAN_FILES), rm -f $(file)) + endef + + define RM_OTHER_CLEAN_FILES +- $(foreach file, $(OTHER_CLEAN_FILES), rm -f $(file) +- ) ++ $(foreach file, $(OTHER_CLEAN_FILES), rm -f $(file)) + endef + +- $(RM_OBJ_CLEAN_FILES) +- $(RM_OTHER_CLEAN_FILES) +- +-distclean: clean +- + define RM_DISTCLEAN_FILES + $(foreach file, $(DISTCLEAN_FILES) $(ALLEGRO_LIB_X_EXES), rm -f $(file) + ) + endef + +- $(RM_DISTCLEAN_FILES) +- +-veryclean: distclean +- + define RM_VERYCLEAN_FILES + $(foreach file, $(VERYCLEAN_FILES), rm -f $(file) + ) + endef + ++clean: ++ $(RM_OBJ_CLEAN_FILES) ++ $(RM_OTHER_CLEAN_FILES) ++ ++distclean: clean ++ $(RM_DISTCLEAN_FILES) ++ ++veryclean: distclean + $(RM_VERYCLEAN_FILES) + rm -f makefile + diff --git a/libraries/allegro/slack-desc b/libraries/allegro/slack-desc index 55f22f9928..37b5930175 100644 --- a/libraries/allegro/slack-desc +++ b/libraries/allegro/slack-desc @@ -7,7 +7,7 @@ |-----handy-ruler------------------------------------------------------| allegro: Allegro (The Allegro Gaming Library) -allegro: +allegro: allegro: The Allegro library provides C/C++ programmers low level routines allegro: commonly needed in game programing, such as input, graphics, midi, allegro: sound effects, and timing.