diff options
author | wiz <wiz> | 2012-03-14 22:51:14 +0000 |
---|---|---|
committer | wiz <wiz> | 2012-03-14 22:51:14 +0000 |
commit | cf6bd6e938b31504ff540bb2b6747069f6878e3f (patch) | |
tree | c8c43f3dfe56aa3574836912cbc3cc0abf2448e6 /devel | |
parent | eaeb0b3574b68ed7cd84435ce8869f48b09d4750 (diff) | |
download | pkgsrc-cf6bd6e938b31504ff540bb2b6747069f6878e3f.tar.gz |
Fix build on NetBSD-current, per patch from Kai-Uwe Eckhardt in PR 46045.
Set LICENSE while here.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/autogen/Makefile | 3 | ||||
-rw-r--r-- | devel/autogen/distinfo | 3 | ||||
-rw-r--r-- | devel/autogen/patches/patch-agen5_fmemopen.c | 21 |
3 files changed, 25 insertions, 2 deletions
diff --git a/devel/autogen/Makefile b/devel/autogen/Makefile index 295e513c9f0..3b9a082d5e6 100644 --- a/devel/autogen/Makefile +++ b/devel/autogen/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2011/07/08 11:44:02 drochner Exp $ +# $NetBSD: Makefile,v 1.32 2012/03/14 22:51:14 wiz Exp $ DISTNAME= autogen-5.12 CATEGORIES= devel @@ -9,6 +9,7 @@ EXTRACT_SUFX= .tar.bz2 MAINTAINER= kristerw@NetBSD.org HOMEPAGE= http://autogen.sourceforge.net/ COMMENT= The Automated Text and Program Generation Tool +LICENSE= gnu-gpl-v3 PKG_DESTDIR_SUPPORT= user-destdir diff --git a/devel/autogen/distinfo b/devel/autogen/distinfo index 9f00db4b175..4df00ea3aee 100644 --- a/devel/autogen/distinfo +++ b/devel/autogen/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.12 2011/10/04 15:29:34 drochner Exp $ +$NetBSD: distinfo,v 1.13 2012/03/14 22:51:14 wiz Exp $ SHA1 (autogen-5.12.tar.bz2) = 3212cf32da9ba2866e1566e78dac3867ee247ac2 RMD160 (autogen-5.12.tar.bz2) = b00ab61cf0b47fb53039fa680071382c34b51f65 @@ -7,3 +7,4 @@ SHA1 (patch-ab) = 095ad72ef6ac6b1f3677a9898d8788c5ff60f4e0 SHA1 (patch-ac) = 2a37cc72d2affbb8d99d3d23d0e6782a013cfec4 SHA1 (patch-ad) = 3bb19c5e15768335bf5ae11be3803b2587298fa3 SHA1 (patch-ae) = 7249600bfc3cdcafdf55a100db775e9d1a9403f0 +SHA1 (patch-agen5_fmemopen.c) = 849e330a2e4661e2e0097995952ba01fc2972b5d diff --git a/devel/autogen/patches/patch-agen5_fmemopen.c b/devel/autogen/patches/patch-agen5_fmemopen.c new file mode 100644 index 00000000000..7bc89aa24d2 --- /dev/null +++ b/devel/autogen/patches/patch-agen5_fmemopen.c @@ -0,0 +1,21 @@ +$NetBSD: patch-agen5_fmemopen.c,v 1.1 2012/03/14 22:51:14 wiz Exp $ + +--- agen5/fmemopen.c.orig 2011-06-26 14:39:38.000000000 +0000 ++++ agen5/fmemopen.c +@@ -61,13 +61,13 @@ typedef struct { + typedef int seek_ret_t; + + #elif defined(HAVE_FUNOPEN) +- typedef fpos_t seek_off_t; +- typedef fpos_t seek_ret_t; ++ typedef off_t seek_off_t; ++ typedef off_t seek_ret_t; + + # ifdef NEED_COOKIE_FUNCTION_TYPEDEFS + typedef int (cookie_read_function_t )(void *, char *, int); + typedef int (cookie_write_function_t)(void *, char const *, int); +- typedef fpos_t (cookie_seek_function_t )(void *, fpos_t, int); ++ typedef off_t (cookie_seek_function_t )(void *, off_t, int); + typedef int (cookie_close_function_t)(void *); + # endif /* NEED_COOKIE_FUNCTION_TYPEDEFS */ + #endif |