Skip to contentSkip to conversation

package/eudev: fix build with gperf 3.1

PATCH New Bernd Kuhls 2 participants 2 messages Jan 21, 2017 – Jan 22, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/eudev: fix build with gperf 3.1

Fixes
http://autobuild.buildroot.net/results/1a0/1a0e76e2782a63e2b2fc2fc0d79471802afa4d35/

Tested on current buildroot master (eb6bb3411) with and without
http://patchwork.ozlabs.org/patch/716134/

---
 package/eudev/0003-fix-build-with-gperf31.patch | 27 +++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 package/eudev/0003-fix-build-with-gperf31.patch
package/eudev/0003-fix-build-with-gperf31.patch new file +27 -0
new file mode 100644
index 000000000..bec9565c3
@@ -0,0 +1,27 @@
+From 5bab4d8de0dcbb8e2e7d4d5125b4aea1652a0d60 Mon Sep 17 00:00:00 2001
+From: "Anthony G. Basile" <[email protected]>
+Date: Thu, 5 Jan 2017 16:21:17 -0500
+Subject: [PATCH] src/udev/udev-builtin-keyboard.c: fix build with gperf 3.1
+
+Signed-off-by: Anthony G. Basile <[email protected]>
+
+Downloaded from upstream commit:
+https://github.com/gentoo/eudev/commit/5bab4d8de0dcbb8e2e7d4d5125b4aea1652a0d60
+
+Signed-off-by: Bernd Kuhls <[email protected]>
+---
+ src/udev/udev-builtin-keyboard.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/udev/udev-builtin-keyboard.c b/src/udev/udev-builtin-keyboard.c
+index 73171c3..fad3520 100644
+--- a/src/udev/udev-builtin-keyboard.c
++++ b/src/udev/udev-builtin-keyboard.c
+@@ -28,7 +28,6 @@
+ 
+ #include "udev.h"
+ 
+-static const struct key *keyboard_lookup_key(const char *str, unsigned len);
+ #include "keyboard-keys-from-name.h"
+ #include "keyboard-keys-to-name.h"
+ 
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 package/eudev: fix build with gperf 3.1

Hello,

Quoted 7 lines · Bernd Kuhls

Fixes
http://autobuild.buildroot.net/results/1a0/1a0e76e2782a63e2b2fc2fc0d79471802afa4d35/

Tested on current buildroot master (eb6bb3411) with and without
http://patchwork.ozlabs.org/patch/716134/

Since we have reverted the bump to gperf 3.1, I'm not sure it makes sense to add a patch to fix an issue that doesn't exist.

An e-mail has been sent to the gperf maintainers to let them know that version 3.1 breaks backward compatibility. We probably should wait for their feedback before adding more stuff to Buildroot.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com