From: | "Ole Markus With (olemarkus)" <olemarkus@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/php/files: stricter-libc-client-symlink-check.patch |
Date: | Sat, 30 Mar 2013 17:47:20 |
Message-Id: | 20130330174716.B08A52171E@flycatcher.gentoo.org |
1 | olemarkus 13/03/30 17:47:16 |
2 | |
3 | Added: stricter-libc-client-symlink-check.patch |
4 | Log: |
5 | Bugfix for 463800 |
6 | |
7 | (Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key C4A92BF5) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-lang/php/files/stricter-libc-client-symlink-check.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/stricter-libc-client-symlink-check.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/stricter-libc-client-symlink-check.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: stricter-libc-client-symlink-check.patch |
16 | =================================================================== |
17 | Gentoo bugs: 88944 463800 |
18 | --- ext/imap/config.m4 2013-03-27 19:31:13.000000000 +0100 |
19 | +++ ext/imap/config.m4.new 2013-03-30 18:34:17.581557062 +0100 |
20 | @@ -198,9 +198,9 @@ |
21 | AC_MSG_ERROR(Cannot find rfc822.h. Please check your c-client installation.) |
22 | fi |
23 | |
24 | - if test -r "$IMAP_DIR/c-client/c-client.a"; then |
25 | + if test ! -r "$IMAP_DIR/c-client/libc-client.a" && -r "$IMAP_DIR/c-client/c-client.a" ; then |
26 | ln -s "$IMAP_DIR/c-client/c-client.a" "$IMAP_DIR/c-client/libc-client.a" >/dev/null 2>&1 |
27 | - elif test -r "$IMAP_DIR/$PHP_LIBDIR/c-client.a"; then |
28 | + elif test ! -r "$IMAP_DIR/$PHP_LIBDIR/libc-client.a" && -r "$IMAP_DIR/$PHP_LIBDIR/c-client.a"; then |
29 | ln -s "$IMAP_DIR/$PHP_LIBDIR/c-client.a" "$IMAP_DIR/$PHP_LIBDIR/libc-client.a" >/dev/null 2>&1 |
30 | fi |