File: 0004_clang.patch

package info (click to toggle)
xevil 2.02r2-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,888 kB
  • sloc: cpp: 47,789; makefile: 189; csh: 4
file content (17 lines) | stat: -rw-r--r-- 519 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Piotr SokoĊ‚owski <piotrsok2@gmail.com>
Last-Update: 2014-03-29
Bug-Debian: https://bugs.debian.org/742968
Description: Fix build with clang

diff -Naur xevil-2.02r2/x11/serverping.cpp xevil-2.02r2-clang/x11/serverping.cpp
--- xevil-2.02r2/x11/serverping.cpp	2014-03-28 14:02:51.000000000 +0100
+++ xevil-2.02r2-clang/x11/serverping.cpp	2014-03-28 14:06:14.706214964 +0100
@@ -349,7 +349,7 @@
 
 
 
-main(int argc,char** argv) {
+int main(int argc,char** argv) {
   ServerPing ping(argc,argv);
   ping.go();
 }