summaryrefslogtreecommitdiff
path: root/package/pigpio/patches
diff options
context:
space:
mode:
authorTom Deblauwe <deblauwetom@gmail.com>2017-11-14 22:28:17 +0100
committerTom Deblauwe <deblauwetom@gmail.com>2017-11-14 22:28:17 +0100
commit5706467b7db26617379fb9643679f0341bb1009a (patch)
treeefe04d6ab529d570be089a27d37bd80f91cbffec /package/pigpio/patches
parent1a25210690d4b53fa95e3c9ff288af9f1f71a4ce (diff)
pigpio: add new package
Diffstat (limited to 'package/pigpio/patches')
-rw-r--r--package/pigpio/patches/patch-Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/pigpio/patches/patch-Makefile b/package/pigpio/patches/patch-Makefile
new file mode 100644
index 000000000..8aee82f79
--- /dev/null
+++ b/package/pigpio/patches/patch-Makefile
@@ -0,0 +1,20 @@
+Remove empty cross_prefix variable and prefix
+
+--- pigpio-1aa4cca8a69d4f8f8ce198178dbd7f436b4f503c.orig/Makefile 2017-06-29 18:30:31.000000000 +0200
++++ pigpio-1aa4cca8a69d4f8f8ce198178dbd7f436b4f503c/Makefile 2017-06-29 18:45:16.000000000 +0200
+@@ -1,7 +1,6 @@
+ #
+ # Set CROSS_PREFIX to prepend to all compiler tools at once for easier
+ # cross-compilation.
+-CROSS_PREFIX =
+ CC = $(CROSS_PREFIX)gcc
+ AR = $(CROSS_PREFIX)ar
+ RANLIB = $(CROSS_PREFIX)ranlib
+@@ -31,7 +30,6 @@ LL2 = -L. -lpigpiod_if -pthread -lr
+
+ LL3 = -L. -lpigpiod_if2 -pthread -lrt
+
+-prefix = /usr/local
+ exec_prefix = $(prefix)
+ bindir = $(exec_prefix)/bin
+ includedir = $(prefix)/include