diff options
author | Efraim Flashner <[email protected]> | 2018-11-11 08:48:18 +0200 |
---|---|---|
committer | Efraim Flashner <[email protected]> | 2018-11-11 08:57:13 +0200 |
commit | 5528b8e7885834e80e41fe876b9c501c7d95bc6a (patch) | |
tree | b4647227ac67674419cebbbdcba50fb7bf7f3c9d /gnu/packages | |
parent | 1a392ee7aed74e345f5263063fdde9a739082af4 (diff) |
gnu: tvtime: Fix building with [email protected].
* gnu/packages/tvtime.scm (tvtime)[arguments]: Add custom phase to add
missing import.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/tv.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/tv.scm b/gnu/packages/tv.scm index ef67ad37f2..2196162956 100644 --- a/gnu/packages/tv.scm +++ b/gnu/packages/tv.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015, 2016, 2017, 2018 Alex Kost <[email protected]> +;;; Copyright © 208 Efraim Flashner <[email protected]> ;;; ;;; This file is part of GNU Guix. ;;; @@ -43,6 +44,15 @@ (base32 "1367rl3n6qxwf30lqyz234zpb43s9xjhig3hrvbg7cbqcl8g4fs0")))) (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-glibc-compatability + (lambda _ + (substitute* "src/get_media_devices.c" + (("<sys/stat.h>") + "<sys/stat.h>\n#include <sys/sysmacros.h>")) + #t))))) (inputs `(("alsa-lib" ,alsa-lib) ("libx11" ,libx11) |