Package: libsocialweb
Version: 0.25.20-3.1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu raring ubuntu-patch

Dear Maintainer,

In Ubuntu Raring, the attached patch was applied to achieve the following:

  * Patched source file to use format argument, fixing FTBFS.


Please note that CFLAGS in Ubuntu are likely more strict, thereby causing
this failure.

Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-38-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru libsocialweb-0.25.20/debian/patches/format-security.patch libsocialweb-0.25.20/debian/patches/format-security.patch
--- libsocialweb-0.25.20/debian/patches/format-security.patch	1969-12-31 19:00:00.000000000 -0500
+++ libsocialweb-0.25.20/debian/patches/format-security.patch	2013-03-02 14:18:23.000000000 -0500
@@ -0,0 +1,20 @@
+Index: libsocialweb-0.25.20/libsocialweb-client/sw-client-service.c
+===================================================================
+--- libsocialweb-0.25.20.orig/libsocialweb-client/sw-client-service.c	2011-11-12 05:56:37.000000000 -0500
++++ libsocialweb-0.25.20/libsocialweb-client/sw-client-service.c	2013-03-02 14:18:17.496718396 -0500
+@@ -595,6 +595,7 @@
+                                          closure->userdata,
+                                          SW_CLIENT_SERVICE_ERROR,
+                                          0,
++                                         "%s",
+                                          error_message);
+     g_object_unref (closure->service);
+     g_slice_free (SwClientServiceCallClosure, closure);
+@@ -663,6 +664,7 @@
+                                          closure->userdata,
+                                          SW_CLIENT_SERVICE_ERROR,
+                                          0,
++                                         "%s",
+                                          info ? "File to upload is not a regular file" :
+                                          "Could not get file size information for file");
+     if (info)
diff -Nru libsocialweb-0.25.20/debian/patches/series libsocialweb-0.25.20/debian/patches/series
--- libsocialweb-0.25.20/debian/patches/series	2013-03-02 05:43:53.000000000 -0500
+++ libsocialweb-0.25.20/debian/patches/series	2013-03-02 14:14:28.000000000 -0500
@@ -2,3 +2,4 @@
 c1791e96182815449781fcda6007b69cd88cf7bf.patch
 e928f75ca45df8fb170230c95860f1a0fb3ae4e9.patch
 CVE-2012-4511.patch
+format-security.patch

Reply via email to