luafilesystem: rename patch to the new convention
authorFrancois Perrad <fperrad@gmail.com>
Wed, 24 Dec 2014 09:10:35 +0000 (10:10 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 24 Dec 2014 11:00:51 +0000 (12:00 +0100)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/luafilesystem/0001-without_large_file.patch [new file with mode: 0644]
package/luafilesystem/luafilesystem-without_large_file.patch [deleted file]

diff --git a/package/luafilesystem/0001-without_large_file.patch b/package/luafilesystem/0001-without_large_file.patch
new file mode 100644 (file)
index 0000000..5b24b99
--- /dev/null
@@ -0,0 +1,20 @@
+Index: b/luafilesystem-1.6.2/src/lfs.c
+===================================================================
+--- a/luafilesystem-1.6.2/src/lfs.c
++++ b/luafilesystem-1.6.2/src/lfs.c
+@@ -22,13 +22,13 @@
+ #ifndef _WIN32
+ #ifndef _AIX
+-#define _FILE_OFFSET_BITS 64 /* Linux, Solaris and HP-UX */
++//#define _FILE_OFFSET_BITS 64 /* Linux, Solaris and HP-UX */
+ #else
+ #define _LARGE_FILES 1 /* AIX */
+ #endif
+ #endif
+-#define _LARGEFILE64_SOURCE
++//#define _LARGEFILE64_SOURCE
+ #include <errno.h>
+ #include <stdio.h>
diff --git a/package/luafilesystem/luafilesystem-without_large_file.patch b/package/luafilesystem/luafilesystem-without_large_file.patch
deleted file mode 100644 (file)
index 5b24b99..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-Index: b/luafilesystem-1.6.2/src/lfs.c
-===================================================================
---- a/luafilesystem-1.6.2/src/lfs.c
-+++ b/luafilesystem-1.6.2/src/lfs.c
-@@ -22,13 +22,13 @@
- #ifndef _WIN32
- #ifndef _AIX
--#define _FILE_OFFSET_BITS 64 /* Linux, Solaris and HP-UX */
-+//#define _FILE_OFFSET_BITS 64 /* Linux, Solaris and HP-UX */
- #else
- #define _LARGE_FILES 1 /* AIX */
- #endif
- #endif
--#define _LARGEFILE64_SOURCE
-+//#define _LARGEFILE64_SOURCE
- #include <errno.h>
- #include <stdio.h>