uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
16
pkgs/development/lua-modules/luuid.patch
Normal file
16
pkgs/development/lua-modules/luuid.patch
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
diff -Naur 5.2/uuid/luuid.c rock/uuid/luuid.c
|
||||
--- 5.2/uuid/luuid.c 2012-05-10 11:22:00.000000000 +1000
|
||||
+++ rock/uuid/luuid.c 2019-06-13 15:13:10.374134079 +1000
|
||||
@@ -64,7 +64,11 @@
|
||||
|
||||
LUALIB_API int luaopen_uuid(lua_State *L)
|
||||
{
|
||||
- luaL_newlib(L,R);
|
||||
+ #if LUA_VERSION_NUM == 501
|
||||
+ luaL_register(L,MYNAME,R);
|
||||
+ #else
|
||||
+ luaL_newlib(L,R);
|
||||
+ #endif
|
||||
lua_pushliteral(L,"version"); /** version */
|
||||
lua_pushliteral(L,MYVERSION);
|
||||
lua_settable(L,-3);
|
||||
Loading…
Add table
Add a link
Reference in a new issue