From becaac537e3b0b9adb629868791db4bd22cdbf59 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Tue, 26 Jan 2021 13:59:25 +0000 Subject: Fix build with bison 3.7.4 PR: 248911 Exp-run by: antoine --- x11-clocks/buici-clock/files/patch-xo_Makefile.in | 8 ++++++++ x11-clocks/buici-clock/files/patch-xo_res.cxx | 11 +++++++++++ x11-clocks/buici-clock/files/patch-xo_res__l.l | 11 +++++++++++ 3 files changed, 30 insertions(+) create mode 100644 x11-clocks/buici-clock/files/patch-xo_res.cxx create mode 100644 x11-clocks/buici-clock/files/patch-xo_res__l.l (limited to 'x11-clocks') diff --git a/x11-clocks/buici-clock/files/patch-xo_Makefile.in b/x11-clocks/buici-clock/files/patch-xo_Makefile.in index 7f6baec4ba17..3fad0b5f4dfa 100644 --- a/x11-clocks/buici-clock/files/patch-xo_Makefile.in +++ b/x11-clocks/buici-clock/files/patch-xo_Makefile.in @@ -11,3 +11,11 @@ FLEX=@LEX@ YACC=@YACC@ +@@ -104,7 +104,6 @@ $(O_D)%.o: %.s + + %.cxx: %.y + $(YACC) -d -o $@ $< +- mv $(basename $@).hxx $(basename $@).h + + %.i: %.cxx + $(CC) -c $(CXXFLAGS) $(CXXFLAGS_) -E -o $(notdir $@) $< diff --git a/x11-clocks/buici-clock/files/patch-xo_res.cxx b/x11-clocks/buici-clock/files/patch-xo_res.cxx new file mode 100644 index 000000000000..c60b0902e405 --- /dev/null +++ b/x11-clocks/buici-clock/files/patch-xo_res.cxx @@ -0,0 +1,11 @@ +--- xo/res.cxx.orig 2012-12-29 18:51:57 UTC ++++ xo/res.cxx +@@ -43,7 +43,7 @@ + + #define IS_PARSER + #include "lres.h" +-#include "res_y.h" ++#include "res_y.hxx" + + #define LONG_PRIME_MAX (LONG_MAX/10) + #define LONG_PRIME_MAX_REM (LONG_MAX - LONG_PRIME_MAX*10) diff --git a/x11-clocks/buici-clock/files/patch-xo_res__l.l b/x11-clocks/buici-clock/files/patch-xo_res__l.l new file mode 100644 index 000000000000..6b749e6988d5 --- /dev/null +++ b/x11-clocks/buici-clock/files/patch-xo_res__l.l @@ -0,0 +1,11 @@ +--- xo/res_l.l.orig 2012-12-29 18:51:57 UTC ++++ xo/res_l.l +@@ -33,7 +33,7 @@ + #include "standard.h" + #define IS_PARSER + #include "lres.h" +-#include "res_y.h" ++#include "res_y.hxx" + #include + + #if defined (__cplusplus) -- cgit v1.2.3