wok-6.x rev 12271
mpc-library: back to 0.8.2 (see BUGS)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 12 19:47:11 2012 +0200 (2012-04-12) |
parents | 475688256701 |
children | a7297503ad9b |
files | mpc-library/receipt mpc-library/stuff/libmpc-0.9-configure_cflags_egrep_issue.patch |
line diff
1.1 --- a/mpc-library/receipt Thu Apr 12 18:42:31 2012 +0200 1.2 +++ b/mpc-library/receipt Thu Apr 12 19:47:11 2012 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="mpc-library" 1.7 -VERSION="0.9" 1.8 +VERSION="0.8.2" 1.9 CATEGORY="development" 1.10 SHORT_DESC="MPC is a C library for the arithmetic of complex numbers." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -9,6 +9,7 @@ 1.13 TARBALL="$SOURCE-$VERSION.tar.gz" 1.14 WEB_SITE="http://www.multiprecision.org/" 1.15 WGET_URL="http://www.multiprecision.org/mpc/download/$TARBALL" 1.16 +BUGS="Shared libs dont build with 0.9" 1.17 1.18 DEPENDS="mpfr gmp" 1.19 BUILD_DEPENDS="mpfr-dev gmp-dev" 1.20 @@ -16,6 +17,7 @@ 1.21 compile_rules() 1.22 { 1.23 cd $src 1.24 + #patch -Np1 -i $stuff/libmpc-0.9-configure_cflags_egrep_issue.patch 1.25 ./configure $CONFIGURE_ARGS && make && make install 1.26 } 1.27
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/mpc-library/stuff/libmpc-0.9-configure_cflags_egrep_issue.patch Thu Apr 12 19:47:11 2012 +0200 2.3 @@ -0,0 +1,63 @@ 2.4 +--- trunk/configure.ac 2011/02/21 12:18:31 932 2.5 ++++ trunk/configure.ac 2011/02/21 16:41:09 936 2.6 +@@ -33,7 +33,7 @@ 2.7 + AC_CANONICAL_HOST 2.8 + AC_CONFIG_MACRO_DIR([m4]) 2.9 + 2.10 +-dnl Extra arguments to configure 2.11 ++# Extra arguments to configure 2.12 + AC_ARG_WITH([mpfr_include], 2.13 + [AC_HELP_STRING([--with-mpfr-include=DIR], 2.14 + [MPFR include directory])], 2.15 +@@ -85,18 +85,19 @@ 2.16 + ) 2.17 + 2.18 + 2.19 +-dnl Setup CC and CFLAGS 2.20 ++# Setup CC and CFLAGS 2.21 ++AC_PROG_CC 2.22 ++AC_LANG(C) 2.23 + 2.24 +-dnl Check for user specification of CC or CFLAGS 2.25 ++# Set up LibTool 2.26 ++AC_PROG_LIBTOOL 2.27 ++ 2.28 ++# Check for user specification of CC or CFLAGS 2.29 + if test -n "$CFLAGS" || test -n "$CC" ; then 2.30 + user_redefine_cc=yes 2.31 + fi 2.32 + 2.33 +-# Check for programs 2.34 +-AC_PROG_CC 2.35 +-AC_LANG(C) 2.36 +- 2.37 +-dnl Check GMP Header 2.38 ++# Check GMP Header 2.39 + AC_MSG_CHECKING(for gmp.h) 2.40 + AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ 2.41 + #include "gmp.h" 2.42 +@@ -105,22 +106,19 @@ 2.43 + AC_MSG_ERROR([gmp.h can't be found, or is unusable.]) 2.44 + ]) 2.45 + 2.46 +-dnl Check for GMP CFLAGS in gmp.h 2.47 ++# Check for GMP CFLAGS in gmp.h 2.48 + if test -z "$user_redefine_cc" ; then 2.49 + MPC_GMP_CC_CFLAGS 2.50 + fi 2.51 + 2.52 + 2.53 +-dnl Configs for Windows DLLs 2.54 ++# Configs for Windows DLLs 2.55 + case $host in 2.56 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) 2.57 + MPC_WINDOWS 2.58 + esac 2.59 + 2.60 + 2.61 +-dnl Finally set up LibTool 2.62 +-AC_PROG_LIBTOOL 2.63 +- 2.64 + # Checks for header files. 2.65 + AC_HEADER_STDC 2.66 + AC_CHECK_HEADERS([complex.h locale.h inttypes.h stdint.h limits.h unistd.h sys/time.h])