gperf_header_regen.patch raw

   1  commit 7b6eb33ecd88768b28c67ce5d2d68a7eed5936b6
   2  Author: fanquake <fanquake@gmail.com>
   3  Date:   Tue Aug 25 14:34:53 2020 +0800
   4  
   5      Remove rule that causes inadvertent header regeneration
   6  
   7      Otherwise the makefile will needlessly attempt to re-generate the
   8      headers with gperf. This can be dropped once the upstream build is fixed.
   9  
  10      See #10851.
  11  
  12  diff --git a/src/Makefile.in b/src/Makefile.in
  13  index f4626ad..4ae1b00 100644
  14  --- a/src/Makefile.in
  15  +++ b/src/Makefile.in
  16  @@ -912,7 +912,7 @@
  17   	' - > $@.tmp && \
  18   	mv -f $@.tmp fcobjshash.gperf && touch $@ || ( $(RM) $@.tmp && false )
  19  
  20  -fcobjshash.h: Makefile fcobjshash.gperf
  21  +fcobjshash.h:
  22   	$(AM_V_GEN) $(GPERF) --pic -m 100 fcobjshash.gperf > $@.tmp && \
  23   	mv -f $@.tmp $@ || ( $(RM) $@.tmp && false )
  24  
  25