diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-10-07 11:03:18 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-10-07 11:03:18 +0000 |
commit | 6f24d966a772af287b0a0e9e5c27fb147cb2f080 (patch) | |
tree | 3216ac88dbf3217d1a227eefc293f1610418e85e /package/lua | |
parent | 9478a81da69f5cbc4c66c1c78296e2d9382f0856 (diff) |
[package] lua: switch to double precision for floats
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23284 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/lua')
-rw-r--r-- | package/lua/Makefile | 2 | ||||
-rw-r--r-- | package/lua/patches-host/011-lnum-use-double.patch | 11 | ||||
-rw-r--r-- | package/lua/patches/011-lnum-use-double.patch | 11 |
3 files changed, 23 insertions, 1 deletions
diff --git a/package/lua/Makefile b/package/lua/Makefile index 0a5e8f343..fdbbddc40 100644 --- a/package/lua/Makefile +++ b/package/lua/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lua PKG_VERSION:=5.1.4 -PKG_RELEASE:=6 +PKG_RELEASE:=7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.lua.org/ftp/ \ diff --git a/package/lua/patches-host/011-lnum-use-double.patch b/package/lua/patches-host/011-lnum-use-double.patch new file mode 100644 index 000000000..14c720bf1 --- /dev/null +++ b/package/lua/patches-host/011-lnum-use-double.patch @@ -0,0 +1,11 @@ +--- a/src/lnum_config.h ++++ b/src/lnum_config.h +@@ -11,7 +11,7 @@ + ** Default number modes + */ + #if (!defined LNUM_DOUBLE) && (!defined LNUM_FLOAT) && (!defined LNUM_LDOUBLE) +-# define LNUM_FLOAT ++# define LNUM_DOUBLE + #endif + #if (!defined LNUM_INT16) && (!defined LNUM_INT32) && (!defined LNUM_INT64) + # define LNUM_INT32 diff --git a/package/lua/patches/011-lnum-use-double.patch b/package/lua/patches/011-lnum-use-double.patch new file mode 100644 index 000000000..14c720bf1 --- /dev/null +++ b/package/lua/patches/011-lnum-use-double.patch @@ -0,0 +1,11 @@ +--- a/src/lnum_config.h ++++ b/src/lnum_config.h +@@ -11,7 +11,7 @@ + ** Default number modes + */ + #if (!defined LNUM_DOUBLE) && (!defined LNUM_FLOAT) && (!defined LNUM_LDOUBLE) +-# define LNUM_FLOAT ++# define LNUM_DOUBLE + #endif + #if (!defined LNUM_INT16) && (!defined LNUM_INT32) && (!defined LNUM_INT64) + # define LNUM_INT32 |