[SM-Commit] GIT changes to master grimoire by Peng Chang (Charles) (ec65ee04152df9e8ad91fbad38f0b5e88d4520b5)

Peng Chang (Charles) scm at sourcemage.org
Tue Jun 30 01:47:41 EDT 2009


GIT changes to master grimoire by Peng Chang (Charles) <chp at sourcemage.org>:

 gnome2-apps/gnome-mount/HISTORY      |    5 +++++
 gnome2-apps/gnome-mount/PRE_BUILD    |    3 +++
 gnome2-apps/gnome-mount/header.patch |   11 +++++++++++
 3 files changed, 19 insertions(+)

New commits:
commit ec65ee04152df9e8ad91fbad38f0b5e88d4520b5
Author: Peng Chang (Charles) <chp at sourcemage.org>
Commit: Peng Chang (Charles) <chp at sourcemage.org>

    gnome-mount: added a patch so that gcc compiles

diff --git a/gnome2-apps/gnome-mount/HISTORY b/gnome2-apps/gnome-mount/HISTORY
index cdd9984..72ef388 100644
--- a/gnome2-apps/gnome-mount/HISTORY
+++ b/gnome2-apps/gnome-mount/HISTORY
@@ -1,3 +1,8 @@
+2009-06-30 Peng Chang (Charles) <chp at sourcemage.org>
+	* header.patch: included the header <locale.h> so that gcc
+	  compiles the package
+	* PRE_BUILD: to apply the patch
+
 2008-09-28 Robin Cook <rcook at wyrms.net>
 	* DETAILS: updated VERSION to 0.8
 	  changed to new SOURCE_URL
diff --git a/gnome2-apps/gnome-mount/PRE_BUILD b/gnome2-apps/gnome-mount/PRE_BUILD
new file mode 100755
index 0000000..37da2ad
--- /dev/null
+++ b/gnome2-apps/gnome-mount/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build     &&
+cd $SOURCE_DIRECTORY  &&
+patch -p1 < $SCRIPT_DIRECTORY/header.patch
diff --git a/gnome2-apps/gnome-mount/header.patch b/gnome2-apps/gnome-mount/header.patch
new file mode 100644
index 0000000..d357b6c
--- /dev/null
+++ b/gnome2-apps/gnome-mount/header.patch
@@ -0,0 +1,11 @@
+diff -uprN gnome-mount-0.8.orig/src/gnome-mount.c gnome-mount-0.8/src/gnome-mount.c
+--- gnome-mount-0.8.orig/src/gnome-mount.c	2009-06-24 08:15:31.000000000 +0800
++++ gnome-mount-0.8/src/gnome-mount.c	2009-06-24 08:16:00.000000000 +0800
+@@ -30,6 +30,7 @@
+ #include <fcntl.h>
+ #include <string.h>
+ #include <stdlib.h>
++#include <locale.h>
+ 
+ #include <dbus/dbus.h>
+ #include <dbus/dbus-glib-lowlevel.h>



More information about the SM-Commit mailing list