aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAric Belsito <lluixhi@gmail.com>2017-02-28 13:22:34 -0800
committerAric Belsito <lluixhi@gmail.com>2017-02-28 13:22:34 -0800
commitf03f30520d0d8be061d88bc0b36686193d0c1141 (patch)
tree9ea5db65624ec77a6e249c6bf148956eb64e625a /x11-apps
parentapp-emulation/qemu: fix patch (diff)
downloadmusl-f03f30520d0d8be061d88bc0b36686193d0c1141.tar.gz
musl-f03f30520d0d8be061d88bc0b36686193d0c1141.tar.bz2
musl-f03f30520d0d8be061d88bc0b36686193d0c1141.zip
x11-apps/sessreg: fix patch
We shouldn't redirect PATH_UTMPX/PATH_WTMPX to /var/log -- instead define as PATH_UTMP/PATH_WTMP, which musl defines and redirects to /dev/null
Diffstat (limited to 'x11-apps')
-rw-r--r--x11-apps/sessreg/Manifest2
-rw-r--r--x11-apps/sessreg/files/sessreg-1.1.0-missing_path_wtmpx.patch4
2 files changed, 3 insertions, 3 deletions
diff --git a/x11-apps/sessreg/Manifest b/x11-apps/sessreg/Manifest
index da8de91..63f1027 100644
--- a/x11-apps/sessreg/Manifest
+++ b/x11-apps/sessreg/Manifest
@@ -1,5 +1,5 @@
AUX sessreg-1.1.0-gcc-5.patch 486 SHA256 27490e86ba74607a57dd3cb29e90c96fac00481fd0b7c46c47139ff644913dee SHA512 a605abac65c71f1bb0805c9203454379fd1b22bd2815b9e22f76b4e2e0b2223fb08d998cfa91d48c4f5d78fa977d28a5f1a1fea59b11b30a0b1e8c22a0210742 WHIRLPOOL ac1eb9b8fd2dbf75a19d98b0b35ba57663b7fee8d2e6167728bf3c62bc53328e709892296a3e55741f5173d0575bc4b5065cee5b50191fc77f0375726c3c8254
-AUX sessreg-1.1.0-missing_path_wtmpx.patch 457 SHA256 3151adbb657db58e5c060957116b6e68de407cf44864656e446086cb841f096c SHA512 2f4b72019e87f8e60d4479da1ccbd7d38642ab067a11f1f23278ce80992ab15d8b26956b0bc46a1ee9e253010f9d079f67ad9440171bbcf57bd30ab5631823b9 WHIRLPOOL e3373f5ece41b358a55775973a83f84a413639714dc52bc0b2c8b26937f172824253901bcf2534377145246feb6bef839e5797f59e965a2c55154b185ffd35da
+AUX sessreg-1.1.0-missing_path_wtmpx.patch 447 SHA256 c4521bb8adf3bffb305ea6903afb1322adeb638f334e22733643f94e72684b62 SHA512 6f521dd98e161a777a3226e5002f04990dc3a7b2b357ae60a37c1f9c19a8f88037bab5df5d33de48203e5146827032c88322b77835e932b45c70b4116312298f WHIRLPOOL ad14940f78c263babad3d851f9ec85bba35ab3a943c3d3e74b644701ba67275a83c6bc5da74dea4f1dd73b3fae9e789c3eb588eaa8110e1a13c445ccdf8aed2b
DIST sessreg-1.1.0.tar.bz2 134484 SHA256 551177657835e0902b5eee7b19713035beaa1581bbd3c6506baa553e751e017c SHA512 5d9010874696bbc53a6271f30c089690cb341ede992f6be0914474a03ff4468e01e6a4ce7e6a437b96751fdf0ccced52b374126e5caeac6747edecd049841116 WHIRLPOOL 49598223e92a5113f7b6fc9ae08680d4e7523fc97a1161c5dc4c316ca14fde5511ce24652840de2a275ac5675eadaa03acee61ae6a6e3ee898c0932751ecd7dd
DIST sessreg-1.1.1.tar.bz2 136044 SHA256 78a76ae3f3f6a26547a34630d1b740f42344848b5fb6d7c9c7f7da255e35a6e1 SHA512 92a21d31c5698212fa3d04360f4e931e018156ffed70ba03bee3f1ecd8540d5d54f07a0c7661e1077b73255eee4cc1afd1dda6907df109d3556626495ec08193 WHIRLPOOL 016a7a623038af8d6ed8a8d58cfe5e1fa9355b2de6bf061a2697548962791e64e1dc55a28d751db2fc89cb20151c166fa3f7d51e7a49c63fe886285cf1a34451
EBUILD sessreg-1.1.0.ebuild 471 SHA256 461580f5ecbb99a06e84c6448c40b6c4910c6cba8fac9ca7beb7badab353d7e2 SHA512 5a64e4e05a395451257fd758efa966b25446317de9131c7f4253c3661735fded3455f0e8a147e7312fc932a49cd050fb2ab3322325ea1afb2fa09ea2ff00ea45 WHIRLPOOL 12ff79b2f17893058a87d0ad6b11e229ea9ee18ced1da813ab257bde43da2ccbb61c90cf587c5c07baa47e10bbd216a09d59387e118ad966543909e40304d321
diff --git a/x11-apps/sessreg/files/sessreg-1.1.0-missing_path_wtmpx.patch b/x11-apps/sessreg/files/sessreg-1.1.0-missing_path_wtmpx.patch
index 3c0508d..721891f 100644
--- a/x11-apps/sessreg/files/sessreg-1.1.0-missing_path_wtmpx.patch
+++ b/x11-apps/sessreg/files/sessreg-1.1.0-missing_path_wtmpx.patch
@@ -6,10 +6,10 @@ diff -Naur sessreg-1.1.0.orig/sessreg.h sessreg-1.1.0/sessreg.h
#endif
+#ifndef _PATH_WTMPX
-+# define _PATH_WTMPX "/var/log/wtmp"
++# define _PATH_WTMPX _PATH_WTMP
+#endif
+#ifndef _PATH_UTMPX
-+# define _PATH_UTMPX "/var/log/utmp"
++# define _PATH_UTMPX _PATH_UTMP
+#endif
+
#ifndef WTMPX_FILE