mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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>
(cherry-picked from 58f1de60f8)
This commit is contained in:
committed by
Rosen Penev
parent
a0e1a77006
commit
29e7e06191
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user