GNU bug report logs - #14812
24.3; build failure on FreeBSD 9.1

Previous Next

Package: emacs;

Reported by: Ulrich Mueller <ulm <at> gentoo.org>

Date: Sun, 7 Jul 2013 14:36:01 UTC

Severity: important

Found in version 24.3

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 14812 <at> debbugs.gnu.org (full text, mbox):

From: ashish.is <at> lostca.se (Ashish SHUKLA)
To: 14812 <at> debbugs.gnu.org
Subject: Re: 24.3; build failure on FreeBSD 9.1
Date: Mon, 08 Jul 2013 12:47:45 +0530
[Message part 1 (text/plain, inline)]
Hi,

I'm the maintainer of editors/emacs* FreeBSD ports, and I'd couple of patches
which are present in FreeBSD ports tree[1]. For this problem, I'm attaching
the patches.

References:
[1]  http://svnweb.freebsd.org/ports/head/editors/emacs-devel/files/

Thanks
-- 
Ashish SHUKLA

“Maxwell's equations have had a greater impact on human history than any ten
presidents.” ("Carl Sagan")

Sent from my Emacs
[patch-src_lisp.h (text/x-chdr, inline)]
$FreeBSD$

--- src/lisp.h.orig
+++ src/lisp.h
@@ -21,6 +21,10 @@
 #define EMACS_LISP_H
 
 #include <setjmp.h>
+#ifdef __FreeBSD__
+#undef _Alignof
+#undef _Alignas
+#endif
 #include <stdalign.h>
 #include <stdarg.h>
 #include <stdbool.h>
[patch-lib_verify.h (text/x-chdr, inline)]
$FreeBSD$

--- lib/verify.h.orig
+++ lib/verify.h
@@ -21,6 +21,11 @@
 # define _GL_VERIFY_H
 
 
+// undefine the _Static_assert definition present in <sys/cdefs.h>
+#ifdef __FreeBSD__
+#undef _Static_assert
+#endif
+
 /* Define _GL_HAVE__STATIC_ASSERT to 1 if _Static_assert works as per C11.
    This is supported by GCC 4.6.0 and later, in C mode, and its use
    here generates easier-to-read diagnostics when verify (R) fails.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 11 years and 353 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.