Diff libmicrohttpd-0.9.76 with a libmicrohttpd-0.9.77

/usr/portage/net-libs/libmicrohttpd/libmicrohttpd-0.9.77.ebuild 2023-10-09 14:52:34.484368476 +0300
3 3

  
4 4
EAPI="8"
5 5

  
6
inherit multilib-minimal
6
inherit linux-info multilib-minimal
7 7

  
8 8
MY_P="${P/_/}"
9 9

  
......
14 14

  
15 15
LICENSE="|| ( LGPL-2.1+ !ssl? ( GPL-2+-with-eCos-exception-2 ) )"
16 16
SLOT="0/12"
17
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
18
IUSE="+epoll ssl static-libs test +thread-names"
17
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86"
18
IUSE="+epoll +eventfd ssl static-libs test +thread-names"
19
REQUIRED_USE="epoll? ( kernel_linux )"
19 20
RESTRICT="!test? ( test )"
20 21

  
21 22
RDEPEND="ssl? ( >net-libs/gnutls-2.12.20:=[${MULTILIB_USEDEP}] )"
......
26 27

  
27 28
DOCS=( AUTHORS NEWS COPYING README ChangeLog )
28 29

  
29
PATCHES=( "${FILESDIR}"/${PN}-0.9.75-fix-testsuite-with-lto.patch )
30

  
31
# All checks in libmicrohttpd's configure are correct
32
# Gentoo Bug #898662
33
QA_CONFIG_IMPL_DECL_SKIP=(
34
	'pthread_sigmask'
35
	'CreateThread'
36
	'pthread_attr_init'
37
	'pthread_attr_setname_np'
38
	'pthread_setname_np'
39
	'__builtin_bswap32'
40
	'__builtin_bswap64'
41
	'WSAPoll'
42
	'epoll_create1'
43
	'eventfd'
44
	'pipe'
45
	'pipe2'
46
	'socketpair'
47
	'gmtime_s'
48
	'host_get_clock_service'
49
	'clock_get_time'
50
	'mach_port_deallocate'
51
	'gethrtime'
52
	'timespec_get'
53
	'gettimeofday'
54
	'sendfile'
55
	'gnutls_privkey_import_x509_raw'
56
	'calloc'
57
	'fork'
58
	'waitpid'
59
	'random'
60
	'rand'
61
	'getsockname'
62
	'sysconf'
63
	'sysctl'
64
	'sysctlbyname'
65
	'usleep'
66
	'nanosleep'
67
)
30
pkg_pretend() {
31
	if use kernel_linux ; then
32
		CONFIG_CHECK=""
33
		use epoll && CONFIG_CHECK+=" ~EPOLL"
34
		ERROR_EPOLL="EPOLL is not enabled in kernel, but enabled in libmicrohttpd."
35
		ERROR_EPOLL+=" libmicrohttpd will fail to start with 'automatic' configuration."
36
		use eventfd && CONFIG_CHECK+=" ~EVENTFD"
37
		ERROR_EVENTFD="EVENTFD is not enabled in kernel, but enabled in libmicrohttpd."
38
		ERROR_EVENTFD+=" libmicrohttpd will not work."
39
		check_extra_config
40
	fi
41
}
68 42

  
69 43
multilib_src_configure() {
44
	local itc_type
45
	if use eventfd ; then
46
		itc_type="eventfd"
47
	else
48
		itc_type="pipe"
49
	fi
70 50
	ECONF_SOURCE="${S}" \
71 51
	econf \
72 52
		--enable-shared \
......
80 60
		--enable-httpupgrade \
81 61
		--disable-experimental \
82 62
		--disable-heavy-tests \
63
		--enable-itc=${itc_type} \
83 64
		$(use_enable thread-names) \
84 65
		$(use_enable epoll) \
85 66
		$(use_enable test curl) \
86
		$(use_enable ssl https) \
87
		$(use_with ssl gnutls)
67
		$(use_enable ssl https)
88 68
}
89 69

  
90 70
multilib_src_install_all() {
Thank you!