void-packages/srcpkgs/noip2/patches/03-prefix.patch

17 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