pkgsrc/devel/autogen/patches/patch-agen5_fmemopen.c
wiz a5619b17c8 Update autogen to 5.18.10.
Switch from guile (1.8) to guile20.

Clean up some pkglint.

New in 5.18.10 - May 2016

* NUL terminate CGI definitions text

New in 5.18.9 April 2016

* When parsing CGI, do not allow spaces to be lost
* In producing usage text, check more rigorously that
  option "values" are really not flag characters.

New in 5.18.8 March 2016

* Ensure testing vars start as unset for testing
* happy new year & de-uglifications

New in 5.18.7 December 2015

* Guile 1.6 support was removed
* bootstrapping was made idempotent
* add --enable-static-autogen config option
* add (max-file-time) scheme function (max source file time)
* Allow MAN_PAGE_DATE to override using the date program in
  man page templates
* Enable byte-for-byte build reproducibility
2016-07-16 20:00:14 +00:00

23 lines
842 B
C

$NetBSD: patch-agen5_fmemopen.c,v 1.2 2016/07/16 20:00:14 wiz Exp $
NetBSD portability fix.
--- 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