pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/rexx-imc Be a bit nasty and fix this on DragonFly...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/957690a47e9b
branches:  trunk
changeset: 505967:957690a47e9b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Jan 09 22:03:37 2006 +0000

description:
Be a bit nasty and fix this on DragonFly by looking into the "public"
part of FILE as well.

diffstat:

 lang/rexx-imc/distinfo         |  4 ++--
 lang/rexx-imc/patches/patch-ab |  7 +++++--
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 1256d2d001a1 -r 957690a47e9b lang/rexx-imc/distinfo
--- a/lang/rexx-imc/distinfo    Mon Jan 09 22:00:25 2006 +0000
+++ b/lang/rexx-imc/distinfo    Mon Jan 09 22:03:37 2006 +0000
@@ -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 -r 1256d2d001a1 -r 957690a47e9b lang/rexx-imc/patches/patch-ab
--- a/lang/rexx-imc/patches/patch-ab    Mon Jan 09 22:00:25 2006 +0000
+++ b/lang/rexx-imc/patches/patch-ab    Mon Jan 09 22:03:37 2006 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index