Gentoo Archives: gentoo-commits

From: "Christoph Junghans (ottxor)" <ottxor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/apr/files: apr-1.4.6-mint.patch
Date: Wed, 28 Nov 2012 04:41:06
Message-Id: 20121128044054.1CBFD20C65@flycatcher.gentoo.org
1 ottxor 12/11/28 04:40:54
2
3 Added: apr-1.4.6-mint.patch
4 Log:
5 added prefix support
6
7 (Portage version: 2.2.0_alpha142/cvs/Linux i686, signed Manifest commit with key C2000586)
8
9 Revision Changes Path
10 1.1 dev-libs/apr/files/apr-1.4.6-mint.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/files/apr-1.4.6-mint.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/apr/files/apr-1.4.6-mint.patch?rev=1.1&content-type=text/plain
14
15 Index: apr-1.4.6-mint.patch
16 ===================================================================
17 diff -ur apr-1.2.11/build/apr_hints.m4 apr-1.2.11-mint/build/apr_hints.m4
18 --- apr-1.2.11/build/apr_hints.m4 Tue Jun 26 23:47:46 2007
19 +++ apr-1.2.11-mint/build/apr_hints.m4 Tue Mar 25 12:00:14 2008
20 @@ -44,8 +44,9 @@
21
22 case "$host" in
23 *mint)
24 - APR_ADDTO(CPPFLAGS, [-DMINT])
25 - APR_ADDTO(LIBS, [-lportlib])
26 + APR_ADDTO(CPPFLAGS, [-DMINT -D_GNU_SOURCE])
27 + apr_cv_pthreads_cflags="none"
28 + apr_cv_pthreads_lib="-lpthread"
29 ;;
30 *MPE/iX*)
31 APR_ADDTO(CPPFLAGS, [-DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE])
32 diff -ur apr-1.2.11/build/apr_threads.m4 apr-1.2.11-mint/build/apr_threads.m4
33 --- apr-1.2.11/build/apr_threads.m4 Thu Aug 3 11:05:26 2006
34 +++ apr-1.2.11-mint/build/apr_threads.m4 Wed Mar 19 08:38:56 2008
35 @@ -198,7 +198,7 @@
36 AC_DEFUN(APR_CHECK_SIGWAIT_ONE_ARG,[
37 AC_CACHE_CHECK(whether sigwait takes one argument,ac_cv_sigwait_one_arg,[
38 AC_TRY_COMPILE([
39 -#if defined(__NETBSD__) || defined(DARWIN)
40 +#if defined(__NETBSD__) || defined(DARWIN) || defined(MINT)
41 /* When using the unproven-pthreads package, we need to pull in this
42 * header to get a prototype for sigwait(). Else things will fail later
43 * on. XXX Should probably be fixed in the unproven-pthreads package.