diff options
author | Austin English <wizardedit@gentoo.org> | 2016-05-04 17:36:31 -0500 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2016-05-04 17:39:30 -0500 |
commit | d5c548d1ed047462669bc966942edd29d5bbdc45 (patch) | |
tree | 92427bf76e3a6cb9fca6752482f6a2cbaaa69f50 /net-misc | |
parent | 863d598a9ffc1f2e7ac6c73102d84766f1cd355e (diff) | |
download | gentoo-d5c548d1ed047462669bc966942edd29d5bbdc45.tar.gz gentoo-d5c548d1ed047462669bc966942edd29d5bbdc45.tar.xz |
et-misc/ipx-utils: build fixes
* Install binaries into /sbin (Fixes #582036)
* Add a patch to fix some old gcc warnings
Package-Manager: portage-2.2.26
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/ipx-utils/files/ipx-utils-1.1-gcc-warnings.patch | 51 | ||||
-rw-r--r-- | net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild | 2 |
2 files changed, 53 insertions, 0 deletions
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 new file mode 100644 index 00000000000..3fc928f00e2 --- /dev/null +++ b/net-misc/ipx-utils/files/ipx-utils-1.1-gcc-warnings.patch @@ -0,0 +1,51 @@ +Binary files ipx-1.1.orig/ipx_configure and ipx-1.1/ipx_configure differ +diff -ur ipx-1.1.orig/ipx_configure.c ipx-1.1/ipx_configure.c +--- ipx-1.1.orig/ipx_configure.c 2016-05-04 21:08:46.606264315 +0000 ++++ ipx-1.1/ipx_configure.c 2016-05-04 21:21:46.139346843 +0000 +@@ -7,6 +7,7 @@ + #include <unistd.h> + #include <ctype.h> + #include <getopt.h> ++#include <stdlib.h> + #include <strings.h> + #include <netipx/ipx.h> + #include <sys/types.h> +Binary files ipx-1.1.orig/ipx_interface and ipx-1.1/ipx_interface differ +diff -ur ipx-1.1.orig/ipx_interface.c ipx-1.1/ipx_interface.c +--- ipx-1.1.orig/ipx_interface.c 2016-05-04 21:08:46.606264315 +0000 ++++ ipx-1.1/ipx_interface.c 2016-05-04 21:20:27.414995860 +0000 +@@ -8,7 +8,7 @@ + #include <errno.h> + #include <unistd.h> + #include <stdlib.h> +-#include <strings.h> ++#include <string.h> + #include <netinet/in.h> + #include <netipx/ipx.h> + #include <linux/if.h> +Binary files ipx-1.1.orig/ipx_internal_net and ipx-1.1/ipx_internal_net differ +diff -ur ipx-1.1.orig/ipx_internal_net.c ipx-1.1/ipx_internal_net.c +--- ipx-1.1.orig/ipx_internal_net.c 2016-05-04 21:08:46.606264315 +0000 ++++ ipx-1.1/ipx_internal_net.c 2016-05-04 21:20:14.814299490 +0000 +@@ -7,7 +7,7 @@ + #include <stdlib.h> + #include <ctype.h> + #include <errno.h> +-#include <strings.h> ++#include <string.h> + #include <netinet/in.h> + #include <netipx/ipx.h> + #include <linux/if.h> +Binary files ipx-1.1.orig/ipx_route and ipx-1.1/ipx_route differ +diff -ur ipx-1.1.orig/ipx_route.c ipx-1.1/ipx_route.c +--- ipx-1.1.orig/ipx_route.c 2016-05-04 21:08:46.606264315 +0000 ++++ ipx-1.1/ipx_route.c 2016-05-04 21:20:17.954473064 +0000 +@@ -8,7 +8,7 @@ + #include <stdlib.h> + #include <ctype.h> + #include <errno.h> +-#include <strings.h> ++#include <string.h> + #include <netinet/in.h> + #include <netipx/ipx.h> + #include <sys/types.h> diff --git a/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild b/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild index fbf7d50af69..a835d2be0a5 100644 --- a/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild +++ b/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild @@ -22,6 +22,7 @@ src_prepare() { sed -i "s:-O2 -Wall:${CFLAGS}:" "${S}"/Makefile eapply "${FILESDIR}"/${P}-makefile.patch eapply "${FILESDIR}"/${P}-proc.patch #67642 + eapply "${FILESDIR}"/${P}-gcc-warnings.patch default } @@ -31,5 +32,6 @@ src_install() { newconfd "${FILESDIR}"/ipx.confd ipx newinitd "${FILESDIR}"/ipx.init ipx + into /sbin default } |