Date: Tue, 9 Aug 2011 10:51:17 GMT From: Armin Pirkovitsch <armin@frozen-zone.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/159627: [PATCH] devel/libfirm and lang/cparser update Message-ID: <201108091051.p79ApHOC070800@red.freebsd.org> Resent-Message-ID: <201108091100.p79B0PgE041940@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 159627 >Category: ports >Synopsis: [PATCH] devel/libfirm and lang/cparser update >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Aug 09 11:00:25 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Armin Pirkovitsch >Release: >Organization: >Environment: >Description: Update of devel/libfirm to 1.19.1 lang/cparser to 0.9.12 libfirm: configure patch is required to disable "-fvisilbility=hidden"-feature which removes certain parts in the resulting library which are required by cparser. - libfirm.so was raised to .1 by upstream - I haven't found any depending ports other than cparser. cparser: Makefile patch is no longer required. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -Nur /mnt/ad12/tinderbox/portstrees/FreeBSD/ports/devel/libfirm/Makefile devel/libfirm/Makefile --- /mnt/ad12/tinderbox/portstrees/FreeBSD/ports/devel/libfirm/Makefile 2010-07-25 17:11:08.000000000 +0200 +++ devel/libfirm/Makefile 2011-08-09 09:04:17.000000000 +0200 @@ -6,7 +6,7 @@ # PORTNAME= libfirm -PORTVERSION= 1.18.1 +PORTVERSION= 1.19.1 CATEGORIES= devel lang MASTER_SITES= SF diff -Nur /mnt/ad12/tinderbox/portstrees/FreeBSD/ports/devel/libfirm/distinfo devel/libfirm/distinfo --- /mnt/ad12/tinderbox/portstrees/FreeBSD/ports/devel/libfirm/distinfo 2011-07-07 15:18:26.000000000 +0200 +++ devel/libfirm/distinfo 2011-08-09 09:04:22.000000000 +0200 @@ -1,2 +1,2 @@ -SHA256 (libfirm-1.18.1.tar.bz2) = b706e4d927e01aa0ac74ccc0513ce95a8efebb79673f32ec2da8b1662318b292 -SIZE (libfirm-1.18.1.tar.bz2) = 1621064 +SHA256 (libfirm-1.19.1.tar.bz2) = 63d2070a9362226fd95aa2070a93c131694eb6514e16e6c9522c118d16927dc3 +SIZE (libfirm-1.19.1.tar.bz2) = 1445112 diff -Nur /mnt/ad12/tinderbox/portstrees/FreeBSD/ports/devel/libfirm/files/patch-configure devel/libfirm/files/patch-configure --- /mnt/ad12/tinderbox/portstrees/FreeBSD/ports/devel/libfirm/files/patch-configure 1970-01-01 01:00:00.000000000 +0100 +++ devel/libfirm/files/patch-configure 2011-08-09 11:52:19.000000000 +0200 @@ -0,0 +1,79 @@ +--- configure.orig 2011-08-09 11:50:50.000000000 +0200 ++++ configure 2011-08-09 11:52:00.000000000 +0200 +@@ -11493,76 +11493,6 @@ + am__fastdepCC_FALSE= + fi + +- +- +-as_VAR=`$as_echo "ax_cv_cflags_gcc_option_-fvisibility=hidden" | $as_tr_sh` +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for gcc -fvisibility=hidden" >&5 +-$as_echo_n "checking CFLAGS for gcc -fvisibility=hidden... " >&6; } +-if eval "test \"\${$as_VAR+set}\"" = set; then : +- $as_echo_n "(cached) " >&6 +-else +- eval "$as_VAR=\"no, unknown\"" +- +- ac_ext=c +-ac_cpp='$CPP $CPPFLAGS' +-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +-ac_compiler_gnu=$ac_cv_c_compiler_gnu +- +- ac_save_CFLAGS="$CFLAGS" +-for ac_arg in "-pedantic -Werror % -fvisibility=hidden" "-pedantic % -fvisibility=hidden %% no, obsolete" # +-do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'` +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +-int +-main () +-{ +-return 0; +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- eval "$as_VAR=\`echo \$ac_arg | sed -e 's,.*% *,,'\`"; break +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-done +- CFLAGS="$ac_save_CFLAGS" +- ac_ext=c +-ac_cpp='$CPP $CPPFLAGS' +-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +-ac_compiler_gnu=$ac_cv_c_compiler_gnu +- +- +-fi +-eval ac_res=\$$as_VAR +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +-$as_echo "$ac_res" >&6; } +-eval var=\$$as_VAR +-case ".$var" in +- .ok|.ok,*) ;; +- .|.no|.no,*) ;; +- *) +- if echo " $CFLAGS " | grep " $var " 2>&1 >/dev/null +- then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS does contain \$var"; } >&5 +- (: CFLAGS does contain $var) 2>&5 +- ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } +- else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$var\""; } >&5 +- (: CFLAGS="$CFLAGS $var") 2>&5 +- ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } +- CFLAGS="$CFLAGS $var" +- fi +- ;; +-esac +- +- +- + for ac_prog in perl perl5 + do + # Extract the first word of "$ac_prog", so it can be a program name with args. diff -Nur /mnt/ad12/tinderbox/portstrees/FreeBSD/ports/devel/libfirm/pkg-plist devel/libfirm/pkg-plist --- /mnt/ad12/tinderbox/portstrees/FreeBSD/ports/devel/libfirm/pkg-plist 2010-07-25 17:11:08.000000000 +0200 +++ devel/libfirm/pkg-plist 2011-08-09 07:57:15.000000000 +0200 @@ -1,4 +1,3 @@ -include/libfirm/adt/align.h include/libfirm/adt/array.h include/libfirm/adt/bipartite.h include/libfirm/adt/cpset.h @@ -9,12 +8,10 @@ include/libfirm/adt/hashptr.h include/libfirm/adt/hashset.h include/libfirm/adt/hungarian.h -include/libfirm/adt/impl.h include/libfirm/adt/iterator.h include/libfirm/adt/list.h include/libfirm/adt/obst.h include/libfirm/adt/obstack.h -include/libfirm/adt/offset.h include/libfirm/adt/pdeq.h include/libfirm/adt/plist.h include/libfirm/adt/pmap.h @@ -23,15 +20,16 @@ include/libfirm/adt/pset_new.h include/libfirm/adt/set.h include/libfirm/adt/unionfind.h -include/libfirm/adt/util.h include/libfirm/adt/xmalloc.h include/libfirm/analyze_irg_args.h include/libfirm/be.h +include/libfirm/begin.h include/libfirm/callgraph.h include/libfirm/cdep.h include/libfirm/cgana.h include/libfirm/compound_path.h include/libfirm/dbginfo.h +include/libfirm/end.h include/libfirm/execfreq.h include/libfirm/execution_frequency.h include/libfirm/field_temperature.h @@ -39,11 +37,10 @@ include/libfirm/firm_common.h include/libfirm/firm_types.h include/libfirm/firmstat.h -include/libfirm/height.h +include/libfirm/heights.h include/libfirm/ident.h include/libfirm/interval_analysis.h include/libfirm/irarch.h -include/libfirm/ircgcons.h include/libfirm/ircgopt.h include/libfirm/ircons.h include/libfirm/irconsconfirm.h @@ -70,14 +67,12 @@ include/libfirm/irouts.h include/libfirm/irprintf.h include/libfirm/irprog.h -include/libfirm/irsimpletype.h include/libfirm/irtypeinfo.h -include/libfirm/irvrfy.h +include/libfirm/irverify.h include/libfirm/lowering.h -include/libfirm/old_fctnames.h -include/libfirm/pseudo_irg.h +include/libfirm/nodeops.h +include/libfirm/opcodes.h include/libfirm/rta.h -include/libfirm/seqnumbers.h include/libfirm/structure.h include/libfirm/timing.h include/libfirm/trouts.h @@ -87,7 +82,7 @@ lib/libfirm.a lib/libfirm.la lib/libfirm.so -lib/libfirm.so.0 +lib/libfirm.so.1 libdata/pkgconfig/libfirm.pc @dirrm include/libfirm/adt @dirrm include/libfirm diff -Nur /mnt/ad12/tinderbox/portstrees/FreeBSD/ports/lang/cparser/Makefile lang/cparser/Makefile --- /mnt/ad12/tinderbox/portstrees/FreeBSD/ports/lang/cparser/Makefile 2010-07-25 17:13:41.000000000 +0200 +++ lang/cparser/Makefile 2011-08-09 08:02:19.000000000 +0200 @@ -6,14 +6,14 @@ # PORTNAME= cparser -PORTVERSION= 0.9.11 +PORTVERSION= 0.9.12 CATEGORIES= lang devel MASTER_SITES= SF MAINTAINER= armin@frozen-zone.org COMMENT= A C99 compiler using libFIRM as backend -LIB_DEPENDS= firm.0:${PORTSDIR}/devel/libfirm +LIB_DEPENDS= firm.1:${PORTSDIR}/devel/libfirm LICENSE= GPLv2 diff -Nur /mnt/ad12/tinderbox/portstrees/FreeBSD/ports/lang/cparser/distinfo lang/cparser/distinfo --- /mnt/ad12/tinderbox/portstrees/FreeBSD/ports/lang/cparser/distinfo 2011-07-07 15:19:48.000000000 +0200 +++ lang/cparser/distinfo 2011-08-09 07:46:15.000000000 +0200 @@ -1,2 +1,2 @@ -SHA256 (cparser-0.9.11.tar.bz2) = 6683268ebb098d89332f04c9f789262b03b585e742709de247d4e71e9758ca82 -SIZE (cparser-0.9.11.tar.bz2) = 187465 +SHA256 (cparser-0.9.12.tar.bz2) = a664f7bd75ab1ff5984a3d10c5a734f373a23ecc7ad8bce55591c6cfb895a733 +SIZE (cparser-0.9.12.tar.bz2) = 185835 diff -Nur /mnt/ad12/tinderbox/portstrees/FreeBSD/ports/lang/cparser/files/patch-Makefile lang/cparser/files/patch-Makefile --- /mnt/ad12/tinderbox/portstrees/FreeBSD/ports/lang/cparser/files/patch-Makefile 2010-07-25 17:13:41.000000000 +0200 +++ lang/cparser/files/patch-Makefile 1970-01-01 01:00:00.000000000 +0100 @@ -1,11 +0,0 @@ ---- Makefile.orig 2010-07-17 20:44:08.000000000 +0000 -+++ Makefile 2010-07-17 20:44:24.000000000 +0000 -@@ -25,8 +25,6 @@ - - SOURCES := \ - adt/hashset.c \ -- adt/obstack.c \ -- adt/obstack_printf.c \ - adt/strset.c \ - adt/xmalloc.c \ - attribute.c \ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108091051.p79ApHOC070800>