summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-11-28 05:52:31 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-11-28 05:52:31 +0000
commitea96bec3f48db0278995ee3bede0f8ff0746c8c1 (patch)
tree7273a76342dee0d8d59d9d7070a617c5538d9586 /games-puzzle/sgt-puzzles/files
parentfix KEYWORDS (bug #346329) (diff)
downloadgentoo-2-ea96bec3f48db0278995ee3bede0f8ff0746c8c1.tar.gz
gentoo-2-ea96bec3f48db0278995ee3bede0f8ff0746c8c1.tar.bz2
gentoo-2-ea96bec3f48db0278995ee3bede0f8ff0746c8c1.zip
version bump (bug #346831)
(Portage version: 2.1.9.24/cvs/Linux i686)
Diffstat (limited to 'games-puzzle/sgt-puzzles/files')
-rw-r--r--games-puzzle/sgt-puzzles/files/sgt-puzzles-9023-gentoo.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/games-puzzle/sgt-puzzles/files/sgt-puzzles-9023-gentoo.patch b/games-puzzle/sgt-puzzles/files/sgt-puzzles-9023-gentoo.patch
new file mode 100644
index 000000000000..31e7f796a611
--- /dev/null
+++ b/games-puzzle/sgt-puzzles/files/sgt-puzzles-9023-gentoo.patch
@@ -0,0 +1,22 @@
+--- mkfiles.pl.old 2010-03-07 11:14:11.000000000 -0300
++++ mkfiles.pl 2010-03-07 11:24:20.000000000 -0300
+@@ -1110,8 +1110,8 @@
+ "\n".
+ &splitline("CFLAGS := -O2 -Wall -Werror -ansi -pedantic -g " .
+ (join " ", map {"-I$dirpfx$_"} @srcdirs) .
+- " `\$(GTK_CONFIG) --cflags` \$(CFLAGS)")."\n".
+- "XLIBS = `\$(GTK_CONFIG) --libs`\n".
++ " `pkg-config gtk+-2.0 --cflags` \$(CFLAGS)")."\n".
++ "XLIBS = `pkg-config gtk+-2.0 --libs`\n".
+ "ULIBS =#\n".
+ "INSTALL=install\n",
+ "INSTALL_PROGRAM=\$(INSTALL)\n",
+@@ -1130,7 +1130,7 @@
+ $objstr = &objects($p, "X.o", undef, undef);
+ print &splitline($prog . ": " . $objstr), "\n";
+ $libstr = &objects($p, undef, undef, "-lX");
+- print &splitline("\t\$(CC) -o \$@ $objstr $libstr \$(${type}LIBS)", 69),
++ print &splitline("\t\$(CC) \$(LDFLAGS) -o \$@ $objstr $libstr \$(${type}LIBS)", 69),
+ "\n\n";
+ }
+ foreach $d (&deps("X.o", undef, $dirpfx, "/")) {