pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/idutils update fflush.c and fseeko.c patch so th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7634d4fa4ca8
branches:  trunk
changeset: 374380:7634d4fa4ca8
user:      dbj <dbj%pkgsrc.org@localhost>
date:      Mon Jan 22 04:40:07 2018 +0000

description:
update fflush.c and fseeko.c patch so that this builds on Darwin

diffstat:

 devel/idutils/distinfo                   |  6 +++---
 devel/idutils/patches/patch-lib_fflush_c |  4 ++--
 devel/idutils/patches/patch-lib_fseeko_c |  4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

diffs (53 lines):

diff -r c95397b6d86d -r 7634d4fa4ca8 devel/idutils/distinfo
--- a/devel/idutils/distinfo    Mon Jan 22 04:38:42 2018 +0000
+++ b/devel/idutils/distinfo    Mon Jan 22 04:40:07 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2017/11/02 04:54:27 maya Exp $
+$NetBSD: distinfo,v 1.11 2018/01/22 04:40:07 dbj Exp $
 
 SHA1 (idutils-4.6.tar.xz) = cb977ce3e4b2bacda85797e9048986e1c1765148
 RMD160 (idutils-4.6.tar.xz) = 9b136e5bedf04183a631c1c7642c7982deb5016d
@@ -14,5 +14,5 @@
 SHA1 (patch-ak) = c2b3573a5386e77fc6bc1d5a4e89ccd1af830630
 SHA1 (patch-al) = 163e06074da62edbcacd459788cfea3528e94e30
 SHA1 (patch-configure) = 06e53f65b7515276f054049c502b3187ba7a156f
-SHA1 (patch-lib_fflush_c) = 61e35e848c54a5d1a51b37f57619aae6d641f04a
-SHA1 (patch-lib_fseeko_c) = db25ba77b9c4e471e446cf917046cdf0f96b630f
+SHA1 (patch-lib_fflush_c) = c79a970d48b2e4d316cb067117e958dd10d15fb0
+SHA1 (patch-lib_fseeko_c) = de743874f98fd16a927c76f60f2ba27bb50f8218
diff -r c95397b6d86d -r 7634d4fa4ca8 devel/idutils/patches/patch-lib_fflush_c
--- a/devel/idutils/patches/patch-lib_fflush_c  Mon Jan 22 04:38:42 2018 +0000
+++ b/devel/idutils/patches/patch-lib_fflush_c  Mon Jan 22 04:40:07 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-lib_fflush_c,v 1.2 2017/11/02 04:26:21 agc Exp $
+$NetBSD: patch-lib_fflush_c,v 1.3 2018/01/22 04:40:07 dbj Exp $
 
 fflush.c:108:16: error: incompatible types when assigning to type '__off_t' from type 'fpos_t'
    fp_->_offset = u.f;
@@ -11,7 +11,7 @@
  {
  #if defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */
 -# if defined __CYGWIN__
-+# if defined(__CYGWIN__) || defined(__FreeBSD__)
++# if defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__APPLE__)
    /* fp_->_offset is typed as an integer.  */
    fp_->_offset = pos;
  # else
diff -r c95397b6d86d -r 7634d4fa4ca8 devel/idutils/patches/patch-lib_fseeko_c
--- a/devel/idutils/patches/patch-lib_fseeko_c  Mon Jan 22 04:38:42 2018 +0000
+++ b/devel/idutils/patches/patch-lib_fseeko_c  Mon Jan 22 04:40:07 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-lib_fseeko_c,v 1.2 2017/11/02 04:26:21 agc Exp $
+$NetBSD: patch-lib_fseeko_c,v 1.3 2018/01/22 04:40:07 dbj Exp $
 
 fseeko.c:127:22: error: incompatible types when assigning to type '__off_t' from type 'fpos_t'
          fp_->_offset = u.f;
@@ -11,7 +11,7 @@
        fp->_offset = pos;
  #elif defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */
 -# if defined __CYGWIN__
-+# if defined(__CYGWIN__) || defined(__FreeBSD__)
++# if defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__APPLE__)
        /* fp_->_offset is typed as an integer.  */
        fp_->_offset = pos;
  # else



Home | Main Index | Thread Index | Old Index