void-packages/srcpkgs/noip2/patches/03-prefix.patch
dota? =op ad1c79d7ba noip2: fix foreground patch
Those lazy programmers...
2015-01-06 15:12:08 -02:00

16 lines
486 B
Diff

--- noip2.c.old 2015-01-05 15:40:56.269596723 -0200
+++ noip2.c 2015-01-05 15:41:51.549595383 -0200
@@ -240,10 +240,10 @@
#define GROUP 2
#define DOMAIN 3
#ifndef PREFIX
- #define PREFIX "/usr/local"
+ #define PREFIX "/usr"
#endif
-#define CONFIG_FILEPATH PREFIX"/etc"
-#define CONFIG_FILENAME PREFIX"/etc/no-ip2.conf"
+#define CONFIG_FILEPATH "/etc"
+#define CONFIG_FILENAME "/etc/no-ip2.conf"
#define CONFSTRLEN 1024
#define MAX_DEVLEN 16
#define MAX_INSTANCE 4