diff options
author | joerg <joerg> | 2012-04-07 13:16:23 +0000 |
---|---|---|
committer | joerg <joerg> | 2012-04-07 13:16:23 +0000 |
commit | 6966158cfdafccab9881614c4be9dda86c77c302 (patch) | |
tree | a05a06f484f7917cac632abca063f6b9b95fd636 /security | |
parent | 148684cac1ba60ae3f0539255f7b6fac80c5b2e4 (diff) | |
download | pkgsrc-6966158cfdafccab9881614c4be9dda86c77c302.tar.gz |
Fix build on NetBSD/current.
Diffstat (limited to 'security')
-rw-r--r-- | security/oath-toolkit/distinfo | 4 | ||||
-rw-r--r-- | security/oath-toolkit/patches/patch-liboath_gl_fflush.c.diff | 16 | ||||
-rw-r--r-- | security/oath-toolkit/patches/patch-liboath_gl_fseeko.c.diff | 16 |
3 files changed, 35 insertions, 1 deletions
diff --git a/security/oath-toolkit/distinfo b/security/oath-toolkit/distinfo index 72f60b6cbe8..79dc33374e2 100644 --- a/security/oath-toolkit/distinfo +++ b/security/oath-toolkit/distinfo @@ -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 --git a/security/oath-toolkit/patches/patch-liboath_gl_fflush.c.diff b/security/oath-toolkit/patches/patch-liboath_gl_fflush.c.diff new file mode 100644 index 00000000000..e66e0f320f1 --- /dev/null +++ b/security/oath-toolkit/patches/patch-liboath_gl_fflush.c.diff @@ -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 --git a/security/oath-toolkit/patches/patch-liboath_gl_fseeko.c.diff b/security/oath-toolkit/patches/patch-liboath_gl_fseeko.c.diff new file mode 100644 index 00000000000..967295bef6b --- /dev/null +++ b/security/oath-toolkit/patches/patch-liboath_gl_fseeko.c.diff @@ -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 |