diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-01-26 13:59:25 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-01-26 13:59:25 +0000 |
commit | becaac537e3b0b9adb629868791db4bd22cdbf59 (patch) | |
tree | cd5714fafbc188aa7dd52153a4b6e9861807f43a /x11-clocks | |
parent | d058df382b09b3f9d007466d720d4e2985d83f53 (diff) | |
download | ports-becaac537e3b0b9adb629868791db4bd22cdbf59.tar.gz ports-becaac537e3b0b9adb629868791db4bd22cdbf59.zip |
Fix build with bison 3.7.4
PR: 248911
Exp-run by: antoine
Notes
Notes:
svn path=/head/; revision=562665
Diffstat (limited to 'x11-clocks')
-rw-r--r-- | x11-clocks/buici-clock/files/patch-xo_Makefile.in | 8 | ||||
-rw-r--r-- | x11-clocks/buici-clock/files/patch-xo_res.cxx | 11 | ||||
-rw-r--r-- | x11-clocks/buici-clock/files/patch-xo_res__l.l | 11 |
3 files changed, 30 insertions, 0 deletions
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 <limits.h> + + #if defined (__cplusplus) |