summaryrefslogtreecommitdiff
path: root/package/eudev
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-04-26 09:09:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-04-26 09:09:06 +0200
commit35a4b5056c8bc8e37b3839fe9102c7b6193f240a (patch)
treeabb93a5feeda7db5ab85777723d551a3c135c9f6 /package/eudev
parent35905053428d8a4aacb055f1829966d3410e6953 (diff)
eudev: fix static linking
Diffstat (limited to 'package/eudev')
-rw-r--r--package/eudev/Makefile2
-rw-r--r--package/eudev/patches/patch-rule_generator_write_net_rules11
-rw-r--r--package/eudev/patches/patch-src_shared_util_c10
3 files changed, 22 insertions, 1 deletions
diff --git a/package/eudev/Makefile b/package/eudev/Makefile
index fd9afa00c..475869622 100644
--- a/package/eudev/Makefile
+++ b/package/eudev/Makefile
@@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= eudev
PKG_VERSION:= 3.2.2
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_HASH:= 3e4c56ec2fc1854afd0a31f3affa48f922c62d40ee12a0c1a4b4f152ef5b0f63
PKG_DESCR:= device manager
PKG_SECTION:= sys/utils
diff --git a/package/eudev/patches/patch-rule_generator_write_net_rules b/package/eudev/patches/patch-rule_generator_write_net_rules
new file mode 100644
index 000000000..b76923a6f
--- /dev/null
+++ b/package/eudev/patches/patch-rule_generator_write_net_rules
@@ -0,0 +1,11 @@
+--- eudev-3.2.2.orig/rule_generator/write_net_rules 2017-04-19 23:12:08.000000000 +0200
++++ eudev-3.2.2/rule_generator/write_net_rules 2017-04-25 22:07:55.624621763 +0200
+@@ -38,7 +38,7 @@ if [ -n "$UDEV_LOG" ]; then
+ fi
+ fi
+
+-RULES_FILE='${prefix}/etc/udev/rules.d/70-persistent-net.rules'
++RULES_FILE='/etc/udev/rules.d/70-persistent-net.rules'
+
+ . ${exec_prefix}/lib/udev/rule_generator.functions
+
diff --git a/package/eudev/patches/patch-src_shared_util_c b/package/eudev/patches/patch-src_shared_util_c
new file mode 100644
index 000000000..3807db3f4
--- /dev/null
+++ b/package/eudev/patches/patch-src_shared_util_c
@@ -0,0 +1,10 @@
+--- eudev-3.2.2.orig/src/shared/util.c 2016-11-17 22:14:19.000000000 +0100
++++ eudev-3.2.2/src/shared/util.c 2017-04-26 02:06:27.442614542 +0200
+@@ -41,7 +41,6 @@
+ #include <pwd.h>
+ #include <netinet/ip.h>
+ #include <linux/kd.h>
+-#include <dlfcn.h>
+ #include <sys/wait.h>
+ #include <sys/time.h>
+ #include <glob.h>