urg: Add urg-select-h.patch.
PATCH 1/1 urg: Add urg-select-h.patch.
This patch fixes a build failure on AArch64 (and potentially others). Make sure sys/select.h is included before using select(2).
--- package/urg/urg-select-h.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/urg/urg-select-h.patch
package/urg/urg-select-h.patch new file +1 -0
@@ -0,0 +1,11 @@ +--- urg-0.8.18/src/c/connection/serial_ctrl_lin.c 2010-11-22
01:48:01.000000000 +0000
++++ urg-0.8.18.mod/src/c/connection/serial_ctrl_lin.c 2013-05-21
20:56:35.822025969 +0100
+@@ -17,7 +17,7 @@
+ #include <fcntl.h>
+ #include <errno.h>
+ #include <string.h>
+-
++#include <sys/select.h>
+ //#include <ctype.h>
+
+ enum {
--
1.8.1.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-urg-Add-urg-select-h.patch.patch
Type: application/octet-stream
Size: 1047 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130521/6ed1509d/attachment.obj>
PATCH 1/1 urg: Add urg-select-h.patch.
Quoted 22 lines · Will Newton
This patch fixes a build failure on AArch64 (and potentially others). Make sure
sys/select.his included before using select(2).Signed-off-by Will Newton <[email protected]>--- package/urg/urg-select-h.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/urg/urg-select-h.patchpackage/urg/urg-select-h.patch new file +1
-0@@ -0,0 +1,11 @@ +--- urg-0.8.18/src/c/connection/serial_ctrl_lin.c 2010-11-2201:48:01.000000000 +0000
++++urg-0.8.18.mod/src/c/connection/serial_ctrl_lin.c2013-05-21
20:56:35.822025969 +0100
+@@ -17,7 +17,7 @@
+ #include <fcntl.h>
+ #include <errno.h>
Quoted 8 lines
+ #include <
string.h>
+-
++#include <sys/select.h>
+ //#include <ctype.h>
+
+ enum {
--
1.8.1.4
This patch has now been accepted upstream also.
PATCH 1/1 urg: Add urg-select-h.patch.
In reply to Will NewtonQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Will" == Will Newton <[email protected]> writes:
Will> This patch fixes a build failure on AArch64 (and potentially others). Will> Make sure sys/select.h is included before using select(2).
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard