pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/oath-toolkit Fix build on NetBSD/current.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a796b1b9ae94
branches:  trunk
changeset: 601988:a796b1b9ae94
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Apr 07 13:16:23 2012 +0000

description:
Fix build on NetBSD/current.

diffstat:

 security/oath-toolkit/distinfo                               |   4 ++-
 security/oath-toolkit/patches/patch-liboath_gl_fflush.c.diff |  16 ++++++++++++
 security/oath-toolkit/patches/patch-liboath_gl_fseeko.c.diff |  16 ++++++++++++
 3 files changed, 35 insertions(+), 1 deletions(-)

diffs (52 lines):

diff -r 442177d610cd -r a796b1b9ae94 security/oath-toolkit/distinfo
--- a/security/oath-toolkit/distinfo    Sat Apr 07 13:14:25 2012 +0000
+++ b/security/oath-toolkit/distinfo    Sat Apr 07 13:16:23 2012 +0000
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.3 2012/01/12 20:17:47 pettai Exp $
+$NetBSD: distinfo,v 1.4 2012/04/07 13:16:23 joerg Exp $
 
 SHA1 (oath-toolkit-1.10.5.tar.gz) = b3fddfbc442c7cffe854ec159466155ef6ce0cbc
 RMD160 (oath-toolkit-1.10.5.tar.gz) = 52c09b838b10df8536e3f122e1b829eec1f830f4
 Size (oath-toolkit-1.10.5.tar.gz) = 1876773 bytes
+SHA1 (patch-liboath_gl_fflush.c) = d2e61f4beb861dbb151ab576f2773d66698d0e7d
+SHA1 (patch-liboath_gl_fseeko.c) = 0c19a2b46df8fd3e5ba7be0836063a1da5ae8e52
diff -r 442177d610cd -r a796b1b9ae94 security/oath-toolkit/patches/patch-liboath_gl_fflush.c.diff
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/oath-toolkit/patches/patch-liboath_gl_fflush.c.diff      Sat Apr 07 13:16:23 2012 +0000
@@ -0,0 +1,16 @@
+--- security/oath-toolkit/patches/patch-liboath_gl_fflush.c
++++ security/oath-toolkit/patches/patch-liboath_gl_fflush.c
+@@ -0,0 +1,13 @@
++$NetBSD: patch-liboath_gl_fflush.c.diff,v 1.1 2012/04/07 13:16:24 joerg Exp $
++
++--- liboath/gl/fflush.c.orig  2012-01-03 19:18:22.000000000 +0000
+++++ liboath/gl/fflush.c
++@@ -91,7 +91,7 @@ static inline void
++ update_fpos_cache (FILE *fp, off_t pos)
++ {
++ #if defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */
++-# if defined __CYGWIN__
+++# if defined(__CYGWIN__) || defined(__NetBSD__)
++   /* fp_->_offset is typed as an integer.  */
++   fp_->_offset = pos;
++ # else
diff -r 442177d610cd -r a796b1b9ae94 security/oath-toolkit/patches/patch-liboath_gl_fseeko.c.diff
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/oath-toolkit/patches/patch-liboath_gl_fseeko.c.diff      Sat Apr 07 13:16:23 2012 +0000
@@ -0,0 +1,16 @@
+--- security/oath-toolkit/patches/patch-liboath_gl_fseeko.c
++++ security/oath-toolkit/patches/patch-liboath_gl_fseeko.c
+@@ -0,0 +1,13 @@
++$NetBSD: patch-liboath_gl_fseeko.c.diff,v 1.1 2012/04/07 13:16:24 joerg Exp $
++
++--- liboath/gl/fseeko.c.orig  2012-01-03 19:18:22.000000000 +0000
+++++ liboath/gl/fseeko.c
++@@ -109,7 +109,7 @@ fseeko (FILE *fp, off_t offset, int when
++       fp->_flags &= ~_IO_EOF_SEEN;
++       fp->_offset = pos;
++ #elif defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */
++-# if defined __CYGWIN__
+++# if defined(__CYGWIN__) || defined(__NetBSD__)
++       /* fp_->_offset is typed as an integer.  */
++       fp_->_offset = pos;
++ # else



Home | Main Index | Thread Index | Old Index