diff options
Diffstat (limited to 'app-arch/unrar/files/unrar-5.2.2-no-auto-clean.patch')
-rw-r--r-- | app-arch/unrar/files/unrar-5.2.2-no-auto-clean.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app-arch/unrar/files/unrar-5.2.2-no-auto-clean.patch b/app-arch/unrar/files/unrar-5.2.2-no-auto-clean.patch new file mode 100644 index 000000000000..ff78363cd5c0 --- /dev/null +++ b/app-arch/unrar/files/unrar-5.2.2-no-auto-clean.patch @@ -0,0 +1,17 @@ +if clean runs in parallel with $(OBJECTS), it is possible to build some +objects first, then the clean target fires and deletes some, and then we +try to link and fail. + +https://bugs.gentoo.org/528218 + +--- a/makefile ++++ b/makefile +@@ -118,7 +118,7 @@ + clean: + @rm -f *.o *.bak *~ + +-unrar: clean $(OBJECTS) $(UNRAR_OBJ) ++unrar: $(OBJECTS) $(UNRAR_OBJ) + $(LINK) -o unrar $(CXXFLAGS) $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS) + $(STRIP) unrar + |