[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacsclient.c build on FreeBSD
From: |
Giorgos Keramidas |
Subject: |
Re: emacsclient.c build on FreeBSD |
Date: |
Sun, 14 Dec 2008 03:07:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) |
On Sun, 14 Dec 2008 03:02:12 +0200, Giorgos Keramidas <address@hidden> wrote:
> Hi Dan,
>
> This change:
>
> : 2008-12-10 Dan Nicolaescu <address@hidden>
> :
> : * emacsclient.c (print_help_and_exit): Describe what an empty
> : string argument does for --alternate-editor.
> : (set_socket): Make it possible to not exit in case of an error.
> : (start_daemon_and_retry_set_socket): New function.
> : (main): Use it. Restore the NULL value for socket_name and
> : server_file after the set_socket call.
>
> needs a small patch to build on FreeBSD/i386:
A more complete patch, including a ChangeLog entry is:
%%%
diff -r 1d6f7d6431ac lib-src/ChangeLog
--- a/lib-src/ChangeLog Sun Dec 14 02:39:37 2008 +0200
+++ b/lib-src/ChangeLog Sun Dec 14 03:06:52 2008 +0200
@@ -1,3 +1,8 @@
+2008-12-14 Giorgos Keramidas <address@hidden> (tiny change)
+
+ * lib-src/emacsclient.c: Add <sys/wait.h> to pull in a definition of
+ WUNTRACED on FreeBSD.
+
2008-12-11 dhruva <address@hidden> (tiny change)
* emacsclient.c (WCONTINUED): New compatibility define for older
systems.
diff -r 1d6f7d6431ac lib-src/emacsclient.c
--- a/lib-src/emacsclient.c Sun Dec 14 02:39:37 2008 +0200
+++ b/lib-src/emacsclient.c Sun Dec 14 03:06:52 2008 +0200
@@ -42,6 +42,7 @@
#else /* !WINDOWSNT */
# include <sys/types.h>
+# include <sys/wait.h>
# ifdef HAVE_INET_SOCKETS
# include <netinet/in.h>
%%%