summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/ucspi-tcp/files/0.88-implicit-int-ipv6.patch11
-rw-r--r--sys-apps/ucspi-tcp/files/0.88-implicit-int.patch11
-rw-r--r--sys-apps/ucspi-tcp/ucspi-tcp-0.88-r19.ebuild1
3 files changed, 12 insertions, 11 deletions
diff --git a/sys-apps/ucspi-tcp/files/0.88-implicit-int-ipv6.patch b/sys-apps/ucspi-tcp/files/0.88-implicit-int-ipv6.patch
new file mode 100644
index 000000000000..aee400dc48c3
--- /dev/null
+++ b/sys-apps/ucspi-tcp/files/0.88-implicit-int-ipv6.patch
@@ -0,0 +1,11 @@
+--- a/tryip6.c
++++ b/tryip6.c
+@@ -2,7 +2,7 @@
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+
+-main() {
++int main() {
+ struct sockaddr_in6 sa;
+ sa.sin6_family = PF_INET6;
+ }
diff --git a/sys-apps/ucspi-tcp/files/0.88-implicit-int.patch b/sys-apps/ucspi-tcp/files/0.88-implicit-int.patch
index 8c4bbf327800..b2e39abd838e 100644
--- a/sys-apps/ucspi-tcp/files/0.88-implicit-int.patch
+++ b/sys-apps/ucspi-tcp/files/0.88-implicit-int.patch
@@ -182,17 +182,6 @@
{
#ifdef NeXT
printf("nextstep\n"); exit(0);
---- a/tryip6.c
-+++ b/tryip6.c
-@@ -2,7 +2,7 @@
- #include <sys/socket.h>
- #include <netinet/in.h>
-
--main() {
-+int main() {
- struct sockaddr_in6 sa;
- sa.sin6_family = PF_INET6;
- }
--- a/trylsock.c
+++ b/trylsock.c
@@ -1,4 +1,4 @@
diff --git a/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r19.ebuild b/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r19.ebuild
index af7bfc881cea..28b0addc8b65 100644
--- a/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r19.ebuild
+++ b/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r19.ebuild
@@ -31,6 +31,7 @@ src_prepare() {
eapply "${FILESDIR}"/${PV}-protos-ipv6.patch
eapply "${FILESDIR}"/${PV}-tcprules.patch #135571
eapply "${FILESDIR}"/${PV}-bigendian.patch #18892
+ eapply "${FILESDIR}"/${PV}-implicit-int-ipv6.patch
else
eapply "${FILESDIR}"/${PV}-protos-no-ipv6.patch
fi