summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gmp/gmp-6.0.0/use-includedir.patch
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2015-08-27 16:05:59 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-01 11:43:59 +0100
commit6fac60da96eee89d5b7c2156bbb92fe72dc28aef (patch)
treeaf55f9157508f35ece55c012d3e8cb25ac532e71 /meta/recipes-support/gmp/gmp-6.0.0/use-includedir.patch
parentb9ade91413f56ffeeeec753a45e3d1d64efe4802 (diff)
downloadpoky-6fac60da96eee89d5b7c2156bbb92fe72dc28aef.tar.gz
gmp: Bring back version 4.2.1 (LGPL 2.1+)
gmp 4.2.1 was removed in f181c6ce8b apparently accidentally: It was not noticed that 4.2.1 is LGPL 2.1 (and not GPL) so provides a useful alternative to the newer "GPLv2 | LGPLv3" version. * Reintroduce 4.2.1. The source includes files that are GPL but the library package is LGPL 2.1+ * Also reintroduce the two patches removed in f181c6ce8b. * Refactor gmp.inc: gmp 6.0.0 build should not be affected in any way. * Update 6.0.0 license from "GPLv2 | LGPLv3" to "GPLv2+ | LGPLv3+". [YOCTO #8197] (From OE-Core rev: 1adec83621f36a3dd748990c307ca4ebebcdd554) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gmp/gmp-6.0.0/use-includedir.patch')
-rw-r--r--meta/recipes-support/gmp/gmp-6.0.0/use-includedir.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-support/gmp/gmp-6.0.0/use-includedir.patch b/meta/recipes-support/gmp/gmp-6.0.0/use-includedir.patch
new file mode 100644
index 0000000000..74904a2530
--- /dev/null
+++ b/meta/recipes-support/gmp/gmp-6.0.0/use-includedir.patch
@@ -0,0 +1,15 @@
1Upstream-Status: Pending
2
3Index: gmp-4.2.4/Makefile.am
4===================================================================
5--- gmp-4.2.4.orig/Makefile.am 2008-09-10 19:31:27.000000000 +0000
6+++ gmp-4.2.4/Makefile.am 2009-07-06 20:19:19.000000000 +0000
7@@ -106,7 +106,7 @@
8 # but anyone knowledgable enough to be playing with exec_prefix will be able
9 # to address that.
10 #
11-includeexecdir = $(exec_prefix)/include
12+includeexecdir = $(includedir)
13 include_HEADERS = $(GMPXX_HEADERS_OPTION)
14 nodist_includeexec_HEADERS = gmp.h $(MPBSD_HEADERS_OPTION)
15 lib_LTLIBRARIES = libgmp.la $(GMPXX_LTLIBRARIES_OPTION) $(MPBSD_LTLIBRARIES_OPTION)