1 |
commit: 9acfbf506aef6feb95d6d8c6896bc840fd609f2e |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 1 08:52:13 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 1 09:01:34 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9acfbf50 |
7 |
|
8 |
net-libs/libssh: Set -DWITH_STACK_PROTECTOR=OFF |
9 |
|
10 |
The build system injects -fstack-protector _after_ CFLAGS, which means |
11 |
that when CFLAGS define a stronger SSP, this lowers its protection |
12 |
instead of improving it. |
13 |
|
14 |
Additionally, the test for the compiler flag succeeds on HPPA when it |
15 |
shouldn't, causing the build to fail later on: |
16 |
|
17 |
In file included from src/agent.c:53:0: |
18 |
include/libssh/priv.h:169:4: error: #error "Your system must provide a __func__ macro" |
19 |
|
20 |
Bug: https://bugs.gentoo.org/59506 |
21 |
Package-Manager: Portage-2.3.48, Repoman-2.3.10 |
22 |
|
23 |
net-libs/libssh/libssh-0.7.4.ebuild | 1 + |
24 |
net-libs/libssh/libssh-0.7.5-r2.ebuild | 1 + |
25 |
net-libs/libssh/libssh-0.8.1.ebuild | 1 + |
26 |
net-libs/libssh/libssh-9999.ebuild | 1 + |
27 |
4 files changed, 4 insertions(+) |
28 |
|
29 |
diff --git a/net-libs/libssh/libssh-0.7.4.ebuild b/net-libs/libssh/libssh-0.7.4.ebuild |
30 |
index 3b45d1fa582..f3308692332 100644 |
31 |
--- a/net-libs/libssh/libssh-0.7.4.ebuild |
32 |
+++ b/net-libs/libssh/libssh-0.7.4.ebuild |
33 |
@@ -64,6 +64,7 @@ multilib_src_configure() { |
34 |
-DWITH_SERVER="$(usex server)" |
35 |
-DWITH_SFTP="$(usex sftp)" |
36 |
-DWITH_SSH1="$(usex ssh1)" |
37 |
+ -DWITH_STACK_PROTECTOR=OFF |
38 |
-DWITH_STATIC_LIB="$(usex static-libs)" |
39 |
-DWITH_STATIC_LIB="$(usex test)" |
40 |
-DWITH_TESTING="$(usex test)" |
41 |
|
42 |
diff --git a/net-libs/libssh/libssh-0.7.5-r2.ebuild b/net-libs/libssh/libssh-0.7.5-r2.ebuild |
43 |
index ea3291593f7..95aba9f77ea 100644 |
44 |
--- a/net-libs/libssh/libssh-0.7.5-r2.ebuild |
45 |
+++ b/net-libs/libssh/libssh-0.7.5-r2.ebuild |
46 |
@@ -67,6 +67,7 @@ multilib_src_configure() { |
47 |
-DWITH_SERVER="$(usex server)" |
48 |
-DWITH_SFTP="$(usex sftp)" |
49 |
-DWITH_SSH1="$(usex ssh1)" |
50 |
+ -DWITH_STACK_PROTECTOR=OFF |
51 |
-DWITH_STATIC_LIB="$(usex static-libs)" |
52 |
-DWITH_STATIC_LIB="$(usex test)" |
53 |
-DWITH_TESTING="$(usex test)" |
54 |
|
55 |
diff --git a/net-libs/libssh/libssh-0.8.1.ebuild b/net-libs/libssh/libssh-0.8.1.ebuild |
56 |
index 8aaceace64c..641c1853e98 100644 |
57 |
--- a/net-libs/libssh/libssh-0.8.1.ebuild |
58 |
+++ b/net-libs/libssh/libssh-0.8.1.ebuild |
59 |
@@ -76,6 +76,7 @@ multilib_src_configure() { |
60 |
-DWITH_PCAP="$(usex pcap)" |
61 |
-DWITH_SERVER="$(usex server)" |
62 |
-DWITH_SFTP="$(usex sftp)" |
63 |
+ -DWITH_STACK_PROTECTOR=OFF |
64 |
-DWITH_STATIC_LIB="$(usex static-libs)" |
65 |
-DWITH_STATIC_LIB="$(usex test)" |
66 |
-DWITH_ZLIB="$(usex zlib)" |
67 |
|
68 |
diff --git a/net-libs/libssh/libssh-9999.ebuild b/net-libs/libssh/libssh-9999.ebuild |
69 |
index 8aaceace64c..641c1853e98 100644 |
70 |
--- a/net-libs/libssh/libssh-9999.ebuild |
71 |
+++ b/net-libs/libssh/libssh-9999.ebuild |
72 |
@@ -76,6 +76,7 @@ multilib_src_configure() { |
73 |
-DWITH_PCAP="$(usex pcap)" |
74 |
-DWITH_SERVER="$(usex server)" |
75 |
-DWITH_SFTP="$(usex sftp)" |
76 |
+ -DWITH_STACK_PROTECTOR=OFF |
77 |
-DWITH_STATIC_LIB="$(usex static-libs)" |
78 |
-DWITH_STATIC_LIB="$(usex test)" |
79 |
-DWITH_ZLIB="$(usex zlib)" |