[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-24.2.93 build problems
From: |
Paul Eggert |
Subject: |
Re: emacs-24.2.93 build problems |
Date: |
Sat, 02 Mar 2013 16:09:50 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 |
On 03/02/2013 03:00 PM, Nelson H. F. Beebe wrote:
> sysdep.c:2656: error: 'KERN_PROC' undeclared (first use in this function)
Thanks for the heads-up. Yes, we should fix the problem.
Does the following little patch fix the bug? (I don't have
any OpenBSD hosts to play with, unfortunately.)
=== modified file 'src/sysdep.c'
--- src/sysdep.c 2013-01-11 07:47:57 +0000
+++ src/sysdep.c 2013-03-03 00:04:08 +0000
@@ -2649,6 +2649,13 @@ list_system_processes (void)
#elif defined BSD_SYSTEM
+/* OpenBSD 4.9 and earlier do not have KERN_PROC. Approximate it with
+ KERN_PROC2. */
+# ifndef KERN_PROC
+# define KERN_PROC KERN_PROC2
+# define kinfo_proc kinfo_proc2
+# endif
+
Lisp_Object
list_system_processes (void)
{
- emacs-24.2.93 build problems, Nelson H. F. Beebe, 2013/03/02
- Re: emacs-24.2.93 build problems,
Paul Eggert <=
- Re: emacs-24.2.93 build problems, Glenn Morris, 2013/03/04
- Re: emacs-24.2.93 build problems, Jérémie Courrèges-Ang las, 2013/03/04
- Re: emacs-24.2.93 build problems, Glenn Morris, 2013/03/04
- Re: emacs-24.2.93 build problems, Jérémie Courrèges-Ang las, 2013/03/05
- Re: emacs-24.2.93 build problems (on OpenBSD), Jérémie Courrèges-Ang las, 2013/03/05
- Re: emacs-24.2.93 build problems (on OpenBSD), Glenn Morris, 2013/03/05
- Re: emacs-24.2.93 build problems, Glenn Morris, 2013/03/05
- list-system-processes on OpenBSD [was Re: emacs-24.2.93 build problems], Glenn Morris, 2013/03/05
- Re: list-system-processes on OpenBSD [was Re: emacs-24.2.93 build problems], Paul Eggert, 2013/03/05
- Re: list-system-processes on OpenBSD, Glenn Morris, 2013/03/05