summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-09 22:03:37 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-09 22:03:37 +0000
commit517d9780b4120fe213cb059d6a2ec8a194ce0ff1 (patch)
treedc5e643eaaaa1c73dfde14225a7929718bb89dc4
parent09f1cb1976db1ea53abe0ec8932323b636e9df3b (diff)
downloadpkgsrc-517d9780b4120fe213cb059d6a2ec8a194ce0ff1.tar.gz
Be a bit nasty and fix this on DragonFly by looking into the "public"
part of FILE as well.
-rw-r--r--lang/rexx-imc/distinfo4
-rw-r--r--lang/rexx-imc/patches/patch-ab7
2 files changed, 7 insertions, 4 deletions
diff --git a/lang/rexx-imc/distinfo b/lang/rexx-imc/distinfo
index 47171f1ae8a..c79a42d0db5 100644
--- a/lang/rexx-imc/distinfo
+++ b/lang/rexx-imc/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 09:03:11 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/01/09 22:03:37 joerg Exp $
SHA1 (rexx-imc-1.76.tar.gz) = 3b567bf3e77e42f33eb0ad771ea17ed759c8b361
RMD160 (rexx-imc-1.76.tar.gz) = 4fb42df97c113aa58e359deb78dfead74469ddde
Size (rexx-imc-1.76.tar.gz) = 251581 bytes
SHA1 (patch-aa) = 86b156b82ac8f41f769357bc1b30e3dcf55e9cf1
-SHA1 (patch-ab) = 2580390c041437448a2829faf97eb463a50e60a3
+SHA1 (patch-ab) = f4d30c6d70f45fb463af1bb1fc2446621d7f7f50
diff --git a/lang/rexx-imc/patches/patch-ab b/lang/rexx-imc/patches/patch-ab
index e284b076f25..16c7e7ce992 100644
--- a/lang/rexx-imc/patches/patch-ab
+++ b/lang/rexx-imc/patches/patch-ab
@@ -1,12 +1,15 @@
-$NetBSD: patch-ab,v 1.1.1.1 2002/09/02 16:43:03 agc Exp $
+$NetBSD: patch-ab,v 1.2 2006/01/09 22:03:37 joerg Exp $
Generalise for all *BSD (well, anything with Torek stdio, really)
--- rxfn.c 2002/09/02 08:50:31 1.1
+++ rxfn.c 2002/09/02 08:51:26
-@@ -41,7 +41,7 @@
+@@ -40,8 +40,10 @@
+ #ifndef _CNT
# ifdef linux
# define _CNT(fp) ((fp)->_IO_read_end - (fp)->_IO_read_ptr)
++# elif defined(__DragonFly__)
++# define _CNT(fp) (((struct __FILE_public *)fp)->_r)
# else
-# ifdef __FreeBSD__
+# if (defined(BSD) && BSD >= 199306)