Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ipx-utils/files/, net-misc/ipx-utils/
Date: Wed, 04 May 2016 22:39:46
Message-Id: 1462401570.d5c548d1ed047462669bc966942edd29d5bbdc45.wizardedit@gentoo
1 commit: d5c548d1ed047462669bc966942edd29d5bbdc45
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 4 22:36:31 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Wed May 4 22:39:30 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5c548d1
7
8 et-misc/ipx-utils: build fixes
9
10 * Install binaries into /sbin (Fixes #582036)
11 * Add a patch to fix some old gcc warnings
12
13 Package-Manager: portage-2.2.26
14
15 .../files/ipx-utils-1.1-gcc-warnings.patch | 51 ++++++++++++++++++++++
16 net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild | 2 +
17 2 files changed, 53 insertions(+)
18
19 diff --git a/net-misc/ipx-utils/files/ipx-utils-1.1-gcc-warnings.patch b/net-misc/ipx-utils/files/ipx-utils-1.1-gcc-warnings.patch
20 new file mode 100644
21 index 0000000..3fc928f
22 --- /dev/null
23 +++ b/net-misc/ipx-utils/files/ipx-utils-1.1-gcc-warnings.patch
24 @@ -0,0 +1,51 @@
25 +Binary files ipx-1.1.orig/ipx_configure and ipx-1.1/ipx_configure differ
26 +diff -ur ipx-1.1.orig/ipx_configure.c ipx-1.1/ipx_configure.c
27 +--- ipx-1.1.orig/ipx_configure.c 2016-05-04 21:08:46.606264315 +0000
28 ++++ ipx-1.1/ipx_configure.c 2016-05-04 21:21:46.139346843 +0000
29 +@@ -7,6 +7,7 @@
30 + #include <unistd.h>
31 + #include <ctype.h>
32 + #include <getopt.h>
33 ++#include <stdlib.h>
34 + #include <strings.h>
35 + #include <netipx/ipx.h>
36 + #include <sys/types.h>
37 +Binary files ipx-1.1.orig/ipx_interface and ipx-1.1/ipx_interface differ
38 +diff -ur ipx-1.1.orig/ipx_interface.c ipx-1.1/ipx_interface.c
39 +--- ipx-1.1.orig/ipx_interface.c 2016-05-04 21:08:46.606264315 +0000
40 ++++ ipx-1.1/ipx_interface.c 2016-05-04 21:20:27.414995860 +0000
41 +@@ -8,7 +8,7 @@
42 + #include <errno.h>
43 + #include <unistd.h>
44 + #include <stdlib.h>
45 +-#include <strings.h>
46 ++#include <string.h>
47 + #include <netinet/in.h>
48 + #include <netipx/ipx.h>
49 + #include <linux/if.h>
50 +Binary files ipx-1.1.orig/ipx_internal_net and ipx-1.1/ipx_internal_net differ
51 +diff -ur ipx-1.1.orig/ipx_internal_net.c ipx-1.1/ipx_internal_net.c
52 +--- ipx-1.1.orig/ipx_internal_net.c 2016-05-04 21:08:46.606264315 +0000
53 ++++ ipx-1.1/ipx_internal_net.c 2016-05-04 21:20:14.814299490 +0000
54 +@@ -7,7 +7,7 @@
55 + #include <stdlib.h>
56 + #include <ctype.h>
57 + #include <errno.h>
58 +-#include <strings.h>
59 ++#include <string.h>
60 + #include <netinet/in.h>
61 + #include <netipx/ipx.h>
62 + #include <linux/if.h>
63 +Binary files ipx-1.1.orig/ipx_route and ipx-1.1/ipx_route differ
64 +diff -ur ipx-1.1.orig/ipx_route.c ipx-1.1/ipx_route.c
65 +--- ipx-1.1.orig/ipx_route.c 2016-05-04 21:08:46.606264315 +0000
66 ++++ ipx-1.1/ipx_route.c 2016-05-04 21:20:17.954473064 +0000
67 +@@ -8,7 +8,7 @@
68 + #include <stdlib.h>
69 + #include <ctype.h>
70 + #include <errno.h>
71 +-#include <strings.h>
72 ++#include <string.h>
73 + #include <netinet/in.h>
74 + #include <netipx/ipx.h>
75 + #include <sys/types.h>
76
77 diff --git a/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild b/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild
78 index fbf7d50..a835d2b 100644
79 --- a/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild
80 +++ b/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild
81 @@ -22,6 +22,7 @@ src_prepare() {
82 sed -i "s:-O2 -Wall:${CFLAGS}:" "${S}"/Makefile
83 eapply "${FILESDIR}"/${P}-makefile.patch
84 eapply "${FILESDIR}"/${P}-proc.patch #67642
85 + eapply "${FILESDIR}"/${P}-gcc-warnings.patch
86
87 default
88 }
89 @@ -31,5 +32,6 @@ src_install() {
90 newconfd "${FILESDIR}"/ipx.confd ipx
91 newinitd "${FILESDIR}"/ipx.init ipx
92
93 + into /sbin
94 default
95 }