aboutsummaryrefslogtreecommitdiffstats
path: root/community/java-snappy/fix-racing-condition-unpack.patch
blob: d396fada82ba33e8d53fc2199822316bc10a045b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- old/Makefile
+++ new/Makefile
@@ -106,7 +106,7 @@
 	@mkdir -p $(@D)
 	$(CXX) $(SNAPPY_CXX_OPTS) $(CXXFLAGS) -c $< -o $@
 
-$(SNAPPY_OUT)/BitShuffleNative.o: $(SRC)/org/xerial/snappy/BitShuffleNative.cpp $(SRC)/org/xerial/snappy/BitShuffleNative.h
+$(SNAPPY_OUT)/BitShuffleNative.o: $(SRC)/org/xerial/snappy/BitShuffleNative.cpp $(SRC)/org/xerial/snappy/BitShuffleNative.h $(BITSHUFFLE_UNPACKED)
 	@mkdir -p $(@D)
 	$(CXX) $(CXXFLAGS) -c $< -o $@