diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-25 07:23:02 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-25 07:23:02 +0000 |
commit | f5580842034722de1c63d15625f259c5341b0cb1 (patch) | |
tree | 3dcee46ec1b0a31e07b78b4539a6f3d6b88a329c /main/dahdi-linux/wget-tar.patch | |
parent | 1e7362885e20bddbfb89de4feb6987417da8aab1 (diff) | |
download | aports-f5580842034722de1c63d15625f259c5341b0cb1.tar.bz2 aports-f5580842034722de1c63d15625f259c5341b0cb1.tar.xz |
main/dahdi-linux: build fix. dont build in parallel
and dont depend on gnu wget and tar
Diffstat (limited to 'main/dahdi-linux/wget-tar.patch')
-rw-r--r-- | main/dahdi-linux/wget-tar.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/main/dahdi-linux/wget-tar.patch b/main/dahdi-linux/wget-tar.patch new file mode 100644 index 000000000..ca3ebfa35 --- /dev/null +++ b/main/dahdi-linux/wget-tar.patch @@ -0,0 +1,29 @@ +--- ./drivers/dahdi/firmware/Makefile.orig ++++ ./drivers/dahdi/firmware/Makefile +@@ -60,7 +60,7 @@ + + # If "fetch" is used, --continue is not a valid option. + ifeq ($(WGET),wget) +-WGET_ARGS:=--continue ++WGET_ARGS:=-c + endif + + all: $(FIRMWARE) +@@ -82,7 +82,7 @@ + echo "Attempting to download $@"; \ + if test ! -f $@; then $(DOWNLOAD) $(WGET_ARGS) $(FIRMWARE_URL)/$@; fi; \ + if test ! -f $@; then exit 1; fi; \ +- (cat $@ | gzip -d | tar --no-same-owner -xf -) \ ++ (cat $@ | gzip -d | tar -xf -) \ + fi + + firmware-loaders: $(FWLOADERS) +@@ -91,7 +91,7 @@ + dahdi-fwload-vpmadt032-$(VPMADT032_VERSION).tar.gz: + @if test ! -f $@; then echo "Attempting to download $@"; $(DOWNLOAD) $(WGET_ARGS) $(FIRMWARE_URL)/$@; fi; \ + if test ! -f $@; then exit 1; fi; \ +- (cd ../../..; cat drivers/dahdi/firmware/$@ | gzip -d | tar --no-same-owner -xf -) ++ (cd ../../..; cat drivers/dahdi/firmware/$@ | gzip -d | tar -xf -) + + # Create object files suitable for linking against + object-build: $(FIRMWARE) $(OBJECT_FILES) |