Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 546120
Collapse All | Expand All

(-)/usr/portage/net-fs/samba/samba-4.1.18.ebuild (+12 lines)
Lines 93-98 Link Here
93
	fi
93
	fi
94
}
94
}
95
95
96
src_prepare() {
97
	if has_version ">=net-libs/gnutls-3.4"; then
98
		sed -e 's/.*set_priority.*/\tgnutls_priority_set_direct(tls->session, "NORMAL:+CTYPE-OPENPGP", NULL);/' \
99
			-e '/cert_type_priority/d' \
100
			-i source4/lib/tls/tls.c
101
		sed -e 's/.*set_priority.*/\tgnutls_priority_set_direct(tlss->tls_session, "NORMAL:+CTYPE-OPENPGP", NULL);/' \
102
			-e '/t cert_type_priority/ s:^:/*:' \
103
			-e '/t cert_type_priority/{n;N;N;N;s:$:*/:}' \
104
			-i source4/lib/tls/tls_tstream.c
105
	fi
106
}
107
96
src_configure() {
108
src_configure() {
97
	local myconf=''
109
	local myconf=''
98
	use "cluster" && myconf+=" --with-ctdb-dir=/usr"
110
	use "cluster" && myconf+=" --with-ctdb-dir=/usr"

Return to bug 546120