diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
commit | 2018227e9344edb9da15fc6a4a8298086cc2aa77 (patch) | |
tree | c18e1c09e605e94e2a1e93345ad25746cc9e14b9 /dev-ada/aws/files | |
parent | 6f8038813c460b4f0572d5ef595cdfa94af3a94d (diff) |
gentoo resync : 02.06.2019
Diffstat (limited to 'dev-ada/aws/files')
-rw-r--r-- | dev-ada/aws/files/aws-2018-gentoo.patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/dev-ada/aws/files/aws-2018-gentoo.patch b/dev-ada/aws/files/aws-2018-gentoo.patch new file mode 100644 index 000000000000..5c615d32dba0 --- /dev/null +++ b/dev-ada/aws/files/aws-2018-gentoo.patch @@ -0,0 +1,56 @@ +--- a/config/src/aws-net-std__gnat.adb 2019-05-31 19:03:42.565961279 +0200 ++++ b/config/src/aws-net-std__gnat.adb 2019-05-31 19:05:23.895245892 +0200 +@@ -132,7 +132,7 @@ + + if Reuse_Address then + Sockets.Set_Socket_Option +- (Socket.S.FD, Option => (Sockets.Reuse_Address, Enabled => True)); ++ (Socket.S.FD, Sockets.Socket_Level, (Sockets.Reuse_Address, Enabled => True)); + end if; + + Sockets.Bind_Socket +@@ -263,7 +263,7 @@ + package SC renames OS_Lib; + + Option : constant Option_Type := +- Get_Socket_Option (Socket.S.FD, Name => Error); ++ Get_Socket_Option (Socket.S.FD, Socket_Level, Error); + begin + case Option.Error is + when Success => +@@ -439,7 +439,7 @@ + is + use Sockets; + begin +- return Get_Socket_Option (Socket.S.FD, Name => Receive_Buffer).Size; ++ return Get_Socket_Option (Socket.S.FD, Socket_Level, Receive_Buffer).Size; + exception + when E : Sockets.Socket_Error => + Raise_Exception (E, "Get_Receive_Buffer_Size", Socket); +@@ -454,7 +454,7 @@ + is + use Sockets; + begin +- return Get_Socket_Option (Socket.S.FD, Name => Send_Buffer).Size; ++ return Get_Socket_Option (Socket.S.FD, Socket_Level, Send_Buffer).Size; + exception + when E : Sockets.Socket_Error => + Raise_Exception (E, "Get_Send_Buffer_Size", Socket); +@@ -709,7 +709,7 @@ + is + use Sockets; + begin +- Set_Socket_Option (Socket.S.FD, Option => (Receive_Buffer, Size)); ++ Set_Socket_Option (Socket.S.FD, Socket_Level, (Receive_Buffer, Size)); + exception + when E : Sockets.Socket_Error => + Raise_Exception (E, "Set_Receive_Buffer_Size", Socket); +@@ -725,7 +725,7 @@ + is + use Sockets; + begin +- Set_Socket_Option (Socket.S.FD, Option => (Send_Buffer, Size)); ++ Set_Socket_Option (Socket.S.FD, Socket_Level, (Send_Buffer, Size)); + exception + when E : Sockets.Socket_Error => + Raise_Exception (E, "Set_Send_Buffer_Size", Socket); |