diff options
author | Domen Kožar <domen@dev.si> | 2015-12-14 16:46:26 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2015-12-14 16:46:26 +0100 |
commit | 9688c39709d3113bcc6c34e89a55f7663cc108bf (patch) | |
tree | 3bbe39f3df0b6029bef028ce4f2e4aaa97ab8cca /pkgs/applications | |
parent | 5caa62dea3e0c10edf9fdb6af828edc745da25f2 (diff) | |
parent | b22725847def45ff717c1e9b8ceae0ac62f7ce63 (diff) |
Merge pull request #11702 from ericsagnes/udevil-patch
udevil: added patch
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/misc/udevil/default.nix | 1 | ||||
-rw-r--r-- | pkgs/applications/misc/udevil/device-info-sys-stat.patch | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/applications/misc/udevil/default.nix b/pkgs/applications/misc/udevil/default.nix index 5ba80348d1fcb..75c02d3ba6ddf 100644 --- a/pkgs/applications/misc/udevil/default.nix +++ b/pkgs/applications/misc/udevil/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation { cat src/Makefile.am exit 2 ''; + patches = [ ./device-info-sys-stat.patch ]; meta = { description = "A command line Linux program which mounts and unmounts removable devices without a password, shows device info, and monitors device changes"; homepage = https://ignorantguru.github.io/udevil/; diff --git a/pkgs/applications/misc/udevil/device-info-sys-stat.patch b/pkgs/applications/misc/udevil/device-info-sys-stat.patch new file mode 100644 index 0000000000000..554682108e39a --- /dev/null +++ b/pkgs/applications/misc/udevil/device-info-sys-stat.patch @@ -0,0 +1,14 @@ +diff --git a/src/device-info.h b/src/device-info.h +index 6cb3683..ddac24c 100644 +--- a/src/device-info.h ++++ b/src/device-info.h +@@ -18,7 +18,8 @@ + // intltool + #include <glib/gi18n.h> + +- ++// stat ++#include <sys/stat.h> + + typedef struct device_t { + struct udev_device *udevice; |