midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame patches/mtr-0.92.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) c46198
diff -ru mtr.orig/Makefile.am mtr/Makefile.am
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
--- mtr.orig/Makefile.am	2017-03-02 12:55:53.968328160 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
+++ mtr/Makefile.am	2017-03-02 13:02:10.645991226 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
@@ -41,8 +41,8 @@
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
 PATHFILES += man/mtr.8 man/mtr-packet.8
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
 
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
 install-exec-hook: 
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
-	`setcap cap_net_raw+ep $(DESTDIR)$(sbindir)/mtr-packet` \
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
-	|| chmod u+s $(DESTDIR)$(sbindir)/mtr-packet
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
+#	`setcap cap_net_raw+ep $(DESTDIR)$(sbindir)/mtr-packet` \
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
+#	|| chmod u+s $(DESTDIR)$(sbindir)/mtr-packet
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
 
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
 mtr_SOURCES = ui/mtr.c ui/mtr.h \
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
               ui/net.c ui/net.h \
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
diff -ru mtr.orig/packet/platform.h mtr/packet/platform.h
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
--- mtr.orig/packet/platform.h	2017-03-02 12:55:53.968328160 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
+++ mtr/packet/platform.h	2017-03-02 13:03:59.185316954 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
@@ -40,6 +40,10 @@
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
 
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
 #define PLATFORM_FREEBSD
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
 
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
+#elif defined(__midipix__)
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
+
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
+#define PLATFORM_MIDIPIX
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
+
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
 #elif defined(__unix__)
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
 
Lucio Andrés Illanes Albornoz (arab, vxp) c46198
 #define PLATFORM_UNIX_UNKNOWN