* [gentoo-commits] gentoo-x86 commit in sys-libs/gwenhywfar/files: gwenhywfar-3.8.1-asneeded.diff gwenhywfar-3.8.1-gnutls-check.diff gwenhywfar-3.8.1-gcc-check.diff
@ 2009-05-22 21:58 Hanno Boeck (hanno)
0 siblings, 0 replies; only message in thread
From: Hanno Boeck (hanno) @ 2009-05-22 21:58 UTC (permalink / raw
To: gentoo-commits
hanno 09/05/22 21:58:51
Added: gwenhywfar-3.8.1-asneeded.diff
gwenhywfar-3.8.1-gnutls-check.diff
gwenhywfar-3.8.1-gcc-check.diff
Log:
gwenhywfar bump
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Revision Changes Path
1.1 sys-libs/gwenhywfar/files/gwenhywfar-3.8.1-asneeded.diff
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/gwenhywfar/files/gwenhywfar-3.8.1-asneeded.diff?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/gwenhywfar/files/gwenhywfar-3.8.1-asneeded.diff?rev=1.1&content-type=text/plain
Index: gwenhywfar-3.8.1-asneeded.diff
===================================================================
Index: gwenhywfar-3.7.2/configure.ac
===================================================================
--- gwenhywfar-3.7.2.orig/configure.ac
+++ gwenhywfar-3.7.2/configure.ac
@@ -204,7 +204,7 @@ AC_CHECK_LIB(rt, sem_init,
[
- rt_libs="-lrt"
+ rt_libs="-lrt -pthread"
AC_DEFINE(HAVE_LIBRT, "1", [whether librt is available])
- ])
+ ], [], [-pthread])
AC_SUBST(rt_libs)
# Some systems have iconv in libc, some have it in libiconv (OSF/1 and
1.1 sys-libs/gwenhywfar/files/gwenhywfar-3.8.1-gnutls-check.diff
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/gwenhywfar/files/gwenhywfar-3.8.1-gnutls-check.diff?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/gwenhywfar/files/gwenhywfar-3.8.1-gnutls-check.diff?rev=1.1&content-type=text/plain
Index: gwenhywfar-3.8.1-gnutls-check.diff
===================================================================
Index: configure.ac
===================================================================
--- configure.ac (Revision 1547)
+++ configure.ac (Arbeitskopie)
@@ -192,7 +192,6 @@
AC_CHECK_PROG(USE_DOT,dot,YES,NO)
AC_CHECK_PROG(SED,sed,sed)
-
###-------------------------------------------------------------------------
#
# Checks for libraries.
@@ -604,12 +603,7 @@
;;
*)
- AM_PATH_LIBGNUTLS([], [have_gnutls="yes"], [have_gnutls="no"])
- if test "$have_gnutls" != "yes"; then
- AC_MSG_ERROR([
- **** Libgnutls is required for Gwenhywfar. Please install it (including devel packages)])
- fi
-
+ PKG_CHECK_MODULES([LIBGNUTLS], [gnutls])
# check for 1.6 or higher
oldlibs="$LIBS"
LIBS="${LIBGNUTLS_LIBS}"
1.1 sys-libs/gwenhywfar/files/gwenhywfar-3.8.1-gcc-check.diff
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/gwenhywfar/files/gwenhywfar-3.8.1-gcc-check.diff?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/gwenhywfar/files/gwenhywfar-3.8.1-gcc-check.diff?rev=1.1&content-type=text/plain
Index: gwenhywfar-3.8.1-gcc-check.diff
===================================================================
--- gwenhywfar-3.8.1/configure.ac 2009-05-09 18:08:48.000000000 +0200
+++ gwenhywfar-3.8.1-1/configure.ac 2009-05-12 10:33:00.000000000 +0200
@@ -844,11 +844,11 @@
if test "$enable_visibility" = "yes"; then
AC_MSG_CHECKING(if symbol visibility is supported)
visibility_cflags=""
- case `basename $CC` in
+ case `$CC --version|head -n1|cut -f1 -d " "` in
gcc*)
dnl Determine version number (watch out: the outside square
dnl parenteses are vitally important here!)
- gccversion=["` ${CC} --version | head -1 | ${SED} 's/.*\([0-9]\.[0-9]\.[0-9]*\).*/\1/' `"]
+ gccversion=["` ${CC} -dumpversion `"]
case $gccversion in
4.*)
# Activate -fvisibility=hidden only for explicit 4.x gcc
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-22 21:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-22 21:58 [gentoo-commits] gentoo-x86 commit in sys-libs/gwenhywfar/files: gwenhywfar-3.8.1-asneeded.diff gwenhywfar-3.8.1-gnutls-check.diff gwenhywfar-3.8.1-gcc-check.diff Hanno Boeck (hanno)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox