[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) |
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
$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>
$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
Description: PGP signature
- bug#14812: 24.3; build failure on FreeBSD 9.1, Ulrich Mueller, 2013/07/07
- bug#14812: 24.3; build failure on FreeBSD 9.1, Paul Eggert, 2013/07/08
- bug#14812: 24.3; build failure on FreeBSD 9.1,
Ashish SHUKLA <=
- bug#14812: 24.3; build failure on FreeBSD 9.1, Glenn Morris, 2013/07/09
- bug#14812: 24.3; build failure on FreeBSD 9.1, Ashish SHUKLA, 2013/07/09
- bug#14812: 24.3; build failure on FreeBSD 9.1, Wolfgang Jenkner, 2013/07/09
- bug#14812: 24.3; build failure on FreeBSD 9.1, Paul Eggert, 2013/07/09
- bug#14812: 24.3; build failure on FreeBSD 9.1, Wolfgang Jenkner, 2013/07/09
- bug#14812: 24.3; build failure on FreeBSD 9.1, Glenn Morris, 2013/07/09
- bug#14812: 24.3; build failure on FreeBSD 9.1, Glenn Morris, 2013/07/16
- bug#14812: 24.3; build failure on FreeBSD 9.1, Ashish SHUKLA, 2013/07/18
- bug#14812: 24.3; build failure on FreeBSD 9.1, Glenn Morris, 2013/07/19
- bug#14812: 24.3; build failure on FreeBSD 9.1, Ashish SHUKLA, 2013/07/20