aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ponyc/rename-SO_RCVTIMEO-SO_SNDTIMEO-with-OLD-suffix.patch
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2020-04-08 01:20:17 +0200
committerTBK <tbk@jjtc.eu>2020-04-08 10:16:25 +0000
commitea2bb75d3208ad4ca85fabc2a1872f0b1044d3f2 (patch)
tree89461e740ef6b1fb6d9ee66f551bb0cb2cf4ac4f /testing/ponyc/rename-SO_RCVTIMEO-SO_SNDTIMEO-with-OLD-suffix.patch
parent6aa14031d1731960a7d8311746684cf4021e4d16 (diff)
downloadaports-ea2bb75d3208ad4ca85fabc2a1872f0b1044d3f2.tar.gz
aports-ea2bb75d3208ad4ca85fabc2a1872f0b1044d3f2.tar.bz2
aports-ea2bb75d3208ad4ca85fabc2a1872f0b1044d3f2.tar.xz
testing/ponyc: upgrade to 0.33.2
Diffstat (limited to 'testing/ponyc/rename-SO_RCVTIMEO-SO_SNDTIMEO-with-OLD-suffix.patch')
-rw-r--r--testing/ponyc/rename-SO_RCVTIMEO-SO_SNDTIMEO-with-OLD-suffix.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/ponyc/rename-SO_RCVTIMEO-SO_SNDTIMEO-with-OLD-suffix.patch b/testing/ponyc/rename-SO_RCVTIMEO-SO_SNDTIMEO-with-OLD-suffix.patch
new file mode 100644
index 0000000000..d8b4ece867
--- /dev/null
+++ b/testing/ponyc/rename-SO_RCVTIMEO-SO_SNDTIMEO-with-OLD-suffix.patch
@@ -0,0 +1,25 @@
+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=45bdc66159d49bfc7f75fe02d25bc74f5d2660cf
+--- a/src/libponyrt/lang/socket.c
++++ b/src/libponyrt/lang/socket.c
+@@ -4470,8 +4470,8 @@
+ #ifdef SO_RCVLOWAT
+ case 886: return SO_RCVLOWAT;
+ #endif
+-#ifdef SO_RCVTIMEO
+- case 887: return SO_RCVTIMEO;
++#ifdef SO_RCVTIMEO_OLD
++ case 887: return SO_RCVTIMEO_OLD;
+ #endif
+ #ifdef SO_RDS_TRANSPORT
+ case 888: return SO_RDS_TRANSPORT;
+@@ -4527,8 +4527,8 @@
+ #ifdef SO_SNDLOWAT
+ case 905: return SO_SNDLOWAT;
+ #endif
+-#ifdef SO_SNDTIMEO
+- case 906: return SO_SNDTIMEO;
++#ifdef SO_SNDTIMEO_OLD
++ case 906: return SO_SNDTIMEO_OLD;
+ #endif
+ #ifdef SO_TIMESTAMP
+ case 907: return SO_TIMESTAMP;