tags 778115 +patch
thanks

ISO C99 introduced a new "isblank" function into the standard ctypes.h
header file. This patch conditionally defines "isblank" only if C99 is
not in use, and fixes the original gcc5 build problem.

But now I run into a problem that looks like a missing KDE build-dep of
some sort, but I don't know enough about qt/KDE to figure out what's
missing or why this is failing:

Scanning dependencies of target qtsflphone
make[4]: Leaving directory '/home/brett/src/sflphone-1.4.1/kde/build'
make[4]: Entering directory '/home/brett/src/sflphone-1.4.1/kde/build'
[ 18%] Building CXX object src/lib/CMakeFiles/qtsflphone.dir/call.cpp.o
cc1plus: error: /usr/include/qt4/KDE: No such file or directory 
[-Werror=missing-include-dirs]
cc1plus: all warnings being treated as errors
src/lib/CMakeFiles/qtsflphone.dir/build.make:388: recipe for target 
'src/lib/CMakeFiles/qtsflphone.dir/call.cpp.o' failed

Full build log at 
http://people.linux.hp.com/~brett/logs/sflphone-1.4.1/buildlog.txt

--- 
sflphone-1.4.1.orig/daemon/libs/pjproject-2.2.1/pjlib/include/pj/compat/ctype.h
+++ sflphone-1.4.1/daemon/libs/pjproject-2.2.1/pjlib/include/pj/compat/ctype.h
@@ -41,9 +41,11 @@
 #  define toupper(c)       (((c) >= 'a' && (c) <= 'z') ? (c)-('a'-'A') : (c))
 #endif
 
-#ifndef isblank
+#ifndef __USE_ISOC99
+# ifndef isblank
 #   define isblank(c)      (c==' ' || c=='\t')
-#endif
+# endif
+#endif /* __USE_ISOC99 */
 
 
 #endif /* __PJ_COMPAT_CTYPE_H__ */

-- 
Brett Johnson <br...@hp.com>


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to