summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-09 02:05:31 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-09 02:05:31 +0800
commit816abf507412e70e9792e0be672e5aab40838353 (patch)
tree4df2e19e1e3fe09f99377cac89fa925edc9b5658
parentc06a3047e3b325a4b49151b2c15ea9fec8946bd0 (diff)
downloadmarcuscom-ports-816abf507412e70e9792e0be672e5aab40838353.tar
marcuscom-ports-816abf507412e70e9792e0be672e5aab40838353.tar.gz
marcuscom-ports-816abf507412e70e9792e0be672e5aab40838353.tar.bz2
marcuscom-ports-816abf507412e70e9792e0be672e5aab40838353.tar.lz
marcuscom-ports-816abf507412e70e9792e0be672e5aab40838353.tar.xz
marcuscom-ports-816abf507412e70e9792e0be672e5aab40838353.tar.zst
marcuscom-ports-816abf507412e70e9792e0be672e5aab40838353.zip
Fix the build on months > July but < October and days > 7 but less than 10.
Weird, huh? Obtained from: GNOME SVN git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9151 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--x11/gnome-session/files/patch-configure18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11/gnome-session/files/patch-configure b/x11/gnome-session/files/patch-configure
new file mode 100644
index 000000000..2029c3226
--- /dev/null
+++ b/x11/gnome-session/files/patch-configure
@@ -0,0 +1,18 @@
+--- configure.orig 2007-07-08 14:01:31.000000000 -0400
++++ configure 2007-07-08 14:03:25.000000000 -0400
+@@ -27209,13 +27209,13 @@ fi
+
+
+
+-GNOME_SESSION_TARBALL=`date +%d`
++GNOME_SESSION_TARBALL=`date +%e`
+
+ cat >>confdefs.h <<_ACEOF
+ #define GNOME_SESSION_TARBALL_DAY $GNOME_SESSION_TARBALL
+ _ACEOF
+
+-GNOME_SESSION_TARBALL=`date +%m`
++GNOME_SESSION_TARBALL=`date +%m | sed 's/^0//'`
+
+ cat >>confdefs.h <<_ACEOF
+ #define GNOME_SESSION_TARBALL_MONTH $GNOME_SESSION_TARBALL