summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2012-06-29 18:50:21 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2012-06-29 18:50:21 +0800
commit73d44a892e83ac9981788d85eade1c3012adb7d7 (patch)
treebef158039c2969968517158787c728d66fa64d00
parent37682ed4e72a534d1581195b937a871e9bc5daa5 (diff)
downloadmarcuscom-ports-73d44a892e83ac9981788d85eade1c3012adb7d7.tar
marcuscom-ports-73d44a892e83ac9981788d85eade1c3012adb7d7.tar.gz
marcuscom-ports-73d44a892e83ac9981788d85eade1c3012adb7d7.tar.bz2
marcuscom-ports-73d44a892e83ac9981788d85eade1c3012adb7d7.tar.lz
marcuscom-ports-73d44a892e83ac9981788d85eade1c3012adb7d7.tar.xz
marcuscom-ports-73d44a892e83ac9981788d85eade1c3012adb7d7.tar.zst
marcuscom-ports-73d44a892e83ac9981788d85eade1c3012adb7d7.zip
Fix build with clang.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16975 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--devel/libsoup/files/patch-tests_coding-test.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/libsoup/files/patch-tests_coding-test.c b/devel/libsoup/files/patch-tests_coding-test.c
new file mode 100644
index 000000000..899c799bc
--- /dev/null
+++ b/devel/libsoup/files/patch-tests_coding-test.c
@@ -0,0 +1,11 @@
+--- tests/coding-test.c.orig 2012-06-29 12:07:41.000000000 +0200
++++ tests/coding-test.c 2012-06-29 12:47:16.000000000 +0200
+@@ -66,7 +66,7 @@
+ }
+ }
+ if (file_path && encoding) {
+- file = g_strdup_printf (file_path, path);
++ file = g_strdup_printf ("%s", path);
+ if (g_file_test (file, G_FILE_TEST_EXISTS)) {
+ soup_message_headers_append (msg->response_headers,
+ "Content-Encoding",