rpms/zarafa/EL-5 zarafa-6.40.0-pthread.patch,NONE,1.1
Robert Scheck
robert at fedoraproject.org
Thu Jun 10 22:15:21 UTC 2010
- Previous message: rpms/zarafa/EL-6 zarafa-6.40.0-clucene.patch, NONE, 1.1 zarafa-6.40.0-krb5.patch, NONE, 1.1 zarafa-6.40.0-openssl.patch, NONE, 1.1 zarafa-6.40.0-package.patch, NONE, 1.1 zarafa-6.40.0-pthread.patch, NONE, 1.1 zarafa-6.40.0-undefined-symbol.patch, NONE, 1.1 zarafa-webaccess.conf, NONE, 1.1 zarafa.logrotate, NONE, 1.1 .cvsignore, 1.6, 1.7 sources, 1.6, 1.7 zarafa.spec, 1.7, 1.8 zarafa-6.30.10-chmod.patch, 1.1, NONE zarafa-6.30.10-undefined-symbol.patch, 1.1, NONE zarafa-6.30.4-brodowski.patch, 1.1, NONE zarafa-6.30.4-package.patch, 1.1, NONE zarafa-6.30.4-perl.patch, 1.1, NONE
- Next message: rpms/zarafa/F-12 zarafa-6.40.0-pthread.patch,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: robert
Update of /cvs/pkgs/rpms/zarafa/EL-5
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv26740/EL-5
Added Files:
zarafa-6.40.0-pthread.patch
Log Message:
Really add & commit zarafa-6.40.0-pthread.patch
zarafa-6.40.0-pthread.patch:
configure.ac | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
--- NEW FILE zarafa-6.40.0-pthread.patch ---
Patch by Robert Scheck <robert at fedoraproject.org> for zarafa >= 6.40.0, which adds
the missing -pthread linking to $CXXFLAGS for the later compile check whether open
is in -lclucene/libclucene.a. Unfortunately, Fedora was shipping CLucene 0.9.21 so
far; today the update to the important 0.9.21b happened. If -pthread is not passed
to $CXXFLAGS, the g++ compiling check fails simply with "undefined reference to
`pthread_mutexattr_settype'" and "undefined reference to `pthread_mutexattr_init'"
on Fedora >= 12 and RHEL >= 6.
Beside of that, the -pthread check must be moved before the CLucene check or the
CLucene check must be moved post -pthread. This patch is completing the previously
suggested and applied zarafa-6.40.0-clucene.patch.
--- zarafa-6.40.0/configure.ac 2010-06-10 23:12:32.000000000 +0200
+++ zarafa-6.40.0/configure.ac.pthread 2010-06-10 23:54:21.000000000 +0200
@@ -384,6 +384,14 @@
AC_SUBST(ICAL_LIBS)
CFLAGS=$cflags_keep
+# Everything links with pthread
+libs_keep=$LIBS
+# check lib, but do not set in link list
+AC_CHECK_LIB([pthread], [pthread_create],, AC_MSG_ERROR([required library libpthread missing or unusable]))
+LIBS=$libs_keep
+# because it seems this is better... (gnu c/c++ only?)
+CXXFLAGS="$CXXFLAGS -pthread"
+
# Check for CLucene availability
AC_LANG_PUSH(C++)
AC_ARG_WITH(clucene-lib-prefix,
@@ -397,12 +405,12 @@
cxxcpp_keep=$CXXCPP
if test "x$CLUCENE_LIB_PREFIX" != "x"; then
CFLAGS="$CFLAGS -I$CLUCENE_LIB_PREFIX"
- CXXFLAGS="$CFLAGS -I$CLUCENE_LIB_PREFIX"
+ CXXFLAGS="$CFLAGS $CXXFLAGS -I$CLUCENE_LIB_PREFIX"
CXXCPP="$CXXCPP -I$CLUCENE_LIB_PREFIX"
fi
if test "x$CLUCENE_INCLUDE_PREFIX" != "x"; then
CFLAGS="$CFLAGS -I$CLUCENE_INCLUDE_PREFIX"
- CXXFLAGS="$CFLAGS -I$CLUCENE_INCLUDE_PREFIX"
+ CXXFLAGS="$CFLAGS $CXXFLAGS -I$CLUCENE_INCLUDE_PREFIX"
CXXCPP="$CXXCPP -I$CLUCENE_INCLUDE_PREFIX"
fi
if test -e "${CLUCENE_LIB_PREFIX}/libclucene.a"; then
@@ -546,14 +554,6 @@
LIBS=$libs_keep
AC_SUBST(CRYPT_LIBS)
-# Everything links with pthread
-libs_keep=$LIBS
-# check lib, but do not set in link list
-AC_CHECK_LIB([pthread], [pthread_create],, AC_MSG_ERROR([required library libpthread missing or unusable]))
-LIBS=$libs_keep
-# because it seems this is better... (gnu c/c++ only?)
-CXXFLAGS="$CXXFLAGS -pthread"
-
# Only specific links with uuid and dl, clients only with crypto and ssl for ssl connections
libs_keep=$LIBS
AC_CHECK_LIB([crypto], [BIO_accept],, AC_MSG_ERROR([required library libcrypto missing or unusable]))
- Previous message: rpms/zarafa/EL-6 zarafa-6.40.0-clucene.patch, NONE, 1.1 zarafa-6.40.0-krb5.patch, NONE, 1.1 zarafa-6.40.0-openssl.patch, NONE, 1.1 zarafa-6.40.0-package.patch, NONE, 1.1 zarafa-6.40.0-pthread.patch, NONE, 1.1 zarafa-6.40.0-undefined-symbol.patch, NONE, 1.1 zarafa-webaccess.conf, NONE, 1.1 zarafa.logrotate, NONE, 1.1 .cvsignore, 1.6, 1.7 sources, 1.6, 1.7 zarafa.spec, 1.7, 1.8 zarafa-6.30.10-chmod.patch, 1.1, NONE zarafa-6.30.10-undefined-symbol.patch, 1.1, NONE zarafa-6.30.4-brodowski.patch, 1.1, NONE zarafa-6.30.4-package.patch, 1.1, NONE zarafa-6.30.4-perl.patch, 1.1, NONE
- Next message: rpms/zarafa/F-12 zarafa-6.40.0-pthread.patch,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list