r37222 - in /desktop/experimental/gnome-settings-daemon/debian: changelog patches/08-Fix-build-on-non-Linux-platforms.patch patches/series

pochu at users.alioth.debian.org pochu at users.alioth.debian.org
Sun Mar 24 20:59:47 UTC 2013


Author: pochu
Date: Sun Mar 24 20:59:46 2013
New Revision: 37222

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=37222
Log:
* debian/patches/08-Fix-build-on-non-Linux-platforms.patch:
  + Fix the build on kfreebsd and hurd by including stdlib.h
    before using NULL.

Added:
    desktop/experimental/gnome-settings-daemon/debian/patches/08-Fix-build-on-non-Linux-platforms.patch
Modified:
    desktop/experimental/gnome-settings-daemon/debian/changelog
    desktop/experimental/gnome-settings-daemon/debian/patches/series

Modified: desktop/experimental/gnome-settings-daemon/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gnome-settings-daemon/debian/changelog?rev=37222&op=diff
==============================================================================
--- desktop/experimental/gnome-settings-daemon/debian/changelog [utf-8] (original)
+++ desktop/experimental/gnome-settings-daemon/debian/changelog [utf-8] Sun Mar 24 20:59:46 2013
@@ -1,3 +1,11 @@
+gnome-settings-daemon (3.7.92-1.1) UNRELEASED; urgency=low
+
+  * debian/patches/08-Fix-build-on-non-Linux-platforms.patch:
+    + Fix the build on kfreebsd and hurd by including stdlib.h
+      before using NULL.
+
+ -- Emilio Pozuelo Monfort <pochu at debian.org>  Sun, 24 Mar 2013 21:57:44 +0100
+
 gnome-settings-daemon (3.7.92-1) experimental; urgency=low
 
   [ Andreas Henriksson ]

Added: desktop/experimental/gnome-settings-daemon/debian/patches/08-Fix-build-on-non-Linux-platforms.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gnome-settings-daemon/debian/patches/08-Fix-build-on-non-Linux-platforms.patch?rev=37222&op=file
==============================================================================
--- desktop/experimental/gnome-settings-daemon/debian/patches/08-Fix-build-on-non-Linux-platforms.patch (added)
+++ desktop/experimental/gnome-settings-daemon/debian/patches/08-Fix-build-on-non-Linux-platforms.patch [utf-8] Sun Mar 24 20:59:46 2013
@@ -1,0 +1,28 @@
+From e3decb2a02ef2704bd395992bbc94d130c0c91f7 Mon Sep 17 00:00:00 2001
+From: Emilio Pozuelo Monfort <pochu27 at gmail.com>
+Date: Sun, 24 Mar 2013 21:38:17 +0100
+Subject: [PATCH] Fix build on non-Linux platforms
+
+We need stdlib.h to get the definition of NULL.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=696515
+---
+ plugins/power/gsd-backlight-linux.c |    2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/plugins/power/gsd-backlight-linux.c b/plugins/power/gsd-backlight-linux.c
+index f8f91a0..bbaf490 100644
+--- a/plugins/power/gsd-backlight-linux.c
++++ b/plugins/power/gsd-backlight-linux.c
+@@ -19,6 +19,8 @@
+  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+  */
+ 
++#include <stdlib.h>
++
+ #include "config.h"
+ 
+ #include "gsd-backlight-linux.h"
+-- 
+1.7.10.4
+

Modified: desktop/experimental/gnome-settings-daemon/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gnome-settings-daemon/debian/patches/series?rev=37222&op=diff
==============================================================================
--- desktop/experimental/gnome-settings-daemon/debian/patches/series [utf-8] (original)
+++ desktop/experimental/gnome-settings-daemon/debian/patches/series [utf-8] Sun Mar 24 20:59:46 2013
@@ -1,2 +1,3 @@
 04_superP.patch
 05_disable_cursor_manager.patch
+08-Fix-build-on-non-Linux-platforms.patch




More information about the pkg-gnome-commits mailing list