summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-05-31 19:42:24 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-05-31 19:42:24 (EDT)
commit139ab610b7713cfec2272949dc19efe9562331cf (patch)
tree1c25becfcb1adac1c0148be874c19a7b106d510c /patches
parente0905479426c8aeb0833bf4a085f2d56367998d7 (diff)
Add gmp multiarch patch.
Diffstat (limited to 'patches')
-rw-r--r--patches/gmp/01_use-ma-libdir-and-rm-info-index.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/patches/gmp/01_use-ma-libdir-and-rm-info-index.patch b/patches/gmp/01_use-ma-libdir-and-rm-info-index.patch
new file mode 100644
index 0000000..64b57e7
--- /dev/null
+++ b/patches/gmp/01_use-ma-libdir-and-rm-info-index.patch
@@ -0,0 +1,36 @@
+From: "P. J. McDermott" <pjm@nac.net>
+Date: Thu, 30 May 2013 21:30:00 -0400
+Subject: Use multiarch library dirs and remove info index.
+
+---
+diff --git a/build b/build
+index e735c97..ac92e45 100755
+--- a/build
++++ b/build
+@@ -16,5 +16,6 @@ install: build
+ oh-autoinstall
+ oh-fixperms
+ oh-strip
+- rm -rf dest/usr/lib/libgmp.la
++ rm -rf dest/usr/lib/$(OPK_HOST_ARCH)/libgmp.la
++ rm dest/usr/share/info/dir
+ oh-installfiles
+diff --git a/libgmp-dev.pkg/files b/libgmp-dev.pkg/files
+index 6b48068..67703d0 100644
+--- a/libgmp-dev.pkg/files
++++ b/libgmp-dev.pkg/files
+@@ -1,3 +1,3 @@
+ /usr/include/gmp.h
+-/usr/lib/libgmp.a
+-/usr/lib/libgmp.so
++/usr/lib/*/libgmp.a
++/usr/lib/*/libgmp.so
+diff --git a/libgmp.10.pkg/files b/libgmp.10.pkg/files
+index 3c2304d..ed7e421 100644
+--- a/libgmp.10.pkg/files
++++ b/libgmp.10.pkg/files
+@@ -1,2 +1,2 @@
+-/usr/lib/libgmp.so.10
+-/usr/lib/libgmp.so.10.0.5
++/usr/lib/*/libgmp.so.10
++/usr/lib/*/libgmp.so.10.0.5