diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-10 09:09:16 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-10 09:09:16 +0000 |
commit | f45955e60d4da9b7f4a1088c98042f9c06669039 (patch) | |
tree | 25ff171e8813c8b99f79a424124ed214a9520850 /dev-libs/libite | |
parent | b9ef7cab6264f1838672efbbcb4ba3b3abd5323f (diff) |
gentoo resync : 10.12.2017
Diffstat (limited to 'dev-libs/libite')
-rw-r--r-- | dev-libs/libite/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/libite/files/libite-2.0.0-fix-path.patch | 12 | ||||
-rw-r--r-- | dev-libs/libite/files/libite-2.0.0-fix-which-path.patch | 25 | ||||
-rw-r--r-- | dev-libs/libite/libite-2.0.0.ebuild | 5 |
4 files changed, 45 insertions, 1 deletions
diff --git a/dev-libs/libite/Manifest b/dev-libs/libite/Manifest index 285437c46f8a..ee5baa5f1068 100644 --- a/dev-libs/libite/Manifest +++ b/dev-libs/libite/Manifest @@ -1,3 +1,5 @@ +AUX libite-2.0.0-fix-path.patch 304 BLAKE2B 2f753f52984c5481c76f8b228373ae7d091f8d6baeb43f12e69c7298e876f6edecfb6d3abd9c8b963c9c7ace78ee771c07fba6da9239a0a90b5902e9bf7b25f5 SHA512 1cb45bf3bdf4b80c7ad0ecc3127c036f52a80944087fa30c5f8709bd6af7c6e81f0e397bc4490f4e4ab61f9827519244eae0bc6f3258f3f875d2b89e789b7c1f +AUX libite-2.0.0-fix-which-path.patch 594 BLAKE2B d93f3c500f82f541bbeffd2e418f2430db9e8328ba03a2af39b22042c9c5a6923b69fb9c6a5f0bd64271d2f4761c207a8af01d87c977c7ee09e273b90e64ce64 SHA512 34b091128a9d43202b2d90f01d575a4c03bea38828d65bc6212d601c02a53d8157b9634cf5e0dd4f2be3ddeb18ad0bb3af0dedc68a0a30abfd51e7de2808a115 DIST libite-2.0.0.tar.xz 259960 BLAKE2B 4c5393daaf2ca6eb830fc5f11b1d38e9c1e2374c5f5d87bb973c7e54b9f81480d4a270a4551689806620cd5a84671d1055d409d6dd090acb64bf7fc454d1c283 SHA512 18516f19d36d81169116562b4b27d76240715424cdde9b87eae831f35adb17d70fb01e2eae5e7e9ce99e2c88344c2c15d2b7d11f4ea2e9ae0deb25ee5ee4c563 -EBUILD libite-2.0.0.ebuild 535 BLAKE2B 2f3b508b167bf11097441e34d7cea2b4924166431030c695f33a727ae1155a0cb75eae8c43e38cf10c3e7e9b41e2bcc3849fa290729cb5e45769735d94bca148 SHA512 9e510150d0e212cfd499ba308e61fd89684443f0fab43ae9a7871d29f162a8e777abf9db5c6de71894d2275ddf628913fd36071286316f5517a303c204f91cc6 +EBUILD libite-2.0.0.ebuild 624 BLAKE2B 4fedd1976a0f0b8a3808dc86c0b1dbd9975f956320fd0caf9eac1c40657aa6ac01b96ca4133ab819d99a60f0e572406a1a3fe5b74960c517195ee78fdd6ce804 SHA512 fe0518a4470535fd2f79fa59b1b2525f8b2bec63e9ed6dace625e45b242640ec889822913b3911b04ab3e646e5ddec714c504d50a1f33c55562427e421f98f51 MISC metadata.xml 773 BLAKE2B ed6eab8165e4f6a6b37c9c23616d0eacb44f2b15b13fda13093629a8d060e2c9f35b5a5614ad8e205462e0e1c8ec2a1cd71243d377d3a94084f0c1d7d2ab62a4 SHA512 2bb72bae63f07cce65711f13f5268a2bdde04ebdbcc9be4a2a5700f6a68aa3745d91ec83881fa83001fcdfb71675dc4fa1f937ca63273ae763ad899e43e0290f diff --git a/dev-libs/libite/files/libite-2.0.0-fix-path.patch b/dev-libs/libite/files/libite-2.0.0-fix-path.patch new file mode 100644 index 000000000000..47a3dad538b1 --- /dev/null +++ b/dev-libs/libite/files/libite-2.0.0-fix-path.patch @@ -0,0 +1,12 @@ +diff --git a/tests/which.c b/tests/which.c +index cda57c6..3e74867 100644 +--- a/tests/which.c ++++ b/tests/which.c +@@ -21,6 +21,7 @@ int main(void) + { NULL, 0 } + }; + ++ setenv("PATH", "/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin", 1); + for (i = 0; test[i].cmd; i++) { + char *path; + diff --git a/dev-libs/libite/files/libite-2.0.0-fix-which-path.patch b/dev-libs/libite/files/libite-2.0.0-fix-which-path.patch new file mode 100644 index 000000000000..301c43715890 --- /dev/null +++ b/dev-libs/libite/files/libite-2.0.0-fix-which-path.patch @@ -0,0 +1,25 @@ +diff --git a/tests/which.c b/tests/which.c +index 46dcccf..cda57c6 100644 +--- a/tests/which.c ++++ b/tests/which.c +@@ -11,13 +11,13 @@ int main(void) + int result = 0; + size_t i; + struct tc test[] = { +- { "ls", 1 }, +- { "free", 1 }, +- { "modinfo", 1 }, +- { "useradd", 1 }, +- { "/bin/which", 1 }, +- { "/bin/ps aux", 1 }, +- { "/etc/passwd", 0 }, ++ { "ls", 1 }, ++ { "free", 1 }, ++ { "modinfo", 1 }, ++ { "useradd", 1 }, ++ { "/usr/bin/which", 1 }, ++ { "/bin/ps aux", 1 }, ++ { "/etc/passwd", 0 }, + { NULL, 0 } + }; + diff --git a/dev-libs/libite/libite-2.0.0.ebuild b/dev-libs/libite/libite-2.0.0.ebuild index 4dff1da74a46..0380b8e161c4 100644 --- a/dev-libs/libite/libite-2.0.0.ebuild +++ b/dev-libs/libite/libite-2.0.0.ebuild @@ -12,6 +12,11 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="static-libs" +PATCHES=( + "${FILESDIR}"/${P}-fix-which-path.patch + "${FILESDIR}"/${P}-fix-path.patch +) + src_configure(){ econf --enable-static=$(usex static-libs) } |