luafilesystem: bump to version 1.6.3
authorFrancois Perrad <fperrad@gmail.com>
Fri, 16 Jan 2015 21:09:55 +0000 (22:09 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 2 Feb 2015 15:09:53 +0000 (16:09 +0100)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/luafilesystem/0001-without_large_file.patch [deleted file]
package/luafilesystem/luafilesystem.mk

diff --git a/package/luafilesystem/0001-without_large_file.patch b/package/luafilesystem/0001-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>
index f466010bf9560b41874ed083dfc3893a1333236d..ea807530fe0699dfced1f7a0af95fa6ba8c16ded 100644 (file)
@@ -4,7 +4,11 @@
 #
 ################################################################################
 
-LUAFILESYSTEM_VERSION = 1.6.2-2
+LUAFILESYSTEM_VERSION = 1.6.3-1
 LUAFILESYSTEM_LICENSE = MIT
+LUAFILESYSTEM_SUBDIR = luafilesystem
+ifneq ($(BR2_LARGEFILE),y)
+LUAFILESYSTEM_BUILD_OPTS += CFLAGS="$(LUAROCKS_CFLAGS) -DLFS_DO_NOT_USE_LARGE_FILE"
+endif
 
 $(eval $(luarocks-package))