termux-packages/packages/httping/fix-spam_file-path.patch
2017-09-14 20:29:00 +02:00

13 lines
358 B
Diff

diff -uNr httping-2.5/gen.h httping-2.5.mod/gen.h
--- httping-2.5/gen.h 2016-09-12 10:45:50.000000000 +0300
+++ httping-2.5.mod/gen.h 2017-09-14 13:30:46.432863081 +0300
@@ -12,7 +12,7 @@
#define RECV_BUFFER_SIZE (128 * 1024)
-#define SPAM_FILE "/tmp/httping.dat"
+#define SPAM_FILE "@TERMUX_PREFIX@/tmp/httping.dat"
#define MAX_SHOW_SUPPRESSION 3