misc/134920: Large upgrades from source cause compile errors
Steven Hartland &
steven.hartland at multiplay.co.uk
Sun May 24 19:40:02 UTC 2009
>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 at 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:
More information about the freebsd-bugs
mailing list