File: avoid-race-condition-parallel-make.patch

package info (click to toggle)
mwrap 1.1.1-6
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 964 kB
  • sloc: cpp: 3,129; ansic: 848; lex: 231; makefile: 224; sh: 2
file content (17 lines) | stat: -rw-r--r-- 426 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Avoid race condition with parallel make
Author: Rafael Laboissière <rafael@debian.org>
Bug-Debian: https://bugs.debian.org/1092433
Forwarded: https://github.com/zgimbutas/mwrap/pull/13
Last-Update: 2025-03-09

--- a/src/Makefile
+++ b/src/Makefile
@@ -15,7 +15,7 @@
 mwrap.cc: mwrap.y
 	$(BISON) -d -v mwrap.y -o mwrap.cc
 
-lex.yy.o: lex.yy.c
+lex.yy.o: lex.yy.c mwrap.cc
 
 lex.yy.c: mwrap.l
 	$(FLEX) mwrap.l