pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

enlightenment-current: sysactions.conf path fix on NetBSD



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Mon Sep 7 09:31:56 2020 +0200
Changeset:	4eceed4736316b0df883b6818fb33f1c4db5322c

Modified Files:
	enlightenment-current/distinfo
Added Files:
	enlightenment-current/patches/patch-src_bin_e__sys__main.c

Log Message:
enlightenment-current: sysactions.conf path fix on NetBSD

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4eceed4736316b0df883b6818fb33f1c4db5322c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 enlightenment-current/distinfo                         |  1 +
 .../patches/patch-src_bin_e__sys__main.c               | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)

diffs:
diff --git a/enlightenment-current/distinfo b/enlightenment-current/distinfo
index 2f4b9fc893..bccf4b6c25 100644
--- a/enlightenment-current/distinfo
+++ b/enlightenment-current/distinfo
@@ -5,6 +5,7 @@ RMD160 (enlightenment-0.24.2.tar.xz) = 3a5071ea54bcbffd67da9d416e4d1778457574ef
 SHA512 (enlightenment-0.24.2.tar.xz) = 5d96b17d89e822271048a0a6a8356658fd02680f54da2f15dde7c632752bbf0a396eaf23986164402e61f631e68937b3ba7c29d9dd787ddd470cff4a390abace
 Size (enlightenment-0.24.2.tar.xz) = 28716060 bytes
 SHA1 (patch-data_etc_meson.build) = 164a5ebd5b046381f46226d05d0cb17fcd7edbd7
+SHA1 (patch-src_bin_e__sys__main.c) = 06bad9a96c4acfdd9053ce7946c12d0350c357e5
 SHA1 (patch-src_bin_system_e__system__main.c) = c960ae07353ba875f870d4612c62fdf0b5e78493
 SHA1 (patch-src_bin_system_e__system__power.c) = 93ba369fa12421cb1022a90e510a1044056724c3
 SHA1 (patch-src_modules_battery_e__mod__main.c) = 40383429a6e9e7c1cee7daba36dca895b8397a16
diff --git a/enlightenment-current/patches/patch-src_bin_e__sys__main.c b/enlightenment-current/patches/patch-src_bin_e__sys__main.c
new file mode 100644
index 0000000000..6e9a7c9931
--- /dev/null
+++ b/enlightenment-current/patches/patch-src_bin_e__sys__main.c
@@ -0,0 +1,18 @@
+$NetBSD$
+
+* NetBSD support
+
+--- src/bin/e_sys_main.c.orig	2020-07-26 16:39:12.080648000 +0000
++++ src/bin/e_sys_main.c
+@@ -565,7 +565,11 @@ auth_etc_enlightenment_sysactions(char *
+    int allow = 0;
+    int deny = 0;
+ 
++#if defined (__NetBSD__)
++   snprintf(file, sizeof(file), "/usr/pkg/etc/enlightenment/sysactions.conf");
++#else
+    snprintf(file, sizeof(file), "/etc/enlightenment/sysactions.conf");
++#endif
+    f = fopen(file, "r");
+    if (!f)
+      {


Home | Main Index | Thread Index | Old Index