File: clang-ftbfs.diff

package info (click to toggle)
kdc2tiff 0.35-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 556 kB
  • sloc: cpp: 3,107; ansic: 832; sh: 330; makefile: 23
file content (18 lines) | stat: -rw-r--r-- 422 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Arthur Marble <arthur@info9.net>
Last-Update: 2014-05-20
Bug-Debian: https://bugs.debian.org/748726
Description: Fix FTBFS with clang:
    - Fixed "wrong main declaration" in
    kdc2tiff.cpp

--- a/kdc2tiff.cpp
+++ b/kdc2tiff.cpp
@@ -305,7 +305,7 @@ char** ParseLocalOptions(OutputOptions&
 }
 
 
-main (int argc, char*argv[]) {
+int main (int argc, char*argv[]) {
 
   // set program name
   progname = *argv++;