File: 0007-curl.patch

package info (click to toggle)
lua-curl 0.3.0-13
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 312 kB
  • sloc: ansic: 1,106; makefile: 159
file content (15 lines) | stat: -rw-r--r-- 544 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Fix FTBFS with new curl
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1114192

--- lua-curl-0.3.0.orig/Makefile
+++ lua-curl-0.3.0/Makefile
@@ -153,7 +153,7 @@ curl_ftpmethods.h:$(HEADER)
 	$(H)cat $(HEADER) | grep -B10 '} curl_ftpmethod' | \
 		grep "CURLFTPMETHOD_" | \
 		grep -v "LAST.*never use" | \
-		sed "s/^ *CURL//" | sed "s/^\([^,]*\),.*$$/{\"\1\",CURL\1},/" \
+		sed "s/,//g" | sed "s/^ *CURL//" | sed "s/^\([^,]*\),.*$$/{\"\1\",CURL\1},/" \
 		> curl_ftpmethods.h
 
 curl_form.h: $(HEADER)