[Pkg-cli-libs-commits] [SCM] clutter-sharp branch, master, updated. debian/1.0.0_alpha3_git20090817.r1.349dba6-3-2-g18fce57

Chow Loong Jin hyperair at ubuntu.com
Sat May 28 16:49:56 UTC 2011


The following commit has been merged in the master branch:
commit ab1e176ebfd25bd4b48eafcd8c4ec36705e29670
Author: Chow Loong Jin <hyperair at ubuntu.com>
Date:   Sat May 28 22:23:52 2011 +0800

    Patch Makefile.am to remove bashisms

diff --git a/debian/patches/Fix-bashism-in-Makefile.patch b/debian/patches/Fix-bashism-in-Makefile.patch
new file mode 100644
index 0000000..46a3bfe
--- /dev/null
+++ b/debian/patches/Fix-bashism-in-Makefile.patch
@@ -0,0 +1,29 @@
+From: Chow Loong Jin <hyperair at ubuntu.com>
+Date: Sat, 28 May 2011 22:20:26 +0800
+Subject: Fix bashism in Makefile
+
+---
+ glib/Makefile.am |    8 +++++---
+ 1 files changed, 5 insertions(+), 3 deletions(-)
+
+diff --git a/glib/Makefile.am b/glib/Makefile.am
+index 9bda459..2773d37 100644
+--- a/glib/Makefile.am
++++ b/glib/Makefile.am
+@@ -17,10 +17,12 @@ patch.dll: patch.cs glib-sharp.dll
+ 	$(MCS) -out:$@ -target:library -nowarn:0169 -r:glib-sharp.dll $<
+ 
+ %.dll:
+-	@for lib in $(GTKSHARP_LIBS); do \
++	for lib in $(GTKSHARP_LIBS); do \
+ 		case "$$lib" in *$@*) \
+-			echo "Copying $${lib:3}"; \
+-			cp `readlink -e $${lib:3}`{,.config} . ;; \
++			slib="$$(expr substr $$lib 4 \( length $$lib \))"; \
++			echo "Copying $$slib"; \
++			rlib="$$(readlink -e $$slib)"; \
++			cp $$rlib $$rlib.config . ;; \
+ 		esac; \
+ 	done
+ 
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index a0f6830..d0863ec 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@ dont-bundle-mdb.patch
 dedup-pc-bundlefiles.patch
 dont-sign.patch
 use-unversioned-ilasm
+Fix-bashism-in-Makefile.patch

-- 
clutter-sharp



More information about the Pkg-cli-libs-commits mailing list