summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-03-05 11:16:04 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-03-05 11:16:04 +0000
commitc4619875e214cf894e103c96fcabbd9f276413cd (patch)
treee3b0ec7de8ccc615045892dfb19d2da183a6d625 /patches
parent275094279e62c7941e577fcec419d31abfe5c90c (diff)
downloadmidipix_build-c4619875e214cf894e103c96fcabbd9f276413cd.tar.bz2
midipix_build-c4619875e214cf894e103c96fcabbd9f276413cd.tar.xz
vars/build.vars, patches/mtr.midipix.patch: adds mtr (HEAD) (via Redfoxmoon.)
Diffstat (limited to 'patches')
-rw-r--r--patches/mtr.midipix.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/patches/mtr.midipix.patch b/patches/mtr.midipix.patch
new file mode 100644
index 00000000..a5ab92b1
--- /dev/null
+++ b/patches/mtr.midipix.patch
@@ -0,0 +1,28 @@
+diff -ru mtr.orig/Makefile.am mtr/Makefile.am
+--- mtr.orig/Makefile.am 2017-03-02 12:55:53.968328160 +0100
++++ mtr/Makefile.am 2017-03-02 13:02:10.645991226 +0100
+@@ -41,8 +41,8 @@
+ PATHFILES += man/mtr.8 man/mtr-packet.8
+
+ install-exec-hook:
+- `setcap cap_net_raw+ep $(DESTDIR)$(sbindir)/mtr-packet` \
+- || chmod u+s $(DESTDIR)$(sbindir)/mtr-packet
++# `setcap cap_net_raw+ep $(DESTDIR)$(sbindir)/mtr-packet` \
++# || chmod u+s $(DESTDIR)$(sbindir)/mtr-packet
+
+ mtr_SOURCES = ui/mtr.c ui/mtr.h \
+ ui/net.c ui/net.h \
+diff -ru mtr.orig/packet/platform.h mtr/packet/platform.h
+--- mtr.orig/packet/platform.h 2017-03-02 12:55:53.968328160 +0100
++++ mtr/packet/platform.h 2017-03-02 13:03:59.185316954 +0100
+@@ -40,6 +40,10 @@
+
+ #define PLATFORM_FREEBSD
+
++#elif defined(__midipix__)
++
++#define PLATFORM_MIDIPIX
++
+ #elif defined(__unix__)
+
+ #define PLATFORM_UNIX_UNKNOWN