summary refs log tree commit diff
path: root/gnu/packages/patches/dvd+rw-tools-add-include.patch
diff options
context:
space:
mode:
authorThomas Danckaert <post@thomasdanckaert.be>2017-04-20 17:58:24 +0200
committerThomas Danckaert <thomas.danckaert@gmail.com>2017-05-10 09:32:48 +0200
commit76e98457347207459417f46c2f542b6a9f03fb7f (patch)
tree1cb0f131cbfcb81e76fa735408e5b521aa20a403 /gnu/packages/patches/dvd+rw-tools-add-include.patch
parentded5966585cc75da53ad7bfb266f9b861aa71ed3 (diff)
downloadguix-76e98457347207459417f46c2f542b6a9f03fb7f.tar.gz
gnu: Add dvd+rw-tools.
* gnu/packages/cdrom.scm (dvd+rw-tools): New variable.
* gnu/packages/patches/dvd+rw-tools-add-include.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/patches/dvd+rw-tools-add-include.patch')
-rw-r--r--gnu/packages/patches/dvd+rw-tools-add-include.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/patches/dvd+rw-tools-add-include.patch b/gnu/packages/patches/dvd+rw-tools-add-include.patch
new file mode 100644
index 0000000000..800f8f30ba
--- /dev/null
+++ b/gnu/packages/patches/dvd+rw-tools-add-include.patch
@@ -0,0 +1,14 @@
+Without <limits.h>, INT_MAX is not defined.
+
+diff --git a/transport.hxx b/transport.hxx
+index 35a57a7..838add6 100644
+--- a/transport.hxx
++++ b/transport.hxx
+@@ -11,6 +11,7 @@
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <string.h>
++#include <limits.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>