mirror of
https://git.freebsd.org/ports.git
synced 2025-06-18 11:10:32 -04:00
Major changes:
- Changed the config format from ini to TOML
Make sure to update your config file accordingly[1].
- Expose volume trough dbus
- Add an option to disable dbus
Introduce two temporary patches to :
- Fix panic reported in upstream bug system #719[2] - fixed in future
- Fix compilation issue with FreeBSD (Merged after 0.3.0[3] release)
[1] https://github.com/Spotifyd/spotifyd/blob/master/docs/src/config/File.md
[2] https://github.com/Spotifyd/spotifyd/issues/719
[3] a352eab53e
PR: 251968
Submitted by: <nick.rozhkov@gmail.com>
11 lines
324 B
Rust
11 lines
324 B
Rust
--- src/utils.rs.orig 2021-02-09 22:43:15 UTC
|
|
+++ src/utils.rs
|
|
@@ -3,7 +3,7 @@
|
|
#[cfg(target_os = "macos")]
|
|
use whoami;
|
|
|
|
-#[cfg(target_os = "linux")]
|
|
+#[cfg(any(target_os = "freebsd", target_os = "linux"))]
|
|
fn get_shell_ffi() -> Option<String> {
|
|
use libc::{geteuid, getpwuid_r};
|
|
use std::{ffi::CStr, mem, ptr};
|