Please see the attached patch which should fix both bugs. -- Kind regards, Loong Jin
diff --git a/debian/changelog b/debian/changelog index 92588a2..f12ca94 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +libkarma (0.1.2-2.1) unstable; urgency=low + + * Fix build on non-mono architectures (Closes: #632770) + * Use Debian's default C# compiler (mono-csc) + Thanks to Julian Taylor <jtaylor.deb...@googlemail.com> (Closes: #627299) + + -- Chow Loong Jin <hyper...@ubuntu.com> Wed, 06 Jul 2011 04:55:06 +0800 + libkarma (0.1.2-2) unstable; urgency=low * upload to unstable diff --git a/debian/control b/debian/control index 0c1ee4a..ae96b0f 100644 --- a/debian/control +++ b/debian/control @@ -1,9 +1,8 @@ Source: libkarma Priority: extra Maintainer: Joe Nahmias <je...@debian.org> -Build-Depends: debhelper (>= 7), zlib1g-dev, libtagc0-dev, libusb-dev, - cli-common-dev (>= 0.7) -Build-Depends-Indep: mono-devel (>= 2.4.2.3) +Build-Depends: debhelper (>= 7), zlib1g-dev, libtagc0-dev, libusb-dev +Build-Depends-Indep: mono-devel (>= 2.4.2.3), cli-common-dev (>= 0.7) Standards-Version: 3.9.2 Section: libs Homepage: http://www.freakysoft.de/html/libkarma/ diff --git a/debian/rules b/debian/rules index 0750a1d..c24287a 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,12 @@ #!/usr/bin/make -f +-include /usr/share/cli-common/cli.make + LDFLAGS+=-Wl,--as-needed export LDFLAGS +override_dh_auto_build: + dh_auto_build -- MCS=$(shell which mono-csc) + %: - dh $@ --with cli + dh $@
signature.asc
Description: OpenPGP digital signature