From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- .../gnutls-2.4.2/gnutls-replace-siginterrupt.patch | 37 ---------------------- 1 file changed, 37 deletions(-) delete mode 100644 packages/gnutls/gnutls-2.4.2/gnutls-replace-siginterrupt.patch (limited to 'packages/gnutls/gnutls-2.4.2/gnutls-replace-siginterrupt.patch') diff --git a/packages/gnutls/gnutls-2.4.2/gnutls-replace-siginterrupt.patch b/packages/gnutls/gnutls-2.4.2/gnutls-replace-siginterrupt.patch deleted file mode 100644 index 9b734a9bf9..0000000000 --- a/packages/gnutls/gnutls-2.4.2/gnutls-replace-siginterrupt.patch +++ /dev/null @@ -1,37 +0,0 @@ -Index: gnutls-2.4.2/src/tests.c -=================================================================== ---- gnutls-2.4.2.orig/src/tests.c 2008-09-15 13:04:19.000000000 -0700 -+++ gnutls-2.4.2/src/tests.c 2009-03-04 15:25:09.000000000 -0800 -@@ -491,6 +491,7 @@ - int old, secs = 6; - - #ifndef _WIN32 -+ struct sigaction act; - signal (SIGALRM, got_alarm); - #endif - -@@ -511,7 +512,9 @@ - return TEST_FAILED; - - #ifndef _WIN32 -- old = siginterrupt (SIGALRM, 1); -+ (void) sigaction(SIGALRM, NULL, &act); -+ act.sa_flags &= ~SA_RESTART; -+ old = sigaction(SIGALRM, &act, NULL); - alarm (secs); - #else - setsockopt ((int)gnutls_transport_get_ptr (session), SOL_SOCKET, SO_RCVTIMEO, -@@ -525,7 +528,12 @@ - while (ret > 0); - - #ifndef _WIN32 -- siginterrupt (SIGALRM, old); -+ (void) sigaction(SIGALRM, NULL, &act); -+ if (old) -+ act.sa_flags &= ~SA_RESTART; -+ else -+ act.sa_flags |= SA_RESTART; -+ sigaction(SIGALRM, &act, NULL); - #else - if (WSAGetLastError () == WSAETIMEDOUT || - WSAGetLastError () == WSAECONNABORTED) -- cgit v1.2.3