aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-01-26 13:59:25 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-01-26 13:59:25 +0000
commitbecaac537e3b0b9adb629868791db4bd22cdbf59 (patch)
treecd5714fafbc188aa7dd52153a4b6e9861807f43a /x11-clocks
parentd058df382b09b3f9d007466d720d4e2985d83f53 (diff)
downloadports-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.in8
-rw-r--r--x11-clocks/buici-clock/files/patch-xo_res.cxx11
-rw-r--r--x11-clocks/buici-clock/files/patch-xo_res__l.l11
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)