pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libsoup24 gcc48 is unforgiving on libsoup
details: https://anonhg.NetBSD.org/pkgsrc/rev/795e5c3e12fb
branches: trunk
changeset: 621664:795e5c3e12fb
user: richard <richard%pkgsrc.org@localhost>
date: Sun Jul 14 10:14:26 2013 +0000
description:
gcc48 is unforgiving on libsoup
diffstat:
net/libsoup24/distinfo | 4 +-
net/libsoup24/patches/patch-libsoup_soup-logger.c | 51 ++++++++++++++++++++++-
2 files changed, 51 insertions(+), 4 deletions(-)
diffs (77 lines):
diff -r 2d618ba73690 -r 795e5c3e12fb net/libsoup24/distinfo
--- a/net/libsoup24/distinfo Sun Jul 14 06:48:48 2013 +0000
+++ b/net/libsoup24/distinfo Sun Jul 14 10:14:26 2013 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.33 2013/04/27 12:09:32 drochner Exp $
+$NetBSD: distinfo,v 1.34 2013/07/14 10:14:26 richard Exp $
SHA1 (libsoup-2.42.2.tar.xz) = 8d2a660879c4cf00379ceab04c3e479dedd1405c
RMD160 (libsoup-2.42.2.tar.xz) = a8bd5d643b5ec3c837eaca1c229cff18727c815f
Size (libsoup-2.42.2.tar.xz) = 732296 bytes
-SHA1 (patch-libsoup_soup-logger.c) = 366c59e3de5c03961e511bb9c370bde9928fd985
+SHA1 (patch-libsoup_soup-logger.c) = e6422db7f127d26d764bbad7983316f41386c19b
SHA1 (patch-libsoup_soup-xmlrpc.c) = 4d718e7ac61d30361c7835114ee1ad6f31e12343
SHA1 (patch-tests_coding-test.c) = 2b76cf778cf389d9c67abb2b5222656e7e4191fb
diff -r 2d618ba73690 -r 795e5c3e12fb net/libsoup24/patches/patch-libsoup_soup-logger.c
--- a/net/libsoup24/patches/patch-libsoup_soup-logger.c Sun Jul 14 06:48:48 2013 +0000
+++ b/net/libsoup24/patches/patch-libsoup_soup-logger.c Sun Jul 14 10:14:26 2013 +0000
@@ -1,6 +1,8 @@
-$NetBSD: patch-libsoup_soup-logger.c,v 1.1 2013/04/26 19:54:14 joerg Exp $
+$NetBSD: patch-libsoup_soup-logger.c,v 1.2 2013/07/14 10:14:26 richard Exp $
---- libsoup/soup-logger.c.orig 2013-04-26 18:44:07.000000000 +0000
+fix problems concerning -Werror=format-zero-length and -Werror=format
+
+--- libsoup/soup-logger.c.orig 2013-03-10 16:57:01.000000000 +0000
+++ libsoup/soup-logger.c
@@ -365,7 +365,7 @@ soup_logger_detach (SoupLogger *logger,
soup_session_remove_feature (session, SOUP_SESSION_FEATURE (logger));
@@ -11,3 +13,48 @@
soup_logger_print (SoupLogger *logger, SoupLoggerLogLevel level,
char direction, const char *format, ...)
{
+@@ -425,7 +425,7 @@ soup_logger_print_basic_auth (SoupLogger
+ *p = '*';
+ }
+ soup_logger_print (logger, SOUP_LOGGER_LOG_HEADERS, '>',
+- "Authorization: Basic [%.*s]", len, decoded);
++ "Authorization: Basic [%.*s]", (int)len, decoded);
+ g_free (decoded);
+ }
+
+@@ -582,7 +582,7 @@ got_informational (SoupMessage *msg, gpo
+ g_mutex_lock (&priv->lock);
+
+ print_response (logger, msg);
+- soup_logger_print (logger, SOUP_LOGGER_LOG_MINIMAL, ' ', "");
++ soup_logger_print (logger, SOUP_LOGGER_LOG_MINIMAL, ' ', " ");
+
+ if (msg->status_code == SOUP_STATUS_CONTINUE && msg->request_body->data) {
+ SoupLoggerLogLevel log_level;
+@@ -601,7 +601,7 @@ got_informational (SoupMessage *msg, gpo
+ "%s", msg->request_body->data);
+ }
+
+- soup_logger_print (logger, SOUP_LOGGER_LOG_MINIMAL, ' ', "");
++ soup_logger_print (logger, SOUP_LOGGER_LOG_MINIMAL, ' ', " ");
+ }
+
+ g_mutex_unlock (&priv->lock);
+@@ -616,7 +616,7 @@ got_body (SoupMessage *msg, gpointer use
+ g_mutex_lock (&priv->lock);
+
+ print_response (logger, msg);
+- soup_logger_print (logger, SOUP_LOGGER_LOG_MINIMAL, ' ', "");
++ soup_logger_print (logger, SOUP_LOGGER_LOG_MINIMAL, ' ', " ");
+
+ g_mutex_unlock (&priv->lock);
+ }
+@@ -665,7 +665,7 @@ soup_logger_request_started (SoupSession
+ soup_logger_set_id (logger, socket);
+
+ print_request (logger, msg, session, socket, restarted);
+- soup_logger_print (logger, SOUP_LOGGER_LOG_MINIMAL, ' ', "");
++ soup_logger_print (logger, SOUP_LOGGER_LOG_MINIMAL, ' ', " ");
+ }
+
+ static void
Home |
Main Index |
Thread Index |
Old Index