r12445 - ! dirs' list truncated !
Vincent Cheng
vincentc-guest at alioth.debian.org
Tue May 31 05:06:20 UTC 2011
Author: vincentc-guest
Date: 2011-05-31 05:06:20 +0000 (Tue, 31 May 2011)
New Revision: 12445
Added:
packages/trunk/garden-of-coloured-lights/debian/patches/configure-ac.patch
packages/trunk/garden-of-coloured-lights/debian/patches/series
Removed:
packages/trunk/garden-of-coloured-lights/debian/patches/makefile.patch
packages/trunk/garden-of-coloured-lights/debian/patches/series
packages/trunk/garden-of-coloured-lights/debian/patches/windowed.patch
Log:
garden-of-coloured-lights: fix debian/patches/ directory
Added: packages/trunk/garden-of-coloured-lights/debian/patches/configure-ac.patch
===================================================================
--- packages/trunk/garden-of-coloured-lights/debian/patches/configure-ac.patch (rev 0)
+++ packages/trunk/garden-of-coloured-lights/debian/patches/configure-ac.patch 2011-05-31 05:06:20 UTC (rev 12445)
@@ -0,0 +1,28 @@
+Patch to fix linker error and FTBFS.
+--- a/configure.ac
++++ b/configure.ac
+@@ -5,7 +5,6 @@
+ AC_INIT([GARDEN],
+ [1.0.8],
+ [bubla at users.sourceforge.net])
+-AS_INIT
+ AC_CONFIG_AUX_DIR([build-aux])
+ AM_INIT_AUTOMAKE([-Wall])
+ AC_CONFIG_SRCDIR([src/input.h])
+@@ -91,7 +90,7 @@
+ try_link_allegro "$allegro_LIBS"
+ AS_IF([test "x$?" == "x0"],
+ [[LIBS="$LIBS $allegro_LIBS"
+- ALLEGRO_LIB=`echo $allegro_LIBS | sed -e 's/-l\([^[:blank:]]*\).*/\1/'`
++ ALLEGRO_LIB=`echo $allegro_LIBS | sed -e 's/.*-l\([^[:blank:]]*\).*/\1/'`
+ have_allegro="yes"]])
+
+ ALLEGRO_RELEASE_LIBS="alleg alleg42 alleg44"
+@@ -117,6 +116,7 @@
+
+ # Checks for header files.
+ AC_CHECK_HEADERS([string.h sys/stat.h])
++AC_CHECK_LIB(m, sin)
+
+ # Checks for typedefs, structures, and compiler characteristics.
+ AC_C_INLINE
Deleted: packages/trunk/garden-of-coloured-lights/debian/patches/makefile.patch
===================================================================
--- packages/trunk/garden-of-coloured-lights/debian/patches/makefile.patch 2011-05-31 05:03:55 UTC (rev 12444)
+++ packages/trunk/garden-of-coloured-lights/debian/patches/makefile.patch 2011-05-31 05:06:20 UTC (rev 12445)
@@ -1,25 +0,0 @@
-# Copyright (C) 2007 Miriam Ruiz <little_miry at yahoo.es>
-# Distributed under the same license as the game. See debian/copyright.
-
-Index: garden-of-coloured-lights-0.0.20071218/Source/Makefile
-===================================================================
---- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ garden-of-coloured-lights-0.0.20071218/Source/Makefile 2007-12-18 11:58:24.000000000 +0000
-@@ -0,0 +1,17 @@
-+CC=gcc
-+CFLAGS=-Wall -O2
-+LDFLAGS=-lalleg-4.2.2
-+SOURCES=$(shell find . -name "*.c")
-+OBJECTS=$(SOURCES:.c=.o)
-+EXECUTABLE=garden-of-coloured-lights
-+
-+all: $(SOURCES) $(EXECUTABLE)
-+
-+$(EXECUTABLE): $(OBJECTS)
-+ $(CC) $(LDFLAGS) $(OBJECTS) -o $@
-+
-+.c.o:
-+ $(CC) $(CFLAGS) -c $< -o $@
-+
-+clean:
-+ rm -f $(EXECUTABLE) $(OBJECTS)
Deleted: packages/trunk/garden-of-coloured-lights/debian/patches/series
===================================================================
--- packages/trunk/garden-of-coloured-lights/debian/patches/series 2011-05-31 05:03:55 UTC (rev 12444)
+++ packages/trunk/garden-of-coloured-lights/debian/patches/series 2011-05-31 05:06:20 UTC (rev 12445)
@@ -1 +0,0 @@
-configure-ac.patch
Added: packages/trunk/garden-of-coloured-lights/debian/patches/series
===================================================================
--- packages/trunk/garden-of-coloured-lights/debian/patches/series (rev 0)
+++ packages/trunk/garden-of-coloured-lights/debian/patches/series 2011-05-31 05:06:20 UTC (rev 12445)
@@ -0,0 +1 @@
+configure-ac.patch
Deleted: packages/trunk/garden-of-coloured-lights/debian/patches/windowed.patch
===================================================================
--- packages/trunk/garden-of-coloured-lights/debian/patches/windowed.patch 2011-05-31 05:03:55 UTC (rev 12444)
+++ packages/trunk/garden-of-coloured-lights/debian/patches/windowed.patch 2011-05-31 05:06:20 UTC (rev 12445)
@@ -1,16 +0,0 @@
-# Copyright (C) 2007 Miriam Ruiz <little_miry at yahoo.es>
-# Distributed under the same license as the game. See debian/copyright.
-
-Index: garden-of-coloured-lights-0.0.20071218/Source/main.c
-===================================================================
---- garden-of-coloured-lights-0.0.20071218.orig/Source/main.c 2007-12-18 12:07:48.000000000 +0000
-+++ garden-of-coloured-lights-0.0.20071218/Source/main.c 2007-12-18 12:08:36.000000000 +0000
-@@ -152,7 +152,7 @@
- int randseed = get_config_int("Misc", "Seed", 0);
- srand(randseed);
-
-- int windowed2 = get_config_int("Misc", "Windowed", 0);
-+ int windowed2 = get_config_int("Misc", "Windowed", 1);
-
-
- int windowed;
More information about the Pkg-games-commits
mailing list