summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-07-10 06:08:32 +0000
committerMike Frysinger <vapier@gentoo.org>2015-07-10 06:08:32 +0000
commit667ffd411bb33377d3b35055b35b06c261067a4a (patch)
tree2f18b3f69d07b5eda6b2b6293d67d63a66414b3b /dev-libs/openssl
parentadd upstream link (diff)
downloadhistorical-667ffd411bb33377d3b35055b35b06c261067a4a.tar.gz
historical-667ffd411bb33377d3b35055b35b06c261067a4a.tar.bz2
historical-667ffd411bb33377d3b35055b35b06c261067a4a.zip
Use _DEFAULT_SOURCE with newer glibc versions #554338 by Agostino Sarubbo.
Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0xD2E96200
Diffstat (limited to 'dev-libs/openssl')
-rw-r--r--dev-libs/openssl/ChangeLog7
-rw-r--r--dev-libs/openssl/Manifest27
-rw-r--r--dev-libs/openssl/files/openssl-1.0.1p-default-source.patch29
-rw-r--r--dev-libs/openssl/openssl-1.0.1p.ebuild3
-rw-r--r--dev-libs/openssl/openssl-1.0.2d.ebuild3
5 files changed, 57 insertions, 12 deletions
diff --git a/dev-libs/openssl/ChangeLog b/dev-libs/openssl/ChangeLog
index 4629dde169b7..403343f965ac 100644
--- a/dev-libs/openssl/ChangeLog
+++ b/dev-libs/openssl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/openssl
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.672 2015/07/09 18:12:37 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.673 2015/07/10 06:08:30 vapier Exp $
+
+ 10 Jul 2015; Mike Frysinger <vapier@gentoo.org>
+ +files/openssl-1.0.1p-default-source.patch, openssl-1.0.1p.ebuild,
+ openssl-1.0.2d.ebuild:
+ Use _DEFAULT_SOURCE with newer glibc versions #554338 by Agostino Sarubbo.
09 Jul 2015; Mikle Kolyada <zlogene@gentoo.org> openssl-1.0.1p.ebuild:
arm stable wrt bug #554172
diff --git a/dev-libs/openssl/Manifest b/dev-libs/openssl/Manifest
index e907b4c32cb0..e14a4893fc08 100644
--- a/dev-libs/openssl/Manifest
+++ b/dev-libs/openssl/Manifest
@@ -23,6 +23,7 @@ AUX openssl-1.0.1m-ipv6.patch 19626 SHA256 335bef8cca314593a71d81d9225ec81b95fcf
AUX openssl-1.0.1m-parallel-build.patch 11132 SHA256 87e9694d79ca6cc85a140e67eedf056e8d57cda45d904bc4445a52e810bba161 SHA512 4f5bde6deae9fe609f248eacb7f2d09276371a608508a3edf8032026291858767feb47d03b6233322008b40dfe5399a3bd2780186036311eae83fd417fe883fa WHIRLPOOL 22698861059f95f134ccbbddd23a39e5260015482e626a046183ffdc81948893e685da7e7d1f95dad5b9f78acc2399fa9505bfe7be87e1464dadc6c6f2eaf4ee
AUX openssl-1.0.1m-s_client-verify.patch 803 SHA256 bac4ce4d0ee9213dd63e95d8d6dcca11da6e4d4991c3005247bfdd34c3996e82 SHA512 a1b5fb62fce5ba33cb1aea889c4e726542c9d0aea701bd7ca2e9c2078746205305b64401f2e3766ba3bb49038f725c384d2d47ce19149f46cecd55b915c93cdc WHIRLPOOL ccfa8298a1fc0ba3acaf582bd80a7ca3932df197aca9cf9c9cc041fb8aa1512705faa1d8225df69a88bdaa17e2748bb686b1cfd76c630d2bd418e825988de7ca
AUX openssl-1.0.1m-x32.patch 3306 SHA256 ef4be84cb0cdf7e9d551ddd87029f4c63ed833fe5af1de996ce9d770b0482c2c SHA512 365e8898cdfbafe89e5c0fd6859019314f63e14e5989e04ff392e5a95520a61c9e580136b5abbd8f7a4734e4c999155a73d68d1ecbd3fd46efebbbdf8d5e12dc WHIRLPOOL e7d0394eff912c5fb34f075f4a7491a207479ab520109f588ce89a15ef0b233567dbb3a5691ecf961fdfc218c25f09d17d7d28e8d117dc5befae4db0e9be2018
+AUX openssl-1.0.1p-default-source.patch 788 SHA256 9a09db682faded7414e40e7da7997c55c2abe190816c9bbf5d5cd739231b3cce SHA512 d1f7696027439d286c1439e8e12f00f5e8b698e16adb72865ef0bb228b85f3bb581c2df95da1079772a2ddba21e617a674ba35bc2c9a945ca0cffd84dedb07e1 WHIRLPOOL cafc68013976c289d28ae10d7d794f88153e5cb78650926081cdb73c5d6500a35ebc74cd3d41f7cffa1a194777ee649cd1872a388ca02d4ba18bf19605b06c63
AUX openssl-1.0.1p-parallel-build.patch 11063 SHA256 7644435a161d7fd6c8f13c887b7f9913abd90fef0207ec29b351c0623f978ecd SHA512 3ef5cda8516739c376a558d75eebd0722913ac0a96dcd4f799469a5c95396f6f703219fc29a77d7ff9b62d65962b8d2cd0b41507fd1ee579ec5e3a307eca0048 WHIRLPOOL c5bbaecb556e8a01ad264f1ee9249ec340f51d9e08054627bb9cb7da1cfb7a0c42075172615a4e588d5b8dd4692a917fffbee38f54c4f32ac4b648254798e404
AUX openssl-1.0.2-CVE-2015-0209.patch 1282 SHA256 6be2b1fa0d440bc1c1b15da4a9d32811a04c3e7c701678eb8ee72454bbf87401 SHA512 db5b73c815582453d3231d49c9c24d60824e56f67a74f815818d0f90bccd485e98a98b449386aa297fa055b5fc27e2a058c03bc410478fb98051a729ac75b4db WHIRLPOOL 46ddfaff115622e2426c544e757bf882fc5069f35d169189cf277d90a5ad36c274beaf1ff89cdc593e2e5cd1593588c389262dce3bb6a166c5fd7eb908458fec
AUX openssl-1.0.2-CVE-2015-0288.patch 800 SHA256 613acdc06a22ec5cbc274cc39022b1fa1fd73e409551493bcab6d4a273983484 SHA512 4785d9c4620492c4997cbe7c83a42a9804a9e8c3d94e35dd7d3e6bd16f607a9b294b77123686f24c953e6330f96907008dccf1379648d806fa85bbdd20b81ca0 WHIRLPOOL 738831379e3c117f260306e2f39aacd51b895ed4bcb7dd0189f14a7301c09ffd4fbd882fbd05d7e71cd6c9524fc289124909e5fd2dcc23607fa4ce71ba3a0df7
@@ -34,7 +35,7 @@ AUX openssl-1.0.2a-malloc-typo.patch 1440 SHA256 f911737f715f8af87786cc46a196b78
AUX openssl-1.0.2a-parallel-build.patch 9573 SHA256 db2dcdb27062923d2818f988787bb802c292053d1d8a5bf032800e658c7bd196 SHA512 eef70d7662fe1c84ea8a998b1b394900805a91ae371a99e45ea07725ac218ffd6be5b75add647724e1a6b5556884bcb4a5be31b97254fd62b63aeead7ff701e3 WHIRLPOOL cbd5822db1da8e59b604f502856586c7251aa31594eefb3cfb4c0aa6bc33587df6298a245b8f733486d7a3f053bb33ff29066725dd4430dc9f9b2c54bb5464dc
AUX openssl-1.0.2a-parallel-install-dirs.patch 2013 SHA256 eddd8a5123748052c598214487ac178e4bfa4e31ba2ec520c70d59c8c5bfa2e9 SHA512 c3b97fa318b9627bcaf4f39d1615c46322c1081cded135af5b5115beb2be74ead46084119fce5643b12c54b6851c33bfb624694ccf6f3d32060b6d56239d3674 WHIRLPOOL 59228ad2796e28edf7508a3b3bbdab36f7b678922566a1ed43a86727371c7b6b8c362431f49812e7c60a9aa72134d7fffaeb7be0efb6b5ca0f10e1c716b6a557
AUX openssl-1.0.2a-parallel-obj-headers.patch 1359 SHA256 147c3eeaad614c044749ea527cb433eae5e2d5cad34a78c6ba61cd967bfbe01f SHA512 ac8224bc088099d72e7e6761303b8653766372bd027536951c458bd22fd0526163de22bf27675e0292a12ae7257a5c1edf26a92747e00cc139e13e1b624b4072 WHIRLPOOL 58b1de7c90ed96a077065ff6abfdeaffd98ce68cc9a2551dab7ff3d04e9b38be8d4bb94a6830f4e6c3d997747345c43f76c31f4c7b825f56fd488e85b9c6179e
-AUX openssl-1.0.2a-parallel-symlinking.patch 1967 SHA256 5be3c20d64cadaed7bc4e8e500e8a67faafded7fb326779620fdb29397c44d87 SHA512 ee6c057134b31a96af5ffc3558011f8f4ffda4a2ceb2967f32cd01b6ee0ce7b386fd195c19936923404da46c33eee38a2bab335da1a16b835ac9f9d02157bdf6 WHIRLPOOL daf64bf9d14b0516b4e9dd75d3b806b1e389defe604de9e0d19860ef10436b9a534d14cfec6422c85e9134998dfe9917d257730036daf813fce0ae7d1f6be284
+AUX openssl-1.0.2a-parallel-symlinking.patch 2041 SHA256 30cb49489de5041841a74da9155cd4fabfbce33237262ba7cd23974314ae2956 SHA512 b87ab581784c285ef394b31baa1196a831a86c3b2d578704c9d8b80d68c70a8b19cfa88bd29b84578ed024135ae2d2ac4d622c91e1040074016b8fd104d6c05a WHIRLPOOL c8200ec6755efdce550afd2f59b3d5dc36324c6810b3ae7427af7130be9ba0db5857c13811f97dd6672230b9f096f81ebb4136c9589d53d25dcfe5c064355a46
AUX openssl-1.0.2a-x32-asm.patch 1561 SHA256 8bcff04217c5ad82448e27d14f3559a157c2cad89b5fb2b6af701fff1664f86d SHA512 fbb23393e68776e9d34953f85ba3cbb285421d50f06bd297b485c7cffc8d89ca8caff6783f21038ae668b5c75056c89dc652217ac8609b5328e2c28e70ac294c WHIRLPOOL 70163beaed966de948562c3a633828846d12eda7b04526c7e33746c67af5a20ecf47e9e9e5cce33abf7444676f4b15b770204e95db75d0b91a9db13c46ff92bb
AUX openssl-1.0.2d-parallel-build.patch 9504 SHA256 deaf6f3af41874ecc6d63841ea14b8e6c71cea81d4a511a754bc90c9a993147f SHA512 9d81b0dd260c0622eefea2bd33a8b19806b372c39fa6197af1b19ce263ddcd4554dd4fc4ebc23452ffc8d0144bb7b8d4aeb19fd479b14220c08c3c53b895a88c WHIRLPOOL 4b9b7c1aa5b2c3a867dc53e417453e0cd7414510fe32b0392915601ed5e4a1ea6b5deeb082d0fdfae1e8a23f481fe7551bb29303a752a8a27c4c11d80c4a320d
DIST openssl-0.9.8ze.tar.gz 3734873 SHA256 ee3da602826e975b47e4d7af8a27be8258c160876194898c58881eab814b55b8 SHA512 6ab08065ab2cdf6699e462e2a082e6d4c21f027383e12d4dd1d0dce2a4073ae52230494215b3fe24b8a8d73f5f5dd3a1fe53c66acd8db6e162e4bf3636e229c3 WHIRLPOOL 8a5de0aed7b48007b3b8092726c9c8eb6771c49d388baaff4d7ba3591be0b1856cb17842db5bc608994b38f5d87a8b07a441c874523e577b786a4612bba7789f
@@ -60,20 +61,28 @@ EBUILD openssl-1.0.1l-r1.ebuild 8880 SHA256 eed2ddde72a8e8d33027839ea595c1cac8ce
EBUILD openssl-1.0.1m.ebuild 8818 SHA256 f5daed0b724e5a73fcdaaa9def311b64475006ba55d87628a6c8e693d0a5dfe7 SHA512 3deac87033d029a4fa55e8b42ac29603efc5272c788652adaaf0de17c45d6998720a8303a2ec54efa25e0f9ff8e08bf6c5f168deebc15ae76eb10e43cd8f4aa1 WHIRLPOOL c5c3a221063521f6707a786918247f12d1bcc6b421da0e55d836e38756191b812b8353775d95cb12520bbe8c457aa7ef1bf861c09019247b3a61c237995c056e
EBUILD openssl-1.0.1n.ebuild 8762 SHA256 51bc3205eef93b527e42e3968f0bc047733a72bc6bc57cc12a0eceec5045424a SHA512 2ca15f7219cf16882432b26454566cea07f9a62f8d2aa0dfd798b052d6bb0825599742e26be2cbfa30c09f498cd1b84ad68856b80badea51e797f55b714f9a41 WHIRLPOOL 0890622e0c385fd4cabc5f300e56a4c8cda121a7d5fbeb34aac966d943726191b7f2a58d8f813923af3d6e159563a6bdf26522cfdc8a5f27e7ba64d624afa54a
EBUILD openssl-1.0.1o.ebuild 8751 SHA256 3b74210ffe7aec3d7322d0300f7be6f492ddfc5acb5808424794025e8fd16ddb SHA512 5eb0006829420df13c501c45e43e17344757cc6f1d1713ab439e648d902daff49ce8eb3564c7d5788d715d88c6371c96cd61a073c266c74ef39c1851f50fe2c3 WHIRLPOOL 897d0f38e7904be97bbc2fb12c944139f5cf506a1dddafec49a39cb05fc61dbf7a9783f5341670c642bf727b4aa9d712074fe7d4e548547ea05270f6b9db8a14
-EBUILD openssl-1.0.1p.ebuild 8760 SHA256 2707f0004d8ec3798cd2eb5d3135e391c0c4475582a457c0f5341a29a5b591b6 SHA512 4e8c1c425bd2ed23897f5a4cf565b78ff0ecc4438f6dfb865a885b5d8b3d5945a52d2d7c1f68b47fd3019be43b5ac69a06d8fc01bb9400f7e73a34ee503bfe3c WHIRLPOOL edd301464626ed53f69739c8a0a962e29cc2c027d3434a6ee0d730e044b4732812065948112e595a15bc12e748c14cf9309c1ac9b5ba42649c1ea3464013954f
+EBUILD openssl-1.0.1p.ebuild 8824 SHA256 bef9dd5bd656ae05a322dab20820477d900dd0f7ed98f627f8696e12d3e7544d SHA512 eb0730bd96f3aa0a717d7cc53f96ae1855dd526ea72aa240d9aa4f170e4d76d8516a022653b7e8b04711dde7c87c6da9ffe7d0628e6816ddfa343e1599a311fe WHIRLPOOL 154ee05adcc411a590a6f330675da79490ed906d968670ba95e38abfa4dcd9df41bf68c0059bbb23fe728388f1828f9a122c5b57de27ccfc0b34f18c52a48a6c
EBUILD openssl-1.0.2-r3.ebuild 8925 SHA256 16b32e6b3a83e270e067558d29a80578576e23adca0f35a5a4176492c32170cf SHA512 25ca31b089457de899b1c2ba409041f4b1b866830aa27ac5b62e344f6141e4587d54d5c1d7e5530c3df36e6093613c8d34a0d7e96553f3427f5c374e498621dd WHIRLPOOL 38cf25a45265d8f01973f982c5c7bb16df6bd5e7ac4721f5aa84e8c95a066284ed538c688489bb06af7067b07bb1590ddcfee5be31a82aeca82f46bd25c04219
EBUILD openssl-1.0.2a.ebuild 9081 SHA256 a19ab518fdf35f21e2c8e57c57dc641784ba367741a17358a4645c7659822ce5 SHA512 fbe27fdf9f9c9160b4687f83f6836f0c4f43cedc0e0a70797fa33c803c6e9cd6cc6260dc406c0449b9bcd977e0175df836abf9498a33a8192040e0bb5275d15d WHIRLPOOL 98c4cedc4eefbf809bf2eb8fc885ea09315ed38b0aa9816d942afd78f4c6497b3114cb21f8d5d6746b95ec3c8f61625eda1b00abb0ebd7877e8014f8b01c1dff
EBUILD openssl-1.0.2b.ebuild 8962 SHA256 d5f36d48b98cf1680d3c221e387eda1150d85d5479464804ffa0d821ff765e7b SHA512 dcd83b5fbf3b411cea86bb4b40a27e3e836b01bfbce5ba71a923526f720e0a1155af5f5e42c540210e3d1b55783897cb8327b62086254903e954631143eaca38 WHIRLPOOL 8ada7f8cf76f95b64f2388659e2fc4d2f0dd759445769324f4ffbbb68874d093631f776ee9e300e8a1ab4a5dd2387ef6594caf6b2e7b921d009a8a45b69a0a78
EBUILD openssl-1.0.2c.ebuild 8962 SHA256 7fac06c39a2d187c647d71e178ef635a33654bdf1ac90a4b87cd0575d7c0db57 SHA512 0d9bd3558ad0b4a69ec836dfce6e3021dc301de3bbe1bb56f0f30d647bf3e4734160d11183da23be0249b8a4d8db13c116792eee16520c11a8e8c7cdb1c37bde WHIRLPOOL 68a81b58fa53b479c56b4a227933631212d674bfa8639c5d968702df12dbc74b912c8c679946ec146293e1226ce89afc51ba36ddc49c026c0570535ff4a261b2
-EBUILD openssl-1.0.2d.ebuild 8962 SHA256 c83a55667b9a6fde9e3e9b0eef29e962ac735bf6ef75422f3c30e3c309a69855 SHA512 42b3fcb5b6b6431b5271e254e8d86b11c3b819b9f991f777c1669b32e9c7ac955f3117cd36d7e0ede04cb24b243e0f3a025186e6ffb77be7ddd9da885debdb24 WHIRLPOOL 07fbe154decfc020beaa0e8c20a9548c50fae673e4ad9bed999764a8446f044c7be134af70d2c59ce2d0d03e47d7cec5d6ef09cdf746c73d38d273079ef44646
-MISC ChangeLog 103914 SHA256 e2550f5ac1b9999d2980afc16d7192da1499500cfca198003fd5cc0b2c12371e SHA512 71e12dd7161533a2317f924306e32627fca68ce2daa073bc74aff469359ed632c125f0e3ed26c79eb6908be00c58870d4c4fafee98cff46f03a9e25a7733a247 WHIRLPOOL f78ff16596f4128e3de73258116a76d637c5c6ba977ac7bb0669dda7926954024fa48ab8af2b5475c6e4c9666544eced37d3ffd17884fca9e68faa032ed5a38a
+EBUILD openssl-1.0.2d.ebuild 9027 SHA256 389f3b800ac8a14a2ccf65e3112d7af5e32a7f18ec3435f2214062ec17c67e79 SHA512 811ff2ff49b88d8b0e8fa2cf7fd6feea8cd1bd1a31e00723025c71aa72b44b49046a6a45f9c78365d9829fdfa04f21d42c0a8f1a38ddab5ea78e126d86fafdce WHIRLPOOL 0c804cebb68f7394b6db630c752afa053afb48f04ffe915785670f0b94d1ac47e63c5ca45fe8a44f621933ddc57414eb274698e2e27368e63e450970589bfb39
+MISC ChangeLog 104135 SHA256 b1f75064320556d44451d6f84dad6d5be13a3b14eac8123d5d7772c608fd3dbe SHA512 b225bc6c596f0c9d93acebe2de0c2d6642755db54a2a9f9cdaa325a7d7b9d6e3ce235a319f73d9998b63ebd234eaaa0ac6b21361a297b9d4219c1960bb78e88b WHIRLPOOL f5a7e7fddbe46493a3c3f1b9183a794ac99ca74dae251d43393714482c1f51dcb93344cf8a31b102c3f19c8cb645f13fda8b0f7b852d911ce09a881b682be497
MISC metadata.xml 730 SHA256 229ceddc7f42d44d7cee107774dc210810cfcf866040306eb95e1c09da0279fc SHA512 31e307f60d08e38d39892f13f8d7bff9b530bf99d489983d224c9a0d061593448732f2a60beb70abc560672b49347567e20ea5692892274882bf4e955cbd52cd WHIRLPOOL edbcd6c8010d6282a798faf68279bb5a74420588f339ee2c59d110546a61d2911b30071bac8f7e2b60b33711d4d13b5226c6b5a195aa458ab8502fa1fe520c90
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iJwEAQEIAAYFAlWeuQ8ACgkQG9wOWsQutdZjzAP/e5RCOtKiZqcWXczUGhIPEW8W
-BdU7koP3URSvfbaySCttnwEgxHI78TSqRC1zuX0TYf1TMZoZGj5j9X/7ea7a3IhW
-ONaCot/XHt4SChXCWILh6uETs+xi5HKSb2aXB8oQlAk+dkAMt+e2buNiGLtT3Zky
-Nej4jYq0RUt/UBtRru4=
-=FHxX
+iQIcBAEBCAAGBQJVn2FgAAoJEPGu1DbS6WIAQFMP+wWdvOCcxZH539t+rHRmEnqe
+9XNOwLp4Tbf2XKt/itGFfhFwiX+dyzzK2KvWNCfG+uMaa6VetITJ5gAlvYayOfjk
+CP1kplKQAZsXgzIg/llQbAM8UBLd62MultXo82AqWkVo+8dgehiTXexpl0NmiCNJ
+54EgK3LomMG/FHIEW0kRq0QRRZk4dnMHh8+wFlwpJ5i1vHBhqwbyJ7gbR4u17MBy
+gf/QVopKHKSFZYDEKJBoOYnP+PDwTwrLFmMQfF4kNUfqvqyVtO2jEQqSucINJNA+
+UUn6QVKxZCRtP/9G34WyPzQzBoDWo6oUzp1zIuofbXZfAyime/q2YJnRMGX7eC6W
+EQnfXRL0x8TfvZLSGDakLvIrtleVjUmAFpu1gm5APdtdxin7th8x51pF9hhEvA1z
++xA88DZ8K8phwAcl5ql4eD/cU2xxraNrZioJyuYT4eN2WuIKCt7DgU8EEkKYfAkF
+yEp6BeAf4cw7Fb+UJm2m+78ma9Z2owOOa+M+5LZ5MYtnArcR0FkR8q2JNhPK70kt
+zzwt4XyAvlvtcZe9Ld0uvzD13Y4uDuqStCEggJelLZA5Q2af9zP6L2jBLrhQfXkS
+mlxdMjGcM6UeCnh1a94LGmi3d+1XwhynCVx3sLbrY3qDuE2ICLbRm2LkoLFbcPJD
+Plo57t0w67STyuOtAJQs
+=O64l
-----END PGP SIGNATURE-----
diff --git a/dev-libs/openssl/files/openssl-1.0.1p-default-source.patch b/dev-libs/openssl/files/openssl-1.0.1p-default-source.patch
new file mode 100644
index 000000000000..7d5bbbe157c3
--- /dev/null
+++ b/dev-libs/openssl/files/openssl-1.0.1p-default-source.patch
@@ -0,0 +1,29 @@
+https://bugs.gentoo.org/554338
+
+From 7c2e97f8bbae517496fdc11f475b4ae54b2534f5 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Fri, 10 Jul 2015 01:50:52 -0400
+Subject: [PATCH] test: use _DEFAULT_SOURCE with newer glibc versions
+
+The _BSD_SOURCE macro is replaced by the _DEFAULT_SOURCE macro. Using
+just the former with newer versions leads to a build time warning, so
+make sure to use the new macro too.
+---
+ ssl/ssltest.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/ssl/ssltest.c b/ssl/ssltest.c
+index 26cf96c..b36f667 100644
+--- a/ssl/ssltest.c
++++ b/ssl/ssltest.c
+@@ -141,6 +141,7 @@
+ */
+
+ /* Or gethostname won't be declared properly on Linux and GNU platforms. */
++#define _DEFAULT_SOURCE 1
+ #define _BSD_SOURCE 1
+
+ #include <assert.h>
+--
+2.4.4
+
diff --git a/dev-libs/openssl/openssl-1.0.1p.ebuild b/dev-libs/openssl/openssl-1.0.1p.ebuild
index 0694d6852617..e1d7bd4249e6 100644
--- a/dev-libs/openssl/openssl-1.0.1p.ebuild
+++ b/dev-libs/openssl/openssl-1.0.1p.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-1.0.1p.ebuild,v 1.4 2015/07/09 18:12:37 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-1.0.1p.ebuild,v 1.5 2015/07/10 06:08:30 vapier Exp $
EAPI="4"
@@ -63,6 +63,7 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-1.0.1m-x32.patch
epatch "${FILESDIR}"/${PN}-1.0.1m-ipv6.patch
epatch "${FILESDIR}"/${PN}-1.0.1f-revert-alpha-perl-generation.patch #499086
+ epatch "${FILESDIR}"/${PN}-1.0.1p-default-source.patch #554338
epatch_user #332661
fi
diff --git a/dev-libs/openssl/openssl-1.0.2d.ebuild b/dev-libs/openssl/openssl-1.0.2d.ebuild
index e06344486ee0..3b0c7d47b668 100644
--- a/dev-libs/openssl/openssl-1.0.2d.ebuild
+++ b/dev-libs/openssl/openssl-1.0.2d.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-1.0.2d.ebuild,v 1.1 2015/07/09 14:08:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-1.0.2d.ebuild,v 1.2 2015/07/10 06:08:30 vapier Exp $
EAPI="4"
@@ -65,6 +65,7 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-1.0.2a-parallel-symlinking.patch #545028
epatch "${FILESDIR}"/${PN}-1.0.2-ipv6.patch
epatch "${FILESDIR}"/${PN}-1.0.2a-x32-asm.patch #542618
+ epatch "${FILESDIR}"/${PN}-1.0.1p-default-source.patch #554338
epatch_user #332661
fi