summaryrefslogtreecommitdiff
path: root/package/libhugetlbfs/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/libhugetlbfs/patches')
-rw-r--r--package/libhugetlbfs/patches/patch-Makefile6
-rw-r--r--package/libhugetlbfs/patches/patch-morecore_c11
-rw-r--r--package/libhugetlbfs/patches/patch-version5
3 files changed, 19 insertions, 3 deletions
diff --git a/package/libhugetlbfs/patches/patch-Makefile b/package/libhugetlbfs/patches/patch-Makefile
index 44deaba1d..b0b919940 100644
--- a/package/libhugetlbfs/patches/patch-Makefile
+++ b/package/libhugetlbfs/patches/patch-Makefile
@@ -1,8 +1,8 @@
- do not call uname -m, use passed ${ADK_ARCH} variable
- use ${CC} instead of hard-coded gcc
---- libhugetlbfs-2.6.orig/Makefile 2009-08-24 14:56:07.000000000 +0200
-+++ libhugetlbfs-2.6/Makefile 2011-01-17 15:17:03.942093253 +0100
-@@ -30,51 +30,51 @@ CFLAGS ?= -O2 -g
+--- libhugetlbfs-2.11.orig/Makefile 2010-12-16 18:38:22.000000000 +0100
++++ libhugetlbfs-2.11/Makefile 2011-01-22 21:09:48.008659615 +0100
+@@ -31,51 +31,51 @@ CFLAGS ?= -O2 -g
CFLAGS += -Wall -fPIC
CPPFLAGS += -D__LIBHUGETLBFS__
diff --git a/package/libhugetlbfs/patches/patch-morecore_c b/package/libhugetlbfs/patches/patch-morecore_c
new file mode 100644
index 000000000..61651fbe0
--- /dev/null
+++ b/package/libhugetlbfs/patches/patch-morecore_c
@@ -0,0 +1,11 @@
+--- libhugetlbfs-2.11.orig/morecore.c 2010-12-16 18:38:22.000000000 +0100
++++ libhugetlbfs-2.11/morecore.c 2011-01-22 21:18:44.018658436 +0100
+@@ -268,7 +268,7 @@ void hugetlbfs_setup_morecore(void)
+ INFO("setup_morecore(): heapaddr = 0x%lx\n", heapaddr);
+
+ heaptop = heapbase = (void *)heapaddr;
+- __morecore = &hugetlbfs_morecore;
++ morecore = &hugetlbfs_morecore;
+
+ /* Set some allocator options more appropriate for hugepages */
+
diff --git a/package/libhugetlbfs/patches/patch-version b/package/libhugetlbfs/patches/patch-version
new file mode 100644
index 000000000..08c11d193
--- /dev/null
+++ b/package/libhugetlbfs/patches/patch-version
@@ -0,0 +1,5 @@
+--- libhugetlbfs-2.11.orig/version 2010-12-16 19:14:12.000000000 +0100
++++ libhugetlbfs-2.11/version 2011-01-22 21:09:48.624905626 +0100
+@@ -1 +1 @@
+-2.11
++commit<f475340970f58d3643bdd7e3cec809dc1fa3e908>