File: clang-fix.patch

package info (click to toggle)
libterralib 4.3.0%2Bdfsg.2-11
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 61,564 kB
  • ctags: 37,110
  • sloc: cpp: 225,052; ansic: 31,562; makefile: 807; sh: 80; xml: 37
file content (19 lines) | stat: -rw-r--r-- 623 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746608
Description: Fix for clang FTBFS.
Author: Nicolas Sévelin-Radiguet <nicosr@free.fr>
Last-Updated: 2014-09-14
Forwarded: no

Index: libterralib-4.3.0/src/terralib/kernel/Gra_algo.h
===================================================================
--- libterralib-4.3.0.orig/src/terralib/kernel/Gra_algo.h
+++ libterralib-4.3.0/src/terralib/kernel/Gra_algo.h
@@ -187,7 +187,7 @@ bool topoSort(
        std::cerr << "Error: graph contains a cycle!\n";
     return VerticesWithoutSuccessor == 0;
 	*/
-	return;
+	return 1;
 }
 
 } // namespace br_stl