void-packages/srcpkgs/torsocks/patches/rename_res_funs.patch
2012-11-28 11:20:33 +01:00

17 lines
680 B
Diff

--- src/torsocks.c 2011-10-25 23:49:50.000000000 +0200
+++ src/torsocks.c 2011-10-30 11:53:11.292621715 +0100
@@ -174,10 +174,10 @@
#ifdef SUPPORT_RES_API
lib = dlopen(LIBRESOLV, RTLD_LAZY);
realres_init = dlsym(lib, "res_init");
- realresquery = dlsym(lib, "res_query");
- realressend = dlsym(lib, "res_send");
- realresquerydomain = dlsym(lib, "res_querydomain");
- realressearch = dlsym(lib, "res_search");
+ real__res_query = dlsym(lib, "res_query");
+ real__res_send = dlsym(lib, "res_send");
+ real__res_querydomain = dlsym(lib, "res_querydomain");
+ real__res_search = dlsym(lib, "res_search");
dlclose(lib);
#endif
#endif