summaryrefslogtreecommitdiffstats
path: root/package/lua-periphery/0001-fix-build-flags.patch
diff options
context:
space:
mode:
authorJörg Krause <joerg.krause@embedded.rocks>2015-09-15 00:40:35 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-09-19 14:01:58 +0200
commit08647c6328223b1070c64fe618d09a1a87b30ce3 (patch)
treeced62edbe9c698f8103683d34fb9258210846ce9 /package/lua-periphery/0001-fix-build-flags.patch
parent4685485ef7651786da87f0e09a7d787aae68c1fe (diff)
downloadbuildroot-08647c6328223b1070c64fe618d09a1a87b30ce3.tar.gz
buildroot-08647c6328223b1070c64fe618d09a1a87b30ce3.zip
package/lua-periphery: bump to version 1.0.6
Also remove patch 0001-fix-build-flags.patch. The uCLibc issue is fixed upstream. Add patch taken and slighly adopted from the c-periphery package to fix build issue with musl. Build was tested with an uCLibc toolchain and a musl toolchain. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lua-periphery/0001-fix-build-flags.patch')
-rw-r--r--package/lua-periphery/0001-fix-build-flags.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/package/lua-periphery/0001-fix-build-flags.patch b/package/lua-periphery/0001-fix-build-flags.patch
deleted file mode 100644
index 1ac220ca5b..0000000000
--- a/package/lua-periphery/0001-fix-build-flags.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Fix build flags to build properly with uClibc
-
-Building with -std=c99 -D_DEFAULT_SOURCE hides the struct timespec and
-nanosleep() definitions from <time.h> in uClibc. Work around that by
-using -std=gnu99 instead.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
-Index: b/lua-periphery/Makefile
-===================================================================
---- a/lua-periphery/Makefile
-+++ b/lua-periphery/Makefile
-@@ -16,7 +16,7 @@
-
- ###########################################################################
-
--CFLAGS += -std=c99 -pedantic -D_DEFAULT_SOURCE
-+CFLAGS += -std=gnu99 -pedantic
- CFLAGS += -Wall -Wextra -Wno-unused-parameter $(DEBUG) -fPIC -I. $(LUA_CFLAGS)
- LDFLAGS += -shared
-
OpenPOWER on IntegriCloud