diff mbox series

wsapi: fix broken patch

Message ID 20170927083224.12098-1-francois.perrad@gadz.org
State Superseded
Headers show
Series wsapi: fix broken patch | expand

Commit Message

Francois Perrad Sept. 27, 2017, 8:32 a.m. UTC
see http://autobuild.buildroot.net/results/f03/f03c9a33289ab3104f30c3da98673ad6321db46b/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 package/wsapi/0001-Lua-5.3-compatibility.patch | 32 +++++++++-----------------
 1 file changed, 11 insertions(+), 21 deletions(-)

Comments

Thomas Petazzoni Sept. 27, 2017, 8:58 a.m. UTC | #1
Hello,

On Wed, 27 Sep 2017 10:32:24 +0200, Francois Perrad wrote:
> see http://autobuild.buildroot.net/results/f03/f03c9a33289ab3104f30c3da98673ad6321db46b/
> 
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
>  package/wsapi/0001-Lua-5.3-compatibility.patch | 32 +++++++++-----------------
>  1 file changed, 11 insertions(+), 21 deletions(-)
> 
> diff --git a/package/wsapi/0001-Lua-5.3-compatibility.patch b/package/wsapi/0001-Lua-5.3-compatibility.patch
> index d55c81880..7cc65e116 100644
> --- a/package/wsapi/0001-Lua-5.3-compatibility.patch
> +++ b/package/wsapi/0001-Lua-5.3-compatibility.patch
> @@ -1,21 +1,14 @@
> -From 2d824d2fce31b6a9cc60b2c3f215fbbf1d99c611 Mon Sep 17 00:00:00 2001
> -From: mpeterv <mpeterval@gmail.com>
> -Date: Thu, 3 Dec 2015 13:10:14 +0300
> -Subject: [PATCH] Lua 5.3 compatibility
> +Lua 5.3 compatibility

Please keep a Git-formatted patch. Thanks.

Thomas
Arnout Vandecappelle Sept. 27, 2017, 7:10 p.m. UTC | #2
On 27-09-17 10:58, Thomas Petazzoni wrote:
> Hello,
> 
> On Wed, 27 Sep 2017 10:32:24 +0200, Francois Perrad wrote:
>> see http://autobuild.buildroot.net/results/f03/f03c9a33289ab3104f30c3da98673ad6321db46b/
>>
>> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
>> ---
>>  package/wsapi/0001-Lua-5.3-compatibility.patch | 32 +++++++++-----------------
>>  1 file changed, 11 insertions(+), 21 deletions(-)
>>
>> diff --git a/package/wsapi/0001-Lua-5.3-compatibility.patch b/package/wsapi/0001-Lua-5.3-compatibility.patch
>> index d55c81880..7cc65e116 100644
>> --- a/package/wsapi/0001-Lua-5.3-compatibility.patch
>> +++ b/package/wsapi/0001-Lua-5.3-compatibility.patch
>> @@ -1,21 +1,14 @@
>> -From 2d824d2fce31b6a9cc60b2c3f215fbbf1d99c611 Mon Sep 17 00:00:00 2001
>> -From: mpeterv <mpeterval@gmail.com>
>> -Date: Thu, 3 Dec 2015 13:10:14 +0300
>> -Subject: [PATCH] Lua 5.3 compatibility
>> +Lua 5.3 compatibility
> 
> Please keep a Git-formatted patch. Thanks.

 Which you can do with:

git format-patch -N --src-prefix=a/wsapi-1.6.1 --dst-prefix=b/wsapi-1.6.1


 Regards,
 Arnout

> 
> Thomas
>
diff mbox series

Patch

diff --git a/package/wsapi/0001-Lua-5.3-compatibility.patch b/package/wsapi/0001-Lua-5.3-compatibility.patch
index d55c81880..7cc65e116 100644
--- a/package/wsapi/0001-Lua-5.3-compatibility.patch
+++ b/package/wsapi/0001-Lua-5.3-compatibility.patch
@@ -1,21 +1,14 @@ 
-From 2d824d2fce31b6a9cc60b2c3f215fbbf1d99c611 Mon Sep 17 00:00:00 2001
-From: mpeterv <mpeterval@gmail.com>
-Date: Thu, 3 Dec 2015 13:10:14 +0300
-Subject: [PATCH] Lua 5.3 compatibility
+Lua 5.3 compatibility
 
 Fetched from: https://github.com/keplerproject/wsapi/commit/2d824d2fce31b6a9cc60b2c3f215fbbf1d99c611
 
 Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
----
- src/wsapi/ringer.lua | 1 +
- src/wsapi/util.lua   | 2 +-
- 2 files changed, 2 insertions(+), 1 deletion(-)
 
-diff --git a/src/wsapi/ringer.lua b/src/wsapi/ringer.lua
-index 58309f2..db7b68f 100644
---- a/src/wsapi/ringer.lua
-+++ b/src/wsapi/ringer.lua
-@@ -5,6 +5,7 @@ local rings = require "rings"
+Index: b/wsapi-1.6.1/src/wsapi/ringer.lua
+===================================================================
+--- a/wsapi-1.6.1/src/wsapi/ringer.lua
++++ b/wsapi-1.6.1/src/wsapi/ringer.lua
+@@ -5,6 +5,7 @@
  local _M = {}
  
  local init = [==[
@@ -23,11 +16,11 @@  index 58309f2..db7b68f 100644
    local app_name, bootstrap_code, is_file = ...
    if bootstrap_code then
      local bootstrap, err
-diff --git a/src/wsapi/util.lua b/src/wsapi/util.lua
-index 24d3cfe..34e5816 100644
---- a/src/wsapi/util.lua
-+++ b/src/wsapi/util.lua
-@@ -174,7 +174,7 @@ function _M.make_env_post(pd, type, qs)
+Index: b/wsapi-1.6.1/src/wsapi/util.lua
+===================================================================
+--- a/wsapi-1.6.1/src/wsapi/util.lua
++++ b/wsapi-1.6.1/src/wsapi/util.lua
+@@ -174,7 +174,7 @@
  end
  
  function _M.loadfile(filename, env)
@@ -36,6 +29,3 @@  index 24d3cfe..34e5816 100644
      return loadfile(filename, "bt", env)
    else
      local f, err = loadfile(filename)
--- 
-2.14.1
-