Forgot -p0 option to patch corrected

This commit is contained in:
Anthony Scemama 2015-01-12 17:30:39 +01:00
parent bb56f87271
commit dbe5d038d7
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
--- src/tool_getparam.c.old 2015-01-12 17:18:15.149251979 +0100
--- src/tool_getparam.c 2015-01-12 17:18:15.149251979 +0100
+++ src/tool_getparam.c 2015-01-12 17:18:39.397148081 +0100
@@ -227,7 +227,7 @@
{"I", "head", FALSE},

View File

@ -12,8 +12,7 @@ then
${QPACKAGE_ROOT}/scripts/fetch_from_web.py ${CURL_URL} CURL.tar.gz
tar -zxf CURL.tar.gz && rm CURL.tar.gz ||exit 1
cd curl* || exit 1
cp src/tool_getparam.c src/tool_getparam.c.old
patch -f < ../data/curl_insecure_patch.txt
patch -p0 -f < ../data/curl_insecure_patch.txt
./configure && make || exit 1
ln -s ${PWD}/src/curl ${QPACKAGE_ROOT}/bin
else