]> git.pld-linux.org Git - packages/echoping.git/blob - echoping-so.patch
- fix building with gcc 10+, rebuild with openssl 3.0.0, rel 10
[packages/echoping.git] / echoping-so.patch
1 diff -Nru echoping-6.0.2-orig/echoping.c echoping-6.0.2/echoping.c
2 --- echoping-6.0.2-orig/echoping.c      2007-04-05 14:40:49.000000000 +0200
3 +++ echoping-6.0.2/echoping.c   2010-06-07 10:31:23.000000000 +0200
4 @@ -473,7 +473,7 @@
5         if (plugin_name) {
6                 ext = strstr(plugin_name, ".so");
7                 if ((ext == NULL) || (strcmp(ext, ".so") != 0))
8 -                       sprintf(plugin_name, "%s.so", plugin_name);
9 +                       strcat(plugin_name, ".so");
10                 plugin = dlopen(plugin_name, RTLD_NOW);
11                 if (!plugin) {
12                         /* Retries with the absolute name */
This page took 0.073063 seconds and 3 git commands to generate.