File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ stdenv.mkDerivation rec {
8484
8585 patches = [
8686 ./sconstruct-env-fixes.patch
87+ ./sconstrict-rundir-fixes.patch
8788
8889 # fix build with Python 3.12
8990 ( fetchpatch {
Original file line number Diff line number Diff line change 1+ diff -Naur gpsd-3.25.orig/SConscript gpsd-3.25/SConscript
2+ --- gpsd-3.25.orig/SConscript 2025-03-29 13:33:34
3+ +++ gpsd-3.25/SConscript 2025-03-29 13:34:24
4+ @@ -15,6 +15,7 @@
5+ import os
6+ import pickle
7+ import re
8+ + import platform
9+ # replacement for functions from the commands module, which is deprecated.
10+ import subprocess
11+ import sys
12+ @@ -399,7 +400,7 @@
13+ def_group = "dialout"
14+
15+ # darwin and BSDs do not have /run, maybe others.
16+ - if os.path.exists("/run"):
17+ + if "BSD" in os.uname().sysname or platform.system() == "Darwin":
18+ rundir = "/run"
19+ else:
20+ rundir = "/var/run"
21+
You can’t perform that action at this time.
0 commit comments