diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-10-20 04:56:27 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-10-20 04:56:27 +0000 |
commit | c3caebd8977ebab42e36a61c6c626a45c5efd25c (patch) | |
tree | 229c6bae6389ab406b2960dafca490545d79a83d /app-misc/figlet/files | |
parent | Respect LDFLAGS (bug #337700), CC. Fix compiler warnings. (diff) | |
download | gentoo-2-c3caebd8977ebab42e36a61c6c626a45c5efd25c.tar.gz gentoo-2-c3caebd8977ebab42e36a61c6c626a45c5efd25c.tar.bz2 gentoo-2-c3caebd8977ebab42e36a61c6c626a45c5efd25c.zip |
Set CFLAGS to override the Makefile instead of sedding it in, respecting LDFLAGS (bug #337895) too. Add patch to fix (some) compiler warnings. Use tc-getCC instead of tc-export. Remove empty DEPEND.
(Portage version: 2.2_rc98/cvs/Linux i686)
Diffstat (limited to 'app-misc/figlet/files')
-rw-r--r-- | app-misc/figlet/files/figlet-222-includes.diff | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-misc/figlet/files/figlet-222-includes.diff b/app-misc/figlet/files/figlet-222-includes.diff new file mode 100644 index 000000000000..8be13b541c40 --- /dev/null +++ b/app-misc/figlet/files/figlet-222-includes.diff @@ -0,0 +1,20 @@ +--- a/chkfont.c 1998-03-06 01:00:00.000000000 +0100 ++++ b/chkfont.c 2010-10-20 06:47:20.000000000 +0200 +@@ -1,6 +1,7 @@ + #include <stdio.h> + #include <string.h> + #include <ctype.h> ++#include <stdlib.h> /* exit() */ + + #define DATE "20 Feb 1996" + #define VERSION "2.2" +--- a/figlet.c 2005-07-05 11:50:49.000000000 +0200 ++++ b/figlet.c 2010-10-20 06:48:42.000000000 +0200 +@@ -59,6 +59,7 @@ + #endif + #include <string.h> + #include <ctype.h> ++#include <unistd.h> /* close() getopt() */ + #include <fcntl.h> /* Needed for get_columns */ + + #ifdef unix |