all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: "Nelson H. F. Beebe" <beebe@math.utah.edu>, 18666@debbugs.gnu.org
Subject: bug#18666: emacs-24.3.94: Debian GNU/kFreeBSD 7 (wheezy) build issue
Date: Wed, 08 Oct 2014 09:52:11 -0700	[thread overview]
Message-ID: <54356BBB.4030002@cs.ucla.edu> (raw)
In-Reply-To: <CMM.0.94.0.1412769190.beebe@psi.math.utah.edu>

[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

On 10/08/2014 04:53 AM, Nelson H. F. Beebe wrote:
> The solution was simple:
>
>      % diff src/process.c.~1~ src/process.c
>      176c176
>      < static int
>      ---
>      > /* static */ int
>

Thanks, but I'd rather not do that, as it might override some system's 
accept4 function which other parts of that system's library might depend on.

Does the attached alternative patch work for you?  Or, to save you some 
time, since I can log into the Utah VMs perhaps you can give me the 
current list of VMs so that I can try it out myself?  I don't know which 
VM is the one that illustrates the problem.

Thanks.


[-- Attachment #2: kfreebsd.diff --]
[-- Type: text/x-patch, Size: 304 bytes --]

=== modified file 'src/process.c'
--- src/process.c	2014-05-03 20:13:10 +0000
+++ src/process.c	2014-10-08 16:42:40 +0000
@@ -173,6 +173,9 @@
   return fd;
 }
 
+#undef accept4
+#define accept4 process_accept4
+
 static int
 accept4 (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)
 {


  parent reply	other threads:[~2014-10-08 16:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-08 11:53 emacs-24.3.94: Debian GNU/kFreeBSD 7 (wheezy) build issue Nelson H. F. Beebe
2014-10-08 15:50 ` Glenn Morris
2014-10-08 16:52 ` Paul Eggert [this message]
2014-10-08 11:53   ` bug#18666: " Nelson H. F. Beebe
2014-10-08 17:10     ` Wolfgang Jenkner
2014-10-10 16:15     ` Glenn Morris
2014-10-10 18:03       ` Paul Eggert

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54356BBB.4030002@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=18666@debbugs.gnu.org \
    --cc=beebe@math.utah.edu \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.