diff options
author | tron <tron@pkgsrc.org> | 2014-09-16 23:17:48 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2014-09-16 23:17:48 +0000 |
commit | ddc46791b5cfcc46f7cfebd4c4b316b3597716e3 (patch) | |
tree | 5c1dee8a664e8f88b8bacaeb26a307daceddb918 /security | |
parent | e13c642a6109e3cece48c96be22652d6509b2b6e (diff) | |
download | pkgsrc-ddc46791b5cfcc46f7cfebd4c4b316b3597716e3.tar.gz |
Add patch from GIT repository to fix build under Mac OS X.
Diffstat (limited to 'security')
-rw-r--r-- | security/libgpg-error/distinfo | 3 | ||||
-rw-r--r-- | security/libgpg-error/patches/patch-src_gpgrt-int.h | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/security/libgpg-error/distinfo b/security/libgpg-error/distinfo index 01e3d592eb2..6eb46ad003c 100644 --- a/security/libgpg-error/distinfo +++ b/security/libgpg-error/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.17 2014/09/14 16:45:54 wiz Exp $ +$NetBSD: distinfo,v 1.18 2014/09/16 23:17:48 tron Exp $ SHA1 (libgpg-error-1.15.tar.bz2) = f41791121c66043fa18834597e0155ebcbff8ada RMD160 (libgpg-error-1.15.tar.bz2) = 09d050254364d27ba3b98156c4b66b1e9490084a Size (libgpg-error-1.15.tar.bz2) = 546865 bytes SHA1 (patch-src_gpg-error-config.in) = e22e99208192971f8c123d7ee9b22c5f615669e1 +SHA1 (patch-src_gpgrt-int.h) = 151ce28066bb456984e4ff53211d454ea4426cff diff --git a/security/libgpg-error/patches/patch-src_gpgrt-int.h b/security/libgpg-error/patches/patch-src_gpgrt-int.h new file mode 100644 index 00000000000..101733bec5e --- /dev/null +++ b/security/libgpg-error/patches/patch-src_gpgrt-int.h @@ -0,0 +1,20 @@ +$NetBSD: patch-src_gpgrt-int.h,v 1.1 2014/09/16 23:17:49 tron Exp $ + +Fix build under Mac OS X. + +Patch taken from GIT commit <e1882ee8c541020ec590bf096508ca5b6d2ab944>. + +--- src/gpgrt-int.h.orig 2014-09-11 10:39:04.000000000 +0100 ++++ src/gpgrt-int.h 2014-09-17 00:14:02.000000000 +0100 +@@ -105,9 +105,9 @@ + + int _gpgrt_fflush (gpgrt_stream_t stream); + int _gpgrt_fseek (gpgrt_stream_t stream, long int offset, int whence); +-int _gpgrt_fseeko (gpgrt_stream_t stream, off_t offset, int whence); ++int _gpgrt_fseeko (gpgrt_stream_t stream, gpgrt_off_t offset, int whence); + long int _gpgrt_ftell (gpgrt_stream_t stream); +-off_t _gpgrt_ftello (gpgrt_stream_t stream); ++gpgrt_off_t _gpgrt_ftello (gpgrt_stream_t stream); + void _gpgrt_rewind (gpgrt_stream_t stream); + + int _gpgrt_fgetc (gpgrt_stream_t stream); |