diff options
author | jbeich <jbeich@FreeBSD.org> | 2017-02-05 15:52:22 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2017-02-05 15:52:22 +0800 |
commit | 9f4aa2212faf4cffceccfcf85eb189689a705c0d (patch) | |
tree | de0d60c4cf351ed2e4f5c66b7f7e386b90c02fa4 /graphics/bugle | |
parent | 8158f11879b3c84f31e260c62ae7575caacf5778 (diff) | |
download | freebsd-ports-gnome-9f4aa2212faf4cffceccfcf85eb189689a705c0d.tar.gz freebsd-ports-gnome-9f4aa2212faf4cffceccfcf85eb189689a705c0d.tar.zst freebsd-ports-gnome-9f4aa2212faf4cffceccfcf85eb189689a705c0d.zip |
graphics/bugle: unbreak with gcc5 or later
budgielib/tables.c: In function '_budgie_dump_TYPE_10GLXPbuffer':
budgielib/tables.c:31:47: error: expected ')' before 'PRIu0'
budgie_snprintf_advance(buffer, size, "%" PRIu0, (uint0_t) *value);
^
[...]
PR: 216707
Reported by: antoine (via exp-run)
Obtained from: upstream
Diffstat (limited to 'graphics/bugle')
-rw-r--r-- | graphics/bugle/files/patch-budgie_tulexer.ll | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/bugle/files/patch-budgie_tulexer.ll b/graphics/bugle/files/patch-budgie_tulexer.ll new file mode 100644 index 000000000000..8dc4e8229e65 --- /dev/null +++ b/graphics/bugle/files/patch-budgie_tulexer.ll @@ -0,0 +1,17 @@ +------------------------------------------------------------------------ +r1215 | bmerry | 2015-06-27 03:12:35 +0900 (Sat, 27 Jun 2015) | 1 line + +Fix compilation on GCC 5.1 + +https://sourceforge.net/p/bugle/tickets/114/ + +--- budgie/tulexer.ll.orig 2009-05-06 17:00:19 UTC ++++ budgie/tulexer.ll +@@ -150,6 +150,7 @@ rest of the record, find the length, the + + "lngt: "{DIGIT}+ { yylnode->length = atoi(yytext + 6); } + "prec: "{DIGIT}+ { yylnode->prec = atoi(yytext + 6); } ++"int: "-?{DIGIT}+ { yylnode->low = atoi(yytext + 5); } + "low : "-?{DIGIT}+ { yylnode->low = atoi(yytext + 6); } + "high: "-?{DIGIT}+ { yylnode->high = atoi(yytext + 6); } + |