Accepting request 93894 from home:dimstar:branches:GNOME:Factory

- Add gnome-user-share-includes.patch: Include string.h to have
  strcmp defined.

OBS-URL: https://build.opensuse.org/request/show/93894
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-user-share?expand=0&rev=53
This commit is contained in:
Dominique Leuenberger 2011-11-28 08:16:26 +00:00 committed by Git OBS Bridge
parent 184401321a
commit d4e0196f06
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,24 @@
From 7531029125b292fa4843bd3e253b3b18a60806eb Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Sun, 27 Nov 2011 21:01:18 +0100
Subject: [PATCH] Include string.h in order to have strcmp defined.
---
src/user_share-common.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/user_share-common.c b/src/user_share-common.c
index 31389eb..614ffb1 100644
--- a/src/user_share-common.c
+++ b/src/user_share-common.c
@@ -23,6 +23,7 @@
*/
#include "user_share-common.h"
+#include <string.h> // For strcmp
static char *
lookup_special_dir (GUserDirectory directory,
--
1.7.7

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Nov 27 20:02:23 UTC 2011 - dimstar@opensuse.org
- Add gnome-user-share-includes.patch: Include string.h to have
strcmp defined.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 28 13:52:30 UTC 2011 - badshah400@gmail.com Fri Oct 28 13:52:30 UTC 2011 - badshah400@gmail.com

View File

@ -24,6 +24,8 @@ Release: 1
License: GPLv2+ License: GPLv2+
Group: Productivity/Networking/File-Sharing Group: Productivity/Networking/File-Sharing
Source: http://download.gnome.org/sources/gnome-user-share/3.0/%{name}-%{version}.tar.bz2 Source: http://download.gnome.org/sources/gnome-user-share/3.0/%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM gnome-user-share-includes.patch bgo#664929 dimstar@opensuse.org -- Include string.h in order to have strcmp defined.
Patch0: gnome-user-share-includes.patch
# PATCH-FIX-OPENSUSE gnome-user-share-soft-dep-apache.patch vuntz@novell.com -- Hide apache option in the UI if it's not available # PATCH-FIX-OPENSUSE gnome-user-share-soft-dep-apache.patch vuntz@novell.com -- Hide apache option in the UI if it's not available
Patch3: gnome-user-share-soft-dep-apache.patch Patch3: gnome-user-share-soft-dep-apache.patch
Url: http://www.gnome.org/ Url: http://www.gnome.org/
@ -67,6 +69,7 @@ The program also allows to share files using ObexFTP over Bluetooth.
%prep %prep
%setup -q %setup -q
translation-update-upstream translation-update-upstream
%patch0 -p1
%patch3 -p1 %patch3 -p1
%build %build