2010-09-16 10:18:36 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class TinyFugue < Formula
|
2010-09-16 10:18:36 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/tinyfugue/tinyfugue/5.0%20beta%208/tf-50b8.tar.gz'
|
|
|
|
homepage 'http://tinyfugue.sourceforge.net/'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '37bb70bfb7b44d36c28606c6bd45e435502fb4b4'
|
2010-10-03 01:37:52 +00:00
|
|
|
version '5.0b8'
|
2010-09-16 10:18:36 +00:00
|
|
|
|
|
|
|
depends_on 'libnet'
|
|
|
|
|
|
|
|
def patches
|
2010-10-03 01:37:52 +00:00
|
|
|
DATA
|
2010-09-16 10:18:36 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
2010-10-03 01:37:52 +00:00
|
|
|
"--enable-getaddrinfo", "--enable-termcap=ncurses",
|
2010-09-16 10:18:36 +00:00
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2010-10-03 01:37:52 +00:00
|
|
|
|
2010-09-16 10:18:36 +00:00
|
|
|
__END__
|
2010-10-03 01:37:52 +00:00
|
|
|
diff --git a/src/malloc.c b/src/malloc.c
|
|
|
|
index 03ca393..7282f02 100644
|
|
|
|
--- a/src/malloc.c
|
|
|
|
+++ b/src/malloc.c
|
|
|
|
@@ -7,6 +7,7 @@
|
|
|
|
************************************************************************/
|
|
|
|
static const char RCSid[] = "$Id: malloc.c,v 35004.22 2007/01/13 23:12:39 kkeys Exp $";
|
|
|
|
|
|
|
|
+#include "sys/types.h"
|
|
|
|
#include "tfconfig.h"
|
2010-09-16 10:18:36 +00:00
|
|
|
#include "port.h"
|
|
|
|
#include "signals.h"
|