diff options
Diffstat (limited to 'community/puzzles/puzzles-lm.diff')
-rw-r--r-- | community/puzzles/puzzles-lm.diff | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/community/puzzles/puzzles-lm.diff b/community/puzzles/puzzles-lm.diff new file mode 100644 index 000000000..06493cc0d --- /dev/null +++ b/community/puzzles/puzzles-lm.diff @@ -0,0 +1,15 @@ +diff --git a/mkfiles.pl b/mkfiles.pl +index 5bb0d39..cdd8260 100755 +--- a/mkfiles.pl ++++ b/mkfiles.pl +@@ -1118,8 +1118,8 @@ if (defined $makefiles{'gtk'}) { + &splitline("CFLAGS := -O2 -Wall -Werror -ansi -pedantic -g " . + (join " ", map {"-I$dirpfx$_"} @srcdirs) . + " `\$(GTK_CONFIG) --cflags` \$(CFLAGS)")."\n". +- "XLIBS = `\$(GTK_CONFIG) --libs`\n". +- "ULIBS =#\n". ++ "XLIBS = `\$(GTK_CONFIG) --libs` -lm\n". ++ "ULIBS = -lm#\n". + "INSTALL=install\n", + "INSTALL_PROGRAM=\$(INSTALL)\n", + "INSTALL_DATA=\$(INSTALL)\n", |