From: ashish.is@lostca.se (Ashish SHUKLA)
To: 14812@debbugs.gnu.org
Subject: bug#14812: 24.3; build failure on FreeBSD 9.1
Date: Mon, 08 Jul 2013 12:47:45 +0530 [thread overview]
Message-ID: <86zjtxo6zq.fsf@chateau.d.if> (raw)
In-Reply-To: <20953.31888.643192.826383@a1i15.kph.uni-mainz.de>
[-- Attachment #1.1: Type: text/plain, Size: 427 bytes --]
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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: patch-src_lisp.h --]
[-- Type: text/x-chdr, Size: 255 bytes --]
$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>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.3: patch-lib_verify.h --]
[-- Type: text/x-chdr, Size: 449 bytes --]
$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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2013-07-08 7:17 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-07 14:34 bug#14812: 24.3; build failure on FreeBSD 9.1 Ulrich Mueller
2013-07-08 6:17 ` Paul Eggert
2013-07-13 9:35 ` Ulrich Mueller
2013-07-13 9:45 ` Paul Eggert
2013-07-08 7:17 ` Ashish SHUKLA [this message]
2013-07-09 6:40 ` Glenn Morris
2013-07-09 8:42 ` Ashish SHUKLA
2013-07-09 14:04 ` Wolfgang Jenkner
2013-07-09 14:43 ` Paul Eggert
2013-07-09 16:49 ` Wolfgang Jenkner
2013-07-09 18:23 ` Glenn Morris
2013-07-16 18:58 ` Glenn Morris
2013-07-18 6:18 ` Ashish SHUKLA
2013-07-20 0:57 ` Glenn Morris
2013-07-20 5:21 ` Ashish SHUKLA
2013-07-20 7:59 ` Jan Djärv
2013-07-20 9:20 ` Andreas Schwab
2013-07-20 9:38 ` Ashish SHUKLA
2013-07-20 11:31 ` Andreas Schwab
2013-07-22 11:55 ` Andrew W. Nosenko
2013-07-20 19:43 ` Glenn Morris
2013-07-20 20:15 ` Ashish SHUKLA
2013-07-27 1:19 ` Glenn Morris
2013-07-21 16:13 ` Ashish SHUKLA
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86zjtxo6zq.fsf@chateau.d.if \
--to=ashish.is@lostca.se \
--cc=14812@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).