r34212 - in /desktop/unstable/libgtop2/debian: changelog patches/06_kfreebsd_sys_pipe.patch patches/series

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Fri Apr 13 18:05:37 UTC 2012


Author: biebl
Date: Fri Apr 13 18:05:36 2012
New Revision: 34212

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=34212
Log:
debian/patches/06_kfreebsd_sys_pipe.patch: Don't include sys/pipe.h on
kFreeBSD. Defining _KERNEL to include sys/pipe.h subsequently breaks
sys/conf.h; since sys/pipe.h is not meant to be used in userland, and
libgtop2 builds anyway on kFreeBSD without it, don't include it.
Thanks to Steven Chamberlain for the patch. Closes: #667984

Added:
    desktop/unstable/libgtop2/debian/patches/06_kfreebsd_sys_pipe.patch
Modified:
    desktop/unstable/libgtop2/debian/changelog
    desktop/unstable/libgtop2/debian/patches/series

Modified: desktop/unstable/libgtop2/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libgtop2/debian/changelog?rev=34212&op=diff
==============================================================================
--- desktop/unstable/libgtop2/debian/changelog [utf-8] (original)
+++ desktop/unstable/libgtop2/debian/changelog [utf-8] Fri Apr 13 18:05:36 2012
@@ -1,3 +1,13 @@
+libgtop2 (2.28.4-3) UNRELEASED; urgency=low
+
+  * debian/patches/06_kfreebsd_sys_pipe.patch: Don't include sys/pipe.h on
+    kFreeBSD. Defining _KERNEL to include sys/pipe.h subsequently breaks
+    sys/conf.h; since sys/pipe.h is not meant to be used in userland, and
+    libgtop2 builds anyway on kFreeBSD without it, don't include it.
+    Thanks to Steven Chamberlain for the patch. Closes: #667984
+
+ -- Michael Biebl <biebl at debian.org>  Fri, 13 Apr 2012 19:59:36 +0200
+
 libgtop2 (2.28.4-2) unstable; urgency=low
 
   * debian/watch: Track .xz tarballs.

Added: desktop/unstable/libgtop2/debian/patches/06_kfreebsd_sys_pipe.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libgtop2/debian/patches/06_kfreebsd_sys_pipe.patch?rev=34212&op=file
==============================================================================
--- desktop/unstable/libgtop2/debian/patches/06_kfreebsd_sys_pipe.patch (added)
+++ desktop/unstable/libgtop2/debian/patches/06_kfreebsd_sys_pipe.patch [utf-8] Fri Apr 13 18:05:36 2012
@@ -1,0 +1,22 @@
+Description: Don't include sys/pipe.h on kFreeBSD
+ Defining _KERNEL to include sys/pipe.h subsequently breaks sys/conf.h;
+ since sys/pipe.h is not meant to be used in userland, and libgtop2 builds
+ anyway on kFreeBSD without it, don't include it.
+Author: Steven Chamberlain <steven at pyro.eu.org>
+Bug-Debian: http://bugs.debian.org/667984
+
+Index: libgtop2-2.28.4/sysdeps/freebsd/procmap.c
+===================================================================
+--- libgtop2-2.28.4.orig/sysdeps/freebsd/procmap.c	2012-04-07 22:49:20.000000000 +0100
++++ libgtop2-2.28.4/sysdeps/freebsd/procmap.c	2012-04-07 22:51:00.163079809 +0100
+@@ -38,10 +38,7 @@
+ #include <sys/vnode.h>
+ #undef _KVM_VNODE
+ 
+-#define _KERNEL
+-#include <sys/pipe.h>
+ #include <sys/conf.h>
+-#undef _KERNEL
+ #if (__FreeBSD_version >= 800038) || (__FreeBSD_kernel_version >= 800038)
+ #define _WANT_FILE
+ #include <sys/file.h>

Modified: desktop/unstable/libgtop2/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libgtop2/debian/patches/series?rev=34212&op=diff
==============================================================================
--- desktop/unstable/libgtop2/debian/patches/series [utf-8] (original)
+++ desktop/unstable/libgtop2/debian/patches/series [utf-8] Fri Apr 13 18:05:36 2012
@@ -3,4 +3,5 @@
 03_kfreebsd_installdirs.patch
 04_kfreebsd_version_check.patch
 05_kfreebsd_8.0.patch
+06_kfreebsd_sys_pipe.patch
 99_ltmain_as-needed.patch




More information about the pkg-gnome-commits mailing list