[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14812: 24.3; build failure on FreeBSD 9.1

From: Ashish SHUKLA
Subject: bug#14812: 24.3; build failure on FreeBSD 9.1
Date: Mon, 08 Jul 2013 12:47:45 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (amd64-portbld-freebsd9.1)


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.

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


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

Sent from my Emacs

--- src/lisp.h.orig
+++ src/lisp.h
@@ -21,6 +21,10 @@
 #define EMACS_LISP_H
 #include <setjmp.h>
+#ifdef __FreeBSD__
+#undef _Alignof
+#undef _Alignas
 #include <stdalign.h>
 #include <stdarg.h>
 #include <stdbool.h>

--- 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
 /* 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.

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]