Merge pull request #11702 from ericsagnes/udevil-patch
udevil: added patch
This commit is contained in:
commit
9688c39709
|
@ -21,6 +21,7 @@ stdenv.mkDerivation {
|
||||||
cat src/Makefile.am
|
cat src/Makefile.am
|
||||||
exit 2
|
exit 2
|
||||||
'';
|
'';
|
||||||
|
patches = [ ./device-info-sys-stat.patch ];
|
||||||
meta = {
|
meta = {
|
||||||
description = "A command line Linux program which mounts and unmounts removable devices without a password, shows device info, and monitors device changes";
|
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/;
|
homepage = https://ignorantguru.github.io/udevil/;
|
||||||
|
|
|
@ -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;
|
Loading…
Reference in New Issue