]> git.pld-linux.org Git - packages/net-tools.git/blob - net-tools-tr.patch
- disable metricom (obsolete in kernel); fix build
[packages/net-tools.git] / net-tools-tr.patch
1 --- net-tools-1.60/lib/tr.c~    2000-02-20 22:46:45.000000000 +0100
2 +++ net-tools-1.60/lib/tr.c     2013-02-16 22:38:06.260052375 +0100
3 @@ -20,7 +20,7 @@
4  #include <sys/types.h>
5  #include <sys/socket.h>
6  #include <net/if_arp.h>
7 -#include <linux/if_tr.h>
8 +#include <linux/if_fddi.h>
9  #include <stdlib.h>
10  #include <stdio.h>
11  #include <errno.h>
12 --- net-tools-1.60/lib/tr.c~    2013-02-16 22:39:03.864803754 +0100
13 +++ net-tools-1.60/lib/tr.c     2013-02-16 22:40:02.122803924 +0100
14 @@ -31,6 +31,10 @@
15  #include "pathnames.h"
16  #include "intl.h"
17  
18 +#ifndef TR_ALEN
19 +#define TR_ALEN FDDI_K_ALEN
20 +#endif
21 +
22  extern struct hwtype tr_hwtype;
23  
24  static char *pr_tr(unsigned char *ptr)
This page took 0.062474 seconds and 3 git commands to generate.