summaryrefslogtreecommitdiff
path: root/ham/tfkiss
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-30 23:06:43 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-30 23:06:43 +0000
commit19d1eeb5985e8f0be7bd662225a0b915752ce9ab (patch)
tree2bbd3f27942859405fcc02bddab05bb5e2a61e87 /ham/tfkiss
parentcd0ee2e62df8e245c0b0a2cc594e4d154d051aa9 (diff)
downloadpkgsrc-19d1eeb5985e8f0be7bd662225a0b915752ce9ab.tar.gz
Add DragonFly support.
Diffstat (limited to 'ham/tfkiss')
-rw-r--r--ham/tfkiss/distinfo4
-rw-r--r--ham/tfkiss/patches/patch-aa22
-rw-r--r--ham/tfkiss/patches/patch-ab13
3 files changed, 38 insertions, 1 deletions
diff --git a/ham/tfkiss/distinfo b/ham/tfkiss/distinfo
index b400ce70011..ecabff788f0 100644
--- a/ham/tfkiss/distinfo
+++ b/ham/tfkiss/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/02/22 21:06:06 agc Exp $
+$NetBSD: distinfo,v 1.5 2005/12/30 23:06:43 joerg Exp $
SHA1 (tfkiss-1.2.4.tar.gz) = 4bf8afb539fd155a86de439554f1b5b0ffd45343
RMD160 (tfkiss-1.2.4.tar.gz) = b220afb5940e377957cfebfb8167f183202a89ab
Size (tfkiss-1.2.4.tar.gz) = 142842 bytes
+SHA1 (patch-aa) = 25ff7b5753885826e12e53adc440bcba622d008a
+SHA1 (patch-ab) = 40ce8e60a0b85e260f0fd45739f2056066034f71
diff --git a/ham/tfkiss/patches/patch-aa b/ham/tfkiss/patches/patch-aa
new file mode 100644
index 00000000000..d4bb2d20f94
--- /dev/null
+++ b/ham/tfkiss/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2005/12/30 23:06:43 joerg Exp $
+
+--- src/main.c.orig 2005-12-30 22:55:13.000000000 +0000
++++ src/main.c
+@@ -1168,7 +1168,7 @@ int main(int argc,char *argv[])
+ #ifdef USE_AXIP
+ int n, hdr_len;
+ unsigned char buf[MAX_FRAME];
+-#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+ struct ip *ipptr;
+ #else
+ struct iphdr *ipptr;
+@@ -1411,7 +1411,7 @@ int main(int argc,char *argv[])
+ fromlen = sizeof from;
+ n = recvfrom(sock,buf,MAX_FRAME,0,
+ (struct sockaddr *)&from,&fromlen);
+-#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+ ipptr = (struct ip *)buf;
+ hdr_len = 4 * ipptr->ip_hl;
+ #else
diff --git a/ham/tfkiss/patches/patch-ab b/ham/tfkiss/patches/patch-ab
new file mode 100644
index 00000000000..d480f2d14e3
--- /dev/null
+++ b/ham/tfkiss/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2005/12/30 23:06:43 joerg Exp $
+
+--- configure.orig 2005-12-30 23:03:24.000000000 +0000
++++ configure
+@@ -1184,7 +1184,7 @@ tfkiss_log_dir=${prefix}/tfkiss
+ tfkiss_run_dir=${prefix}/tfkiss
+
+ case "$target" in
+- *-*-netbsd*)
++ *-*-netbsd* | *-*-dragonfly*)
+ cat >> confdefs.h <<\EOF
+ #define HAVE_CRTSCTS 1
+ EOF