commit gjs for openSUSE:12.2
Hello community, here is the log from the commit of package gjs for openSUSE:12.2 checked in at 2012-06-29 11:30:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.2/gjs (Old) and /work/SRC/openSUSE:12.2/.gjs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gjs", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:12.2/gjs/gjs.changes 2012-06-25 15:20:13.000000000 +0200 +++ /work/SRC/openSUSE:12.2/.gjs.new/gjs.changes 2012-06-29 11:30:59.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Jun 28 21:14:51 UTC 2012 - dimstar@opensuse.org + +- Add gjs-getpid_uid_gid.patch: system: add getpid(), getuid(), + getgid(). + +------------------------------------------------------------------- New: ---- gjs-getpid_uid_gid.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gjs.spec ++++++ --- /var/tmp/diff_new_pack.o9yEj5/_old 2012-06-29 11:30:59.000000000 +0200 +++ /var/tmp/diff_new_pack.o9yEj5/_new 2012-06-29 11:30:59.000000000 +0200 @@ -25,6 +25,8 @@ Group: Development/Libraries/GNOME Url: http://live.gnome.org/Gjs Source: http://download.gnome.org/sources/gjs/1.32/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM gjs-getpid_uid_gid.patch bnc#751211 bgo#646187 dimstar@opensuse.org -- Add getpid(), getuid() getgid(), taken from upstream git. +Patch0: gjs-getpid_uid_gid.patch BuildRequires: gcc-c++ BuildRequires: python BuildRequires: readline-devel @@ -73,6 +75,7 @@ %prep %setup -q +%patch0 -p1 %build %configure \ ++++++ gjs-getpid_uid_gid.patch ++++++
From 457a90fecc74c0a36da1b9252c9f9028932f42a0 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna
Date: Tue, 7 Feb 2012 15:36:26 +0100 Subject: [PATCH] system: add getpid(), getuid(), getgid()
These functions are useful sometimes (for example when building
a PolkitSubject), and have no equivalent in GLib, therefore it's
appropriate to place them in the system module.
https://bugzilla.gnome.org/show_bug.cgi?id=646187
---
modules/system.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
diff --git a/modules/system.c b/modules/system.c
index ea8a9a8..c7c5b5c 100644
--- a/modules/system.c
+++ b/modules/system.c
@@ -24,6 +24,9 @@
#include
participants (1)
-
root@hilbert.suse.de