termux-packages/packages/pkgfile/src-update.h.patch

12 lines
218 B
Diff

--- a/src/update.h
+++ b/src/update.h
@@ -2,7 +2,7 @@
#include <curl/curl.h>
-#define PACMANCONFIG "/etc/pacman.conf"
+#define PACMANCONFIG "@TERMUX_PREFIX@/etc/pacman.conf"
struct config_t;
struct repovec_t;