[Glibc-bsd-commits] r1560 - in trunk/kfreebsd-kernel-headers/debian: . patches

Petr Salinger ps-guest at costa.debian.org
Fri May 5 08:49:48 UTC 2006


Author: ps-guest
Date: 2006-05-05 08:49:46 +0000 (Fri, 05 May 2006)
New Revision: 1560

Added:
   trunk/kfreebsd-kernel-headers/debian/patches/005_sys_exec.diff
Modified:
   trunk/kfreebsd-kernel-headers/debian/changelog
Log:
* do not define PS_STRINGS in <sys/exec.h>
  applications should use the kern.ps_strings sysctl()
  fixes FTBFS of cyrus21-imapd,  cyrus-imapd-2.2



Modified: trunk/kfreebsd-kernel-headers/debian/changelog
===================================================================
--- trunk/kfreebsd-kernel-headers/debian/changelog	2006-05-04 19:47:28 UTC (rev 1559)
+++ trunk/kfreebsd-kernel-headers/debian/changelog	2006-05-05 08:49:46 UTC (rev 1560)
@@ -1,6 +1,7 @@
 kfreebsd-kernel-headers (0.19) UNRELEASED; urgency=low
 
-  * 
+  [ Petr Salinger ]
+  * do not define PS_STRINGS in <sys/exec.h>
 
  -- Aurelien Jarno <aurel32 at debian.org>  Wed,  3 May 2006 23:06:41 +0200
 

Added: trunk/kfreebsd-kernel-headers/debian/patches/005_sys_exec.diff
===================================================================
--- trunk/kfreebsd-kernel-headers/debian/patches/005_sys_exec.diff	2006-05-04 19:47:28 UTC (rev 1559)
+++ trunk/kfreebsd-kernel-headers/debian/patches/005_sys_exec.diff	2006-05-05 08:49:46 UTC (rev 1560)
@@ -0,0 +1,13 @@
+--- sys/sys/exec.h~	2006-05-05 11:35:50.000000000 +0200
++++ sys/sys/exec.h	2006-05-05 11:35:50.000000000 +0200
+@@ -56,7 +56,10 @@
+ /*
+  * Address of ps_strings structure (in user space).
+  */
++/* Applications should use the kern.ps_strings sysctl instead of PS_STRINGS, so ... */
++#if 0    
+ #define	PS_STRINGS	(USRSTACK - sizeof(struct ps_strings))
++#endif
+ #define SPARE_USRSPACE	4096
+ 
+ struct image_params;




More information about the Glibc-bsd-commits mailing list