tiny-fugue - remove duplicate

master
Adam Vandenberg 2010-10-02 18:37:52 -07:00
parent 5a4e7d1cd7
commit 16775a20a5
2 changed files with 14 additions and 42 deletions

View File

@ -4,28 +4,33 @@ class TinyFugue <Formula
url 'http://downloads.sourceforge.net/project/tinyfugue/tinyfugue/5.0%20beta%208/tf-50b8.tar.gz'
homepage 'http://tinyfugue.sourceforge.net/'
md5 '3e994e791966d274f63b0e61abf2ef59'
version '5.0b8'
depends_on 'libnet'
def patches
{ :p1 => DATA }
DATA
end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--enable-getaddrinfo", "--enable-termcap=ncurses",
"--prefix=#{prefix}"
system "make install"
end
end
__END__
--- tf-50b8/src/malloc.c 2007-01-13 23:12:39.000000000 +0000
+++ tf-50b8a/src/malloc.c 2010-09-16 11:04:41.000000000 +0100
@@ -11,6 +11,7 @@
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"
#include "port.h"
#include "signals.h"
#include "malloc.h"
+#include <sys/types.h>
caddr_t mmalloc_base = NULL;
int low_memory_warning = 0;

View File

@ -1,33 +0,0 @@
require 'formula'
class Tinyfugue <Formula
url 'http://downloads.sourceforge.net/project/tinyfugue/tinyfugue/5.0%20beta%208/tf-50b8.tar.gz'
homepage 'http://tinyfugue.sourceforge.net/'
md5 '3e994e791966d274f63b0e61abf2ef59'
version '5.0b8'
depends_on 'pcre'
def patches
DATA
end
def install
system "./configure", "--prefix=#{prefix}", "--enable-getaddrinfo", "--enable-termcap=ncurses"
system "make install"
end
end
__END__
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"
#include "port.h"
#include "signals.h"