diff options
author | joerg <joerg@pkgsrc.org> | 2012-04-07 19:34:15 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-04-07 19:34:15 +0000 |
commit | 40892569568ef446bbaeeb0be4f4527279f954ac (patch) | |
tree | 7c723440ba5f1400f829edeced64aadc7734ca20 /security | |
parent | 9c603f48cf168b2a4dd559454e2331cf846aa4bd (diff) | |
download | pkgsrc-40892569568ef446bbaeeb0be4f4527279f954ac.tar.gz |
Apply patches as intended.
Diffstat (limited to 'security')
4 files changed, 26 insertions, 32 deletions
diff --git a/security/oath-toolkit/patches/patch-liboath_gl_fflush.c b/security/oath-toolkit/patches/patch-liboath_gl_fflush.c new file mode 100644 index 00000000000..f50feeecbd2 --- /dev/null +++ b/security/oath-toolkit/patches/patch-liboath_gl_fflush.c @@ -0,0 +1,13 @@ +$NetBSD: patch-liboath_gl_fflush.c,v 1.1 2012/04/07 19:34:15 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_fflush.c.diff b/security/oath-toolkit/patches/patch-liboath_gl_fflush.c.diff deleted file mode 100644 index e66e0f320f1..00000000000 --- a/security/oath-toolkit/patches/patch-liboath_gl_fflush.c.diff +++ /dev/null @@ -1,16 +0,0 @@ ---- 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 b/security/oath-toolkit/patches/patch-liboath_gl_fseeko.c new file mode 100644 index 00000000000..f66b6f465b3 --- /dev/null +++ b/security/oath-toolkit/patches/patch-liboath_gl_fseeko.c @@ -0,0 +1,13 @@ +$NetBSD: patch-liboath_gl_fseeko.c,v 1.1 2012/04/07 19:34:15 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 diff --git a/security/oath-toolkit/patches/patch-liboath_gl_fseeko.c.diff b/security/oath-toolkit/patches/patch-liboath_gl_fseeko.c.diff deleted file mode 100644 index 967295bef6b..00000000000 --- a/security/oath-toolkit/patches/patch-liboath_gl_fseeko.c.diff +++ /dev/null @@ -1,16 +0,0 @@ ---- 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 |