libudev-fbsd: update to git source as of 2017-12-16

Remove patches 001-fix-unused.patch and 002-replace-nitems.patch,
similar fixes to make libudev-fbsd compile were applied upstream.
Refresh remaining patches.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle
2019-02-08 21:59:50 +01:00
parent a4ebdf389c
commit 58f1de60f8
8 changed files with 26 additions and 78 deletions
+12 -11
View File
@@ -1,9 +1,8 @@
diff -ruN libudev-fbsd-20160820/src/libudev.h libudev-fbsd-20160820.mod/src/libudev.h
--- libudev-fbsd-20160820/src/libudev.h 2017-11-17 16:46:56.705435146 +0100
+++ libudev-fbsd-20160820.mod/src/libudev.h 2017-11-17 16:48:07.276021522 +0100
@@ -11,6 +11,11 @@
#include <fcntl.h>
#include <unistd.h>
--- a/src/libudev.h
+++ b/src/libudev.h
@@ -7,6 +7,11 @@
extern "C" {
#endif
+
+#ifdef __cplusplus
@@ -13,12 +12,14 @@ diff -ruN libudev-fbsd-20160820/src/libudev.h libudev-fbsd-20160820.mod/src/libu
struct udev;
struct udev_device;
struct udev_list_entry;
@@ -83,4 +88,8 @@
struct udev_monitor *udev_monitor);
void udev_monitor_unref(struct udev_monitor *udev_monitor);
@@ -76,6 +81,10 @@ void udev_monitor_unref(struct udev_moni
+#ifdef __cplusplus
+} /* extern "C" */
#ifdef __cplusplus
} /* extern "C" */
+#endif
+
+#ifdef __cplusplus
+} /* extern "C" */
#endif
#endif