Source: mupdf
Severity: minor
Tags: patch
User: pkg-llvm-t...@lists.alioth.debian.org
Usertags: clang-ftbfs

Hello,

Using the rebuild infrastructure, your package fails to build with clang 
(instead of gcc).

We detected this kinf of error:
http://clang.debian.net/status.php?version=3.4.2&key=NO_MEMBER

Full build log is available here:
http://clang.debian.net/logs/2014-06-16/mupdf_1.4-2_unstable_clang.log

Thanks,
Alexander


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- ./source/fitz/output.c	2014-04-11 19:10:41.000000000 +0400
+++ ../mupdf-1.4-my/./source/fitz/output.c	2014-07-23 01:03:11.164054829 +0400
@@ -36,7 +36,7 @@
 	fz_output *out = fz_malloc_struct(ctx, fz_output);
 	out->ctx = ctx;
 	out->opaque = file;
-	out->printf = file_printf;
+	out->printf_ = file_printf;
 	out->write = file_write;
 	out->close = NULL;
 	return out;
@@ -58,7 +58,7 @@
 		out = fz_malloc_struct(ctx, fz_output);
 		out->ctx = ctx;
 		out->opaque = file;
-		out->printf = file_printf;
+		out->printf_ = file_printf;
 		out->write = file_write;
 		out->close = file_close;
 	}
@@ -90,7 +90,7 @@
 		return 0;
 
 	va_start(ap, fmt);
-	ret = out->printf(out, fmt, ap);
+	ret = out->printf_(out, fmt, ap);
 	va_end(ap);
 
 	return ret;
@@ -142,7 +142,7 @@
 	fz_output *out = fz_malloc_struct(ctx, fz_output);
 	out->ctx = ctx;
 	out->opaque = buf;
-	out->printf = buffer_printf;
+	out->printf_ = buffer_printf;
 	out->write = buffer_write;
 	out->close = NULL;
 	return out;
--- ./include/mupdf/fitz/output.h	2014-04-11 19:10:41.000000000 +0400
+++ ../mupdf-1.4-my/./include/mupdf/fitz/output.h	2014-07-23 01:01:08.670254717 +0400
@@ -15,7 +15,7 @@
 {
 	fz_context *ctx;
 	void *opaque;
-	int (*printf)(fz_output *, const char *, va_list ap);
+	int (*printf_)(fz_output *, const char *, va_list ap);
 	int (*write)(fz_output *, const void *, int n);
 	void (*close)(fz_output *);
 };

Reply via email to