1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-14 11:49:53 +03:00
aports/community/prometheus-openrc-exporter/drop-rootprefix.patch
Consus 05cc4b53c9 community/prometheus-openrc-exporter: unbreak build
OpenRC dropped ROOTPREFIX (and associated constants) in
7c31e504d5b48d688e5977f9616a1cd256310b03. Account for that.
2025-01-18 13:11:42 +00:00

15 lines
362 B
Diff

diff --git a/pkg/openrc/openrc.go b/pkg/openrc/openrc.go
index dcd5240..9cb55e9 100644
--- a/pkg/openrc/openrc.go
+++ b/pkg/openrc/openrc.go
@@ -12,10 +12,7 @@ import (
)
const (
- Prefix = C.RC_PREFIX
SysconfDir = C.RC_SYSCONFDIR
- LibDir = C.RC_LIBDIR
- LibexecDir = C.RC_LIBEXECDIR
SvcDir = C.RC_SVCDIR
RunlevelDir = C.RC_RUNLEVELDIR