Date: Sun, 24 May 2009 20:37:15 +0100 (BST) From: Steven Hartland & <steven.hartland@multiplay.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/134920: Large upgrades from source cause compile errors Message-ID: <200905241937.n4OJbFpu001299@ftp1.multiplay.co.uk> Resent-Message-ID: <200905241940.n4OJe1n5055378@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 134920 >Category: misc >Synopsis: Large upgrades from source cause compile errors >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun May 24 19:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Charlie & >Release: FreeBSD 7.2-RELEASE i386 >Organization: Multiplay >Environment: System: FreeBSD ftp1.multiplay.co.uk 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Sun May 24 19:21:08 BST 2009 root@ftp1.multiplay.co.uk:/usr/obj/usr/src/sys/MULTIPLAY i386 >Description: When upgrading from source between 5.x and 7.x source fails to compile >How-To-Repeat: Upgrade from source between 5.x and 7,x >Fix: Apply the following patch --- /usr/src/include/nl_types.h.orig Sun Nov 9 20:03:59 2008 +++ /usr/src/include/nl_types.h Sun Nov 9 20:04:23 2008 @@ -98,4 +98,7 @@ __BEGIN_DECLS nl_catd catopen(const char *, int); +#ifndef __format_arg +#define __format_arg(a) __attribute__((__format_arg__(a))) +#endif char *catgets(nl_catd, int, int, const char *) __format_arg(4); int catclose(nl_catd); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905241937.n4OJbFpu001299>