diff options
author | Koop Mast <kwm@FreeBSD.org> | 2014-04-28 15:58:06 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2014-04-28 15:58:06 +0000 |
commit | 4b2a51b2c6556f271b13ce9042a89437197b56cb (patch) | |
tree | df4ba2c0ccd869e7483386316358f1af35ce885f /lang | |
parent | cf686a01526fc762b49aae5ab07171a14f15f89e (diff) | |
download | ports-4b2a51b2c6556f271b13ce9042a89437197b56cb.tar.gz ports-4b2a51b2c6556f271b13ce9042a89437197b56cb.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/guile/Makefile | 3 | ||||
-rw-r--r-- | lang/guile/files/patch-libguile_c-tokenize.c | 18 | ||||
-rw-r--r-- | lang/guile/files/patch-libguile_guile-snarf.in | 12 |
3 files changed, 33 insertions, 0 deletions
diff --git a/lang/guile/Makefile b/lang/guile/Makefile index f2db99314844..02dd70f78510 100644 --- a/lang/guile/Makefile +++ b/lang/guile/Makefile @@ -4,6 +4,7 @@ PORTNAME= guile PORTVERSION= 1.8.8 +PORTREVISION= 1 CATEGORIES= lang scheme MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= guile @@ -19,6 +20,8 @@ GNU_CONFIGURE= yes USE_LDCONFIG= yes LDFLAGS+= -L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include +CFLAGS+= -fwrapv +INSTALL_TARGET= install-strip GUILE_VER= 1.8 PLIST_SUB= GUILE_VER=${GUILE_VER} diff --git a/lang/guile/files/patch-libguile_c-tokenize.c b/lang/guile/files/patch-libguile_c-tokenize.c new file mode 100644 index 000000000000..338efe4f7699 --- /dev/null +++ b/lang/guile/files/patch-libguile_c-tokenize.c @@ -0,0 +1,18 @@ +--- libguile/c-tokenize.c 2010-12-13 20:24:04.000000000 +0100 ++++ libguile/c-tokenize.c 2014-04-13 22:20:33.000000000 +0200 +@@ -898,13 +898,13 @@ case 3: + /* rule 3 can match eol */ + YY_RULE_SETUP + #line 71 "./c-tokenize.lex" +-{ OUT(eol); } ++{ /*OUT(eol);*/ } + YY_BREAK + case 4: + /* rule 4 can match eol */ + YY_RULE_SETUP + #line 73 "./c-tokenize.lex" +-{ OUT(hash); IS_NOT_COOKIE; } ++{ /*OUT(hash);*/ IS_NOT_COOKIE; } + YY_BREAK + case 5: + YY_RULE_SETUP diff --git a/lang/guile/files/patch-libguile_guile-snarf.in b/lang/guile/files/patch-libguile_guile-snarf.in new file mode 100644 index 000000000000..047fd8859ec2 --- /dev/null +++ b/lang/guile/files/patch-libguile_guile-snarf.in @@ -0,0 +1,12 @@ +--- libguile/guile-snarf.in 2010-12-13 18:24:40.000000000 +0100 ++++ libguile/guile-snarf.in 2014-04-13 21:05:42.000000000 +0200 +@@ -51,7 +51,8 @@ modern_snarf () + ## empty file. + echo "/* cpp arguments: $@ */" ; + ${cpp} -DSCM_MAGIC_SNARF_INITS -DSCM_MAGIC_SNARFER "$@" > ${temp} && cpp_ok_p=true +- grep "^ *\^ *\^" ${temp} | sed -e "s/^ *\^ *\^//" -e "s/\^\ *:\ *\^.*/;/" ++ sed -e 's/\^ *\^/\ ++^^/g' ${temp} | grep "^.*\^ *\^" | sed -e "s/^.*\^ *\^//" -e "s/\^\ *:\ *\^.*/;/" + } + + ## main |