forked from freifunk-franken/firmware
fix mktools build error on arch linux
This commit is contained in:
parent
944c8ce8a4
commit
f5bc1efab0
12
build_patches/011-missing_unistd.patch
Normal file
12
build_patches/011-missing_unistd.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: src/mklibs-readelf/elf.cpp
|
||||
===================================================================
|
||||
--- a/src/mklibs-readelf/elf.cpp
|
||||
+++ b/src/mklibs-readelf/elf.cpp
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/stat.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
using namespace Elf;
|
||||
|
|
@ -15,6 +15,9 @@ prepare() {
|
|||
#Upgrade batman advanced to version 2012.2.0
|
||||
svn update --revision=32386 ./build_dir/feeds/packages/net/batman-adv/
|
||||
|
||||
#fix mktools build error on arch linux
|
||||
cp ./build_patches/011-missing_unistd.patch ./build_dir/tools/mklibs/patches/
|
||||
|
||||
# fix some tinc mem leaks
|
||||
mkdir ./build_dir/feeds/packages/net/tinc/patches
|
||||
cp ./build_patches/tinc/001_fix_a_few_small_memory_leaks.patch ./build_dir/feeds/packages/net/tinc/patches/001_fix_a_few_small_memory_leaks.patch
|
||||
|
|
Loading…
Reference in New Issue
Block a user