summaryrefslogtreecommitdiff
path: root/net/gt-itm
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-05-05 23:52:36 +0000
committerminskim <minskim@pkgsrc.org>2006-05-05 23:52:36 +0000
commit81774dcb8ea7644c01d40341171aa174e55851f3 (patch)
tree6f07124064921fec3709828bc461de0e1fa2bd34 /net/gt-itm
parented74244340bfd60d2e6ffd2eb9b4bd8ce1b5dd30 (diff)
downloadpkgsrc-81774dcb8ea7644c01d40341171aa174e55851f3.tar.gz
Make this package build on NetBSD by fixing header file names and link
options.
Diffstat (limited to 'net/gt-itm')
-rw-r--r--net/gt-itm/distinfo7
-rw-r--r--net/gt-itm/patches/patch-aa6
-rw-r--r--net/gt-itm/patches/patch-ac13
-rw-r--r--net/gt-itm/patches/patch-ad13
-rw-r--r--net/gt-itm/patches/patch-ae13
5 files changed, 47 insertions, 5 deletions
diff --git a/net/gt-itm/distinfo b/net/gt-itm/distinfo
index 3822465deba..057fa903b3c 100644
--- a/net/gt-itm/distinfo
+++ b/net/gt-itm/distinfo
@@ -1,7 +1,10 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/05/05 23:14:43 minskim Exp $
+$NetBSD: distinfo,v 1.2 2006/05/05 23:52:36 minskim Exp $
SHA1 (gt-itm.tar.gz) = 1e52ee9c9d6e3ef09ac39c860d1cd829cf3c6e4e
RMD160 (gt-itm.tar.gz) = 0a7cbdfce185ab4bc2c73b78f290e8a831dc04e2
Size (gt-itm.tar.gz) = 623345 bytes
-SHA1 (patch-aa) = 6f91fa29114fc33c9976ff5f70e259c88ef63cea
+SHA1 (patch-aa) = b3f06675b8fd9811ec1a94adf90ee0f0b53b1d75
SHA1 (patch-ab) = 72e60f9b5fc07b3ee44e838e017696178444135b
+SHA1 (patch-ac) = c70a3b5cb6a7b5b33ffe1269b903476befc00e83
+SHA1 (patch-ad) = 62d4d5bd4fe4eebc85abbff7ee80470ba2bcdc71
+SHA1 (patch-ae) = f38778918e4eba7f186e75de14e2ccd6d9a3473d
diff --git a/net/gt-itm/patches/patch-aa b/net/gt-itm/patches/patch-aa
index b1a3b8d59bd..b56d5cd2193 100644
--- a/net/gt-itm/patches/patch-aa
+++ b/net/gt-itm/patches/patch-aa
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.1.1.1 2006/05/05 23:14:43 minskim Exp $
+$NetBSD: patch-aa,v 1.2 2006/05/05 23:52:36 minskim Exp $
---- Makefile.orig 1996-10-23 14:05:26.000000000 -0700
+--- Makefile.orig 1996-10-23 21:05:26.000000000 +0000
+++ Makefile
@@ -12,7 +12,7 @@
#LIBS = -lm -lgb5
# For SunOS: uncomment the next line
-LIBS = -lm -lgb4
-+LIBS = -lm -lgb
++LIBS = -Wl,-R${PREFIX}/lib -lm -lgb
IDIR = ../include
diff --git a/net/gt-itm/patches/patch-ac b/net/gt-itm/patches/patch-ac
new file mode 100644
index 00000000000..c3588ba246e
--- /dev/null
+++ b/net/gt-itm/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2006/05/05 23:52:36 minskim Exp $
+
+--- dfs.c.orig 1996-10-23 21:05:26.000000000 +0000
++++ dfs.c
+@@ -6,7 +6,7 @@
+ */
+
+ #include <stdio.h>
+-#include <alloca.h>
++#include <stdlib.h>
+ #include <sys/types.h>
+ #include "gb_graph.h"
+ #include "math.h"
diff --git a/net/gt-itm/patches/patch-ad b/net/gt-itm/patches/patch-ad
new file mode 100644
index 00000000000..030354b45ee
--- /dev/null
+++ b/net/gt-itm/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2006/05/05 23:52:36 minskim Exp $
+
+--- geog.c.orig 1996-10-23 21:05:28.000000000 +0000
++++ geog.c
+@@ -7,7 +7,7 @@
+
+ #include <stdio.h>
+ #include <sys/types.h> /* for NBBY */
+-#include <alloca.h>
++#include <stdlib.h>
+ #include <assert.h>
+ #include <string.h> /* for strchr() */
+ #include "gb_graph.h"
diff --git a/net/gt-itm/patches/patch-ae b/net/gt-itm/patches/patch-ae
new file mode 100644
index 00000000000..a83ffa919c2
--- /dev/null
+++ b/net/gt-itm/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2006/05/05 23:52:36 minskim Exp $
+
+--- ts.c.orig 1996-10-23 21:05:29.000000000 +0000
++++ ts.c
+@@ -9,7 +9,7 @@
+
+ #include <stdio.h>
+ #include <sys/types.h> /* for NBBY */
+-#include <alloca.h>
++#include <stdlib.h>
+ #include "gb_graph.h"
+ #include <math.h>
+ #include "geog.h"