diff options
Diffstat (limited to 'meta/recipes-support/gnutls/gnutls_2.12.17.bb')
-rw-r--r-- | meta/recipes-support/gnutls/gnutls_2.12.17.bb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-support/gnutls/gnutls_2.12.17.bb b/meta/recipes-support/gnutls/gnutls_2.12.17.bb new file mode 100644 index 0000000000..7a33ec2cf0 --- /dev/null +++ b/meta/recipes-support/gnutls/gnutls_2.12.17.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | require gnutls.inc | ||
2 | |||
3 | PR = "${INC_PR}.0" | ||
4 | |||
5 | SRC_URI += "file://gnutls-openssl.patch \ | ||
6 | file://correct_rpl_gettimeofday_signature.patch \ | ||
7 | file://configure-fix.patch \ | ||
8 | " | ||
9 | |||
10 | SRC_URI[md5sum] = "f08990f1afa4e1d0ee13e64e537c7854" | ||
11 | SRC_URI[sha256sum] = "588ad6b0901c789f2f6afcec88ac4d688801bf1a024c9afa08706bb8d9868bf3" | ||
12 | |||
13 | python() { | ||
14 | if not ((d.getVar("INCOMPATIBLE_LICENSE", True) or "").find("GPLv3") != -1): | ||
15 | # if GPLv3 add patch | ||
16 | src_uri = (d.getVar("SRC_URI", False) or "").split() | ||
17 | src_uri.append("file://fix-gettext-version.patch") | ||
18 | d.setVar("SRC_URI", " ".join(src_uri)) | ||
19 | } | ||