summaryrefslogtreecommitdiff
path: root/package/wiringPi/patches/patch-wiringPi_wiringPi_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-02-11 11:18:39 +0100
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-02-11 11:18:39 +0100
commitb1095ae914439634cfa34742215a1213f8556bbc (patch)
treef5b84f4e3adf0781a0986c9181b83252d78b9cc6 /package/wiringPi/patches/patch-wiringPi_wiringPi_c
parent863f8927e6541bcc6b4ef111f7f524578d8bf47d (diff)
update to latest git, enable gpio binary
Diffstat (limited to 'package/wiringPi/patches/patch-wiringPi_wiringPi_c')
-rw-r--r--package/wiringPi/patches/patch-wiringPi_wiringPi_c10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/wiringPi/patches/patch-wiringPi_wiringPi_c b/package/wiringPi/patches/patch-wiringPi_wiringPi_c
new file mode 100644
index 000000000..966b5dcfc
--- /dev/null
+++ b/package/wiringPi/patches/patch-wiringPi_wiringPi_c
@@ -0,0 +1,10 @@
+--- wiringPi-72b2af231be337d45a557ce6ca3ed1eeb6675ffd.orig/wiringPi/wiringPi.c 2015-02-10 17:08:20.000000000 +0100
++++ wiringPi-72b2af231be337d45a557ce6ca3ed1eeb6675ffd/wiringPi/wiringPi.c 2015-02-11 09:29:50.028725001 +0100
+@@ -51,6 +51,7 @@
+ // Added in the 2 UART pins
+ // Change maxPins to numPins to more accurately reflect purpose
+
++#define _GNU_SOURCE
+
+ #include <stdio.h>
+ #include <stdarg.h>