diff -Nru hashrat-1.10.2/debian/changelog hashrat-1.10.2/debian/changelog --- hashrat-1.10.2/debian/changelog 2018-12-24 20:39:55.000000000 +0000 +++ hashrat-1.10.2/debian/changelog 2019-01-04 13:36:11.000000000 +0000 @@ -1,3 +1,11 @@ +hashrat (1.10.2-2) unstable; urgency=medium + + * debian/patches/003-fix-Makefile-bug.patch: + - added to fix a FTBFS. (Closes: #917798) Thanks to + Santiago Vila for de patch. + + -- Giovani Augusto Ferreira Fri, 04 Jan 2019 11:36:11 -0200 + hashrat (1.10.2-1) unstable; urgency=medium [ Jelmer Vernooij ] diff -Nru hashrat-1.10.2/debian/patches/003-fix-Makefile-bug.patch hashrat-1.10.2/debian/patches/003-fix-Makefile-bug.patch --- hashrat-1.10.2/debian/patches/003-fix-Makefile-bug.patch 1970-01-01 00:00:00.000000000 +0000 +++ hashrat-1.10.2/debian/patches/003-fix-Makefile-bug.patch 2019-01-04 13:03:59.000000000 +0000 @@ -0,0 +1,22 @@ +Description: Fix the library creation e remove "-" prefix in "ln -s" invocation +Author: Santiago Vila +Reviewed-By: Giovani Augusto Ferreira +Last-Update: 2019-01-04 + +--- hashrat-1.10.2.orig/libUseful-3/Makefile.in ++++ hashrat-1.10.2/libUseful-3/Makefile.in +@@ -10,10 +10,10 @@ OBJ=String.o List.o Socket.o UnixSocket. + all: $(OBJ) + $(CC) $(FLAGS) -shared -o libUseful-$(VERSION).so $(OBJ) $(LIBS) + ar rcs libUseful-$(VERSION).a $(OBJ) +- -ln -s libUseful-$(VERSION).so libUseful-3.so &>/dev/null +- -ln -s libUseful-$(VERSION).a libUseful-3.a &>/dev/null +- -ln -s libUseful-$(VERSION).so libUseful.so &>/dev/null +- -ln -s libUseful-$(VERSION).a libUseful.a &>/dev/null ++ ln -s libUseful-$(VERSION).so libUseful-3.so ++ ln -s libUseful-$(VERSION).a libUseful-3.a ++ ln -s libUseful-$(VERSION).so libUseful.so ++ ln -s libUseful-$(VERSION).a libUseful.a + + + String.o: String.h String.c diff -Nru hashrat-1.10.2/debian/patches/series hashrat-1.10.2/debian/patches/series --- hashrat-1.10.2/debian/patches/series 2018-12-24 20:29:57.000000000 +0000 +++ hashrat-1.10.2/debian/patches/series 2019-01-04 13:01:57.000000000 +0000 @@ -1,2 +1,3 @@ 001-fix-spelling.patch 002-fix-install.patch +003-fix-Makefile-bug.patch