Source: ng Version: 1.5~beta1-3 Severity: minor Tags: patch User: pkg-llvm-t...@lists.alioth.debian.org Usertags: clang-ftbfs
Dear Maintainer, Your package fails to build with clang instead of gcc. [-Wreturn-type] The attached patch fixes it. Buildlogs and patch are here: https://github.com/nonas/debian-clang/tree/master/buildlogs/ng Regards, Nicolas -- System Information: Debian Release: jessie/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- ng-1.5~beta1.orig/sys/default/tty.c +++ ng-1.5~beta1/sys/default/tty.c @@ -281,7 +281,7 @@ if (row == bot) { /* Case of one line insert is */ ttmove(row, 0); /* special */ tteeol(); - return; + return 0; } if (CS && SR) { /* Use scroll region and back index */ nl = bot - row; @@ -289,7 +289,7 @@ ttmove(row, 0); while (nchunk--) putpad(SR, nl); ttnowindow(); - return; + return 0; } else if (insdel) { ttmove(1+bot-nchunk, 0); nl = nrow - ttrow; @@ -321,7 +321,7 @@ if (row == bot) { /* One line special case */ ttmove(row, 0); tteeol(); - return; + return 0; } if (CS) { /* scrolling region */ nl = bot - row;