summaryrefslogtreecommitdiff
path: root/sysutils/intel-undervolt/files/patch-configure
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2023-08-24 10:52:17 +0200
committerRodrigo Osorio <rodrigo@FreeBSD.org>2023-08-24 11:13:13 +0200
commit62a9311d3f08357be7fb5f90e8c66a11e32418d9 (patch)
tree628409e6febb1d1a3ac7b8bc63d102b0490abc10 /sysutils/intel-undervolt/files/patch-configure
parentnet/ntpd-rs: Update Makefile.crates (diff)
sysutils/intel-undervolt: update to 1.7
Major changes for 1.6: * Fix flipped short term and long term enabled state * Partial FreeBSD and DragonFly BSD support * Allow to measure the power consumption using intel_rapl * Allow to enable or disable power limits * tdp is replaced with power package * apply is replaced with undervolt Major changes for 1.7: * Add HWP hint switching feature * Add elogind support * Add OpenRC support * Use /bin/sh instead of /bin/bash * Add command line options * Allow to configure daemon actions * Add configuration option for triggers Port changes: * reorder makefile to make linter happy * remove bash run dependency
Diffstat (limited to 'sysutils/intel-undervolt/files/patch-configure')
-rw-r--r--sysutils/intel-undervolt/files/patch-configure20
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/intel-undervolt/files/patch-configure b/sysutils/intel-undervolt/files/patch-configure
new file mode 100644
index 000000000000..5b30e749bf4d
--- /dev/null
+++ b/sysutils/intel-undervolt/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig 2023-08-23 20:56:30 UTC
++++ configure
+@@ -65,7 +65,7 @@
+ printf '%s' "s,^\($1 =\).*$,\1 $2,"
+ }
+
+-sed Makefile.in \
++sed \
+ -e "`sedcond SYSTEMD "$enable_systemd"`" \
+ -e "`sedcond ELOGIND "$enable_elogind"`" \
+ -e "`sedcond OPENRC "$enable_openrc"`" \
+@@ -74,7 +74,7 @@
+ -e "`sedarg RUNSTATEDIR "$runstatedir"`" \
+ -e "`sedarg UNITDIR "$unitdir"`" \
+ -e "`sedarg ELOGINDDIR "$eloginddir"`" \
+-> Makefile || exit 1
++Makefile.in > Makefile || exit 1
+
+ echo "Enable systemd: $enable_systemd"
+ echo "Enable elogind: $enable_elogind"