From 0b37cdc9474681af08c0bb7d3dc9eb170e323a09 Mon Sep 17 00:00:00 2001 From: Paul Philippov Date: Sat, 25 Mar 2023 11:08:52 -0400 Subject: [PATCH] vtund: fix racing conditions during compilation (#689) --- .../0001-vtund-3.0.2-fix-makefile.patch | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/general/package/vtund-openipc/0001-vtund-3.0.2-fix-makefile.patch b/general/package/vtund-openipc/0001-vtund-3.0.2-fix-makefile.patch index cd9bcf18..73576984 100644 --- a/general/package/vtund-openipc/0001-vtund-3.0.2-fix-makefile.patch +++ b/general/package/vtund-openipc/0001-vtund-3.0.2-fix-makefile.patch @@ -1,6 +1,21 @@ --- a/Makefile.in 2008-01-08 01:35:55.000000000 +0300 +++ b/Makefile.in 2021-05-07 22:18:22.310801557 +0300 -@@ -74,27 +74,27 @@ +@@ -60,10 +60,12 @@ + vtund: $(OBJS) + $(CC) $(CFLAGS) -o vtund $(OBJS) $(LFD_OBJS) $(LDFLAGS) + +-cfg_file.tab.c: cfg_file.y cfg_kwords.h config.h ++cfg_file.tab.h: + $(YACC) $(YACCFLAGS) -b cfg_file cfg_file.y + +-cfg_file.lex.c: cfg_file.l cfg_kwords.h config.h ++cfg_file.tab.c: cfg_file.y cfg_kwords.h config.h cfg_file.tab.h ++ ++cfg_file.lex.c: cfg_file.l cfg_kwords.h config.h cfg_file.tab.h + $(LEX) $(LEXFLAGS) cfg_file.l > cfg_file.lex.c + + depend: + @@ -74,27 +74,27 @@ distclean: clean rm -f $(CONFIGURE_FILES)