freebsd-ports/databases/gnats4/files
Vasil Dimov dce3d0d80f databases/gnats4: Fix build failure on FreeBSD 10
gnats/gnats.h contains its own prototypes of asprintf() and vasprintf()
which conflict with the system ones:

In file included from edit.c:21:
./gnats.h:140:12: error: conflicting types for 'asprintf'
extern int asprintf (char **buf, const char *fmt, ...);
          ^
/usr/include/stdio.h:396:6: note: previous declaration is here
int      asprintf(char **, const char *, ...) __printflike(2, 3);

Just remove the prototypes from gnats.h.

Reported by:    miwi@
2013-06-10 08:03:20 +00:00
..
extrapatch-gnats::edit-pr.sh
patch-gnats::Makefile.in
patch-gnats__dbconfig.in
patch-gnats__edit-pr.sh
patch-gnats__gnats.h databases/gnats4: Fix build failure on FreeBSD 10 2013-06-10 08:03:20 +00:00
patch-Makefile.in
patch-send-pr::Makefile.in
patch-send-pr_install-sid.sh