Package: kaptain Version: 0.71-1.1 Severity: serious Tags: patch kaptain fails to build because it does not forward-declare Kaptain and because it tries to link against libXinerama:
> i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/qt3 > -I/usr/X11R6/include -DPIC -fPIC -DQT_THREAD_SUPPORT -D_REENTRANT -O2 > -fno-exceptions -fno-check-new -c intermediate.cpp > intermediate.h:49: error: ISO C++ forbids declaration of 'Kaptain' with no > type > intermediate.h:49: error: expected ';' before '*' token > intermediate.cpp: In constructor 'Intermediate::Intermediate(Intermediate*)': > intermediate.cpp:27: error: 'my_kaptain' was not declared in this scope > intermediate.cpp: In member function 'std::string > Intermediate::evaluate_special()': > intermediate.cpp:245: error: 'my_kaptain' was not declared in this scope > intermediate.cpp: In member function 'int Intermediate::get_selected_child()': > intermediate.cpp:259: error: 'class Intermediate' has no member named > 'my_kaptain' > intermediate.cpp:260: error: 'class Intermediate' has no member named > 'my_kaptain' > intermediate.cpp:267: error: 'my_kaptain' was not declared in this scope > intermediate.cpp: In member function 'int > Intermediate::get_selected_checkbox()': > intermediate.cpp:278: error: 'my_kaptain' was not declared in this scope > intermediate.cpp: In member function 'void > Intermediate::recieve(std::string)': > intermediate.cpp:589: error: 'my_kaptain' was not declared in this scope > intermediate.cpp:629: error: 'my_kaptain' was not declared in this scope The attached patch fixes these problems. -- Matt
diff -u kaptain-0.71/debian/control kaptain-0.71/debian/control --- kaptain-0.71/debian/control +++ kaptain-0.71/debian/control @@ -2,7 +2,7 @@ Section: utils Priority: optional Maintainer: Bradley Bell <[EMAIL PROTECTED]> -Build-Depends: debhelper (>> 3.0.0), libqt3-mt-dev, libqt3-compat-headers, flex, bison, libjpeg62-dev, xlibs-dev (>> 4.1.0), zlib1g-dev (>= 1:1.1.4), xutils +Build-Depends: debhelper (>> 3.0.0), libqt3-mt-dev, libqt3-compat-headers, flex, bison, libjpeg62-dev, xlibs-dev (>> 4.1.0), zlib1g-dev (>= 1:1.1.4), xutils, libxinerama-dev Standards-Version: 3.5.8 Package: kaptain only in patch2: unchanged: --- kaptain-0.71.orig/kaptain/intermediate.h +++ kaptain-0.71/kaptain/intermediate.h @@ -35,6 +35,8 @@ #define is_right_aligned 65536 #define is_radio 131072 +class Kaptain; + class Intermediate { friend class Kaptain;
signature.asc
Description: Digital signature