Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/apr/files: apr-1.5.0-mint.patch
Date: Wed, 20 Nov 2013 18:48:52
Message-Id: 20131120184847.ADD542004B@flycatcher.gentoo.org
1 polynomial-c 13/11/20 18:48:47
2
3 Added: apr-1.5.0-mint.patch
4 Log:
5 Version bump. Removed old
6
7 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
8
9 Revision Changes Path
10 1.1 dev-libs/apr/files/apr-1.5.0-mint.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/files/apr-1.5.0-mint.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/files/apr-1.5.0-mint.patch?rev=1.1&content-type=text/plain
14
15 Index: apr-1.5.0-mint.patch
16 ===================================================================
17 --- apr-1.5.0/build/apr_hints.m4
18 +++ apr-1.5.0/build/apr_hints.m4
19 @@ -45,6 +45,8 @@
20 case "$host" in
21 *mint)
22 APR_ADDTO(CPPFLAGS, [-DMINT -D_GNU_SOURCE])
23 + apr_cv_pthreads_cflags="none"
24 + apr_cv_pthreads_lib="-lpthread"
25 ;;
26 *MPE/iX*)
27 APR_ADDTO(CPPFLAGS, [-DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE])
28 --- apr-1.5.0/build/apr_threads.m4
29 +++ apr-1.5.0/build/apr_threads.m4
30 @@ -198,7 +198,7 @@
31 AC_DEFUN([APR_CHECK_SIGWAIT_ONE_ARG], [
32 AC_CACHE_CHECK(whether sigwait takes one argument,ac_cv_sigwait_one_arg,[
33 AC_TRY_COMPILE([
34 -#if defined(__NETBSD__) || defined(DARWIN)
35 +#if defined(__NETBSD__) || defined(DARWIN) || defined(MINT)
36 /* When using the unproven-pthreads package, we need to pull in this
37 * header to get a prototype for sigwait(). Else things will fail later
38 * on. XXX Should probably be fixed in the unproven-pthreads package.