This package is now split between -main (the bloat) and -libs (i.e. cups-libs; which only contains the base libraries which have no external deps). Most filters have moved to cups-filters, the split was needed because cups depends on cups-filters which depends on cups The nice side-effect is that this will simplify lots of things in tree.
24 lines
719 B
Plaintext
24 lines
719 B
Plaintext
$OpenBSD: patch-cups_http_c,v 1.10 2012/08/04 14:37:04 ajacoutot Exp $
|
|
|
|
Fix build on gcc-2.95 archs.
|
|
|
|
--- cups/http.c.orig Sat May 5 00:51:10 2012
|
|
+++ cups/http.c Thu Jul 26 10:00:31 2012
|
|
@@ -1500,6 +1500,8 @@ httpInitialize(void)
|
|
static int initialized = 0; /* Have we been called before? */
|
|
#ifdef WIN32
|
|
WSADATA winsockdata; /* WinSock data */
|
|
+#elif defined(HAVE_SIGACTION)
|
|
+ struct sigaction action; /* POSIX sigaction data */
|
|
#endif /* WIN32 */
|
|
#ifdef HAVE_LIBSSL
|
|
int i; /* Looping var */
|
|
@@ -1526,7 +1528,6 @@ httpInitialize(void)
|
|
sigset(SIGPIPE, SIG_IGN);
|
|
|
|
# elif defined(HAVE_SIGACTION)
|
|
- struct sigaction action; /* POSIX sigaction data */
|
|
|
|
|
|
memset(&action, 0, sizeof(action));
|