0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/root-packages/mtr/hsearch.patch
2022-04-18 14:30:46 +05:30

28 lines
687 B
Diff

--- mtr/ui/asn.c 2017-06-02 08:54:58.000000000 +0000
+++ ./ui/asn.c 2017-10-21 22:21:43.076825733 +0000
@@ -41,7 +41,7 @@
#include <resolv.h>
#include <string.h>
#include <sys/socket.h>
-#include <search.h>
+#include "portability/search.h"
#include "mtr.h"
#include "asn.h"
--- mtr/Makefile.am 2017-06-02 08:54:58.000000000 +0000
+++ ./Makefile.am 2017-10-21 22:39:26.628914946 +0000
@@ -59,6 +59,12 @@
img/mtr_icon.xpm \
ui/mtr-gtk.h
+mtr_SOURCES += \
+ portability/hcreate.c \
+ portability/hcreate_r.c \
+ portability/hsearch_r.c \
+ portability/hdestroy_r.c
+
if WITH_ERROR
mtr_SOURCES += \
portability/error.h \