Package: phnxdeco
Severity: minor
Usertags: clang-ftbfs
User: pkg-llvm-t...@lists.alioth.debian.org
Tag: patch


Hello,

Using the rebuild infrastructure, your package fails to build with clang
(instead of gcc). I am not sure if you really needed a byte for argc or 
argv. If it does not affect the program then please consider using the
patch. If it does affect the program let me know.

Thanks,
Arthur
diff -Naur phnxdeco.orig/phnxdeco-0.33/debian/changelog phnxdeco/phnxdeco-0.33/debian/changelog 
--- phnxdeco.orig/phnxdeco-0.33/debian/changelog	2014-05-18 20:30:12.217861461 -0500
+++ phnxdeco/phnxdeco-0.33/debian/changelog	2014-05-18 20:42:29.201845002 -0500
@@ -1,3 +1,11 @@
+phnxdeco (0.33-4) unstable; urgency=low
+
+  * Fix FTBFS with clang:
+    - Fixed the "wrong main declaration" in:
+      src/phnxdeco.c
+
+ -- Arthur Marble <art...@info9.net>  Sun, 18 May 2014 20:42:29 -0500
+
 phnxdeco (0.33-3) unstable; urgency=low
 
   * Install the binary in /usr/bin, not /bin.
diff -Naur phnxdeco.orig/phnxdeco-0.33/patches/clang-ftbfs.diff phnxdeco/phnxdeco-0.33/patches/clang-ftbfs.diff 
--- phnxdeco.orig/phnxdeco-0.33/patches/clang-ftbfs.diff	1969-12-31 18:00:00.000000000 -0600
+++ phnxdeco/phnxdeco-0.33/patches/clang-ftbfs.diff	2014-05-18 20:40:42.253847390 -0500
@@ -0,0 +1,11 @@
+--- a/src/phnxdeco.c
++++ b/src/phnxdeco.c
+@@ -34,7 +34,7 @@
+ #include	"./phnxver.h"
+ #include	"./phnxhelp.h"
+ 
+-int main(byte argc, byte *argv[])
++int main(int argc, char *argv[])
+ {
+ 		FILE *ptx;
+ 		byte *Buf;
diff -Naur phnxdeco.orig/phnxdeco-0.33/patches/series phnxdeco/phnxdeco-0.33/patches/series 
--- phnxdeco.orig/phnxdeco-0.33/patches/series	1969-12-31 18:00:00.000000000 -0600
+++ phnxdeco/phnxdeco-0.33/patches/series	2014-05-18 20:30:43.133860770 -0500
@@ -0,0 +1 @@
+clang-ftbfs.diff

Reply via email to