# HG changeset patch # User Christophe Lincoln # Date 1334252831 -7200 # Node ID 008bee4877344785c1be738e44991300442b99da # Parent 475688256701d1947f9726eff099da74a2d446a5 mpc-library: back to 0.8.2 (see BUGS) diff -r 475688256701 -r 008bee487734 mpc-library/receipt --- a/mpc-library/receipt Thu Apr 12 18:42:31 2012 +0200 +++ b/mpc-library/receipt Thu Apr 12 19:47:11 2012 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="mpc-library" -VERSION="0.9" +VERSION="0.8.2" CATEGORY="development" SHORT_DESC="MPC is a C library for the arithmetic of complex numbers." MAINTAINER="pankso@slitaz.org" @@ -9,6 +9,7 @@ TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.multiprecision.org/" WGET_URL="http://www.multiprecision.org/mpc/download/$TARBALL" +BUGS="Shared libs dont build with 0.9" DEPENDS="mpfr gmp" BUILD_DEPENDS="mpfr-dev gmp-dev" @@ -16,6 +17,7 @@ compile_rules() { cd $src + #patch -Np1 -i $stuff/libmpc-0.9-configure_cflags_egrep_issue.patch ./configure $CONFIGURE_ARGS && make && make install } diff -r 475688256701 -r 008bee487734 mpc-library/stuff/libmpc-0.9-configure_cflags_egrep_issue.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mpc-library/stuff/libmpc-0.9-configure_cflags_egrep_issue.patch Thu Apr 12 19:47:11 2012 +0200 @@ -0,0 +1,63 @@ +--- trunk/configure.ac 2011/02/21 12:18:31 932 ++++ trunk/configure.ac 2011/02/21 16:41:09 936 +@@ -33,7 +33,7 @@ + AC_CANONICAL_HOST + AC_CONFIG_MACRO_DIR([m4]) + +-dnl Extra arguments to configure ++# Extra arguments to configure + AC_ARG_WITH([mpfr_include], + [AC_HELP_STRING([--with-mpfr-include=DIR], + [MPFR include directory])], +@@ -85,18 +85,19 @@ + ) + + +-dnl Setup CC and CFLAGS ++# Setup CC and CFLAGS ++AC_PROG_CC ++AC_LANG(C) + +-dnl Check for user specification of CC or CFLAGS ++# Set up LibTool ++AC_PROG_LIBTOOL ++ ++# Check for user specification of CC or CFLAGS + if test -n "$CFLAGS" || test -n "$CC" ; then + user_redefine_cc=yes + fi + +-# Check for programs +-AC_PROG_CC +-AC_LANG(C) +- +-dnl Check GMP Header ++# Check GMP Header + AC_MSG_CHECKING(for gmp.h) + AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ + #include "gmp.h" +@@ -105,22 +106,19 @@ + AC_MSG_ERROR([gmp.h can't be found, or is unusable.]) + ]) + +-dnl Check for GMP CFLAGS in gmp.h ++# Check for GMP CFLAGS in gmp.h + if test -z "$user_redefine_cc" ; then + MPC_GMP_CC_CFLAGS + fi + + +-dnl Configs for Windows DLLs ++# Configs for Windows DLLs + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + MPC_WINDOWS + esac + + +-dnl Finally set up LibTool +-AC_PROG_LIBTOOL +- + # Checks for header files. + AC_HEADER_STDC + AC_CHECK_HEADERS([complex.h locale.h inttypes.h stdint.h limits.h unistd.h sys/time.h])