Package: acm
Severity: minor
Usertags: clang-ftbfs
User: [email protected]
Tag: patch


Hello,

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

Thanks,
Arthur
diff -Naur acm.orig/acm-5.0/debian/changelog acm/acm-5.0/debian/changelog
--- acm.orig/acm-5.0/debian/changelog	2014-02-24 17:38:08.612029239 -0600
+++ acm/acm-5.0/debian/changelog	2014-02-24 17:50:01.272041649 -0600
@@ -1,3 +1,12 @@
+acm (5.0-29) unstable; urgency=medium
+
+  * Fix the FTBFS with clang:
+    - Fixed the non-void function should return a value in
+      dis/test/disscope.c
+      src/splash.c 
+
+ -- Arthur Marble <[email protected]>  Mon, 24 Feb 2014 17:50:01 -0600
+
 acm (5.0-28) unstable; urgency=low
 
   * Merging revised description from 5.0-27ubuntu2 (closes: 588894).
diff -Naur acm.orig/acm-5.0/patches/clang-ftbfs.diff acm/acm-5.0/patches/clang-ftbfs.diff 
--- acm.orig/acm-5.0/patches/clang-ftbfs.diff	1969-12-31 18:00:00.000000000 -0600
+++ acm/acm-5.0/patches/clang-ftbfs.diff	2014-02-24 17:52:04.404043793 -0600
@@ -0,0 +1,22 @@
+--- a/dis/test/disscope.c
++++ b/dis/test/disscope.c
+@@ -172,7 +172,7 @@ main ()
+ #endif
+ 		++ count;
+ 	}
+-	return;
++	return 0;
+ }
+ 
+ char *
+--- a/src/splash.c
++++ b/src/splash.c
+@@ -786,7 +786,7 @@ putScaledImage(display, d, gc, src_image
+ 	/* same for x and y, just send it out */
+ 	XPutImage(display, d, gc, src_image, exp_x, exp_y, 
+ 		  exp_x, exp_y, exp_width, exp_height); 
+-	return;
++	return 0;
+     }
+ 
+     ratio_x = (double)dest_width / (double)src_image->width;
diff -Naur acm.orig/acm-5.0/patches/series acm/acm-5.0/patches/series --- acm.orig/acm-5.0/patches/series	1969-12-31 18:00:00.000000000 -0600
+++ acm/acm-5.0/patches/series	2014-02-24 17:41:32.384032787 -0600
@@ -0,0 +1 @@
+clang-ftbfs.diff

Reply via email to