summaryrefslogtreecommitdiffstats
path: root/main/dahdi-linux/wget-tar.patch
blob: ca3ebfa35d72448b731c9a7db789040ab137be44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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)