summaryrefslogtreecommitdiff
path: root/package/libhugetlbfs/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/libhugetlbfs/patches')
-rw-r--r--package/libhugetlbfs/patches/patch-Makefile11
-rw-r--r--package/libhugetlbfs/patches/patch-morecore_c11
-rw-r--r--package/libhugetlbfs/patches/patch-version4
3 files changed, 12 insertions, 14 deletions
diff --git a/package/libhugetlbfs/patches/patch-Makefile b/package/libhugetlbfs/patches/patch-Makefile
index b0b919940..42ae93bc2 100644
--- a/package/libhugetlbfs/patches/patch-Makefile
+++ b/package/libhugetlbfs/patches/patch-Makefile
@@ -1,7 +1,7 @@
- do not call uname -m, use passed ${ADK_ARCH} variable
- use ${CC} instead of hard-coded gcc
--- 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
++++ libhugetlbfs-2.11/Makefile 2011-02-27 18:58:07.000000000 +0100
@@ -31,51 +31,51 @@ CFLAGS ?= -O2 -g
CFLAGS += -Wall -fPIC
CPPFLAGS += -D__LIBHUGETLBFS__
@@ -65,3 +65,12 @@
TMPLIB64 = lib64
TMPLIB32 = lib
CFLAGS += -DNO_ELFLINK
+@@ -370,7 +370,7 @@ install-libs: libs $(OBJDIRS:%=%/install
+ $(INSTALL) -d $(DESTDIR)$(HEADERDIR)
+ $(INSTALL) -d $(DESTDIR)$(LDSCRIPTDIR)
+ $(INSTALL) -d $(DESTDIR)$(BINDIR)
+- $(INSTALL) -m 644 -t $(DESTDIR)$(HEADERDIR) $(INSTALL_HEADERS)
++ $(INSTALL) -m 644 $(INSTALL_HEADERS) $(DESTDIR)$(HEADERDIR)
+ $(INSTALL) -m 644 $(INSTALL_LDSCRIPTS:%=ldscripts/%) $(DESTDIR)$(LDSCRIPTDIR)
+ for x in $(INSTALL_OBJSCRIPT); do \
+ $(INSTALL) -m 755 objscript.$$x $(DESTDIR)$(BINDIR)/$$x; done
diff --git a/package/libhugetlbfs/patches/patch-morecore_c b/package/libhugetlbfs/patches/patch-morecore_c
deleted file mode 100644
index 61651fbe0..000000000
--- a/package/libhugetlbfs/patches/patch-morecore_c
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
index 08c11d193..c10c9d4f4 100644
--- a/package/libhugetlbfs/patches/patch-version
+++ b/package/libhugetlbfs/patches/patch-version
@@ -1,5 +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
++++ libhugetlbfs-2.11/version 2011-02-27 18:53:06.000000000 +0100
@@ -1 +1 @@
-2.11
-+commit<f475340970f58d3643bdd7e3cec809dc1fa3e908>
++commit<83deab600c0eb6c022ebb82052f621d5c4be2b1c>