From: Holger Freyther Date: Sun, 9 Apr 2006 14:16:59 +0000 (+0000) Subject: packages/quilt: X-Git-Tag: Release-2010-05/1~9453^2~2088 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcd9acc900b9938b76201e01d1a77ac9ca06579b;p=openembedded.git packages/quilt: Be buildable on non GNU systems. This patch was mainly taken from the quilt mailing lists. --- diff --git a/packages/quilt/files/non-gnu.patch b/packages/quilt/files/non-gnu.patch new file mode 100644 index 0000000000..8b07bc2923 --- /dev/null +++ b/packages/quilt/files/non-gnu.patch @@ -0,0 +1,13 @@ +Index: quilt/Makefile.in +=================================================================== +--- quilt.orig/Makefile.in ++++ quilt/Makefile.in +@@ -216,7 +216,7 @@ + -e 's:@LOCALEDIR''@:$(localedir):g' \ + -e 's:@DOCSUBDIR''@:$(docdir)/$(PACKAGE)-$(VERSION):g' \ + $< > $@ +- @chmod --reference=$< $@ ++ @chmod `stat -f "%p" $<` $@ + + Makefile : Makefile.in + @echo "Please run ./configure by hand" diff --git a/packages/quilt/quilt-native_0.42.bb b/packages/quilt/quilt-native_0.42.bb index 19b4a3b865..959bcfcb57 100644 --- a/packages/quilt/quilt-native_0.42.bb +++ b/packages/quilt/quilt-native_0.42.bb @@ -7,7 +7,8 @@ RDEPENDS_${PN} = "diffstat-native patch-native bzip2-native" SRC_URI = "cvs://anonymous@cvs.savannah.nongnu.org/cvsroot/quilt;method=pserver;module=quilt;tag=VER_${@(bb.data.getVar('PV', d, 1) or '').replace('.', '_')} \ file://install.patch;patch=1 \ file://nostrip.patch;patch=1 \ - file://autoreconf.patch;patch=1" + file://autoreconf.patch;patch=1 \ + file://non-gnu.patch;patch=1 " S = "${WORKDIR}/quilt" inherit autotools native diff --git a/packages/quilt/quilt_0.42.bb b/packages/quilt/quilt_0.42.bb index 44a0d9529b..d4be31a02a 100644 --- a/packages/quilt/quilt_0.42.bb +++ b/packages/quilt/quilt_0.42.bb @@ -2,7 +2,8 @@ include quilt.inc SRC_URI = "cvs://anonymous@cvs.savannah.nongnu.org/cvsroot/quilt;method=pserver;module=quilt;tag=VER_${@(bb.data.getVar('PV', d, 1) or '').replace('.', '_')} \ file://install.patch;patch=1 \ - file://nostrip.patch;patch=1" + file://nostrip.patch;patch=1 \ + file://non-gnu.patch;patch=1 " S = "${WORKDIR}/quilt" inherit autotools gettext