Package: xtide
Version: 2.8.2-2
Severity: important
Tags: patch
Your package fails to build with G++ 4.1. I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.
A patch is below.
> Automatic build of xtide_2.8.2-2 on bigsur by sbuild/mips 1.89
...
> g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -Dacceptarg3_t=socklen_t
> -I/usr/local/include -Ilibtcd -I/usr/X11R6/include -O -I/usr/local/include
> -I/usr/contrib/include -c xxClock.cc
> xxClock.cc: In constructor 'xxClock::xxClock(xxTideContext*, xxContext*,
> Station*, int)':
> xxClock.cc:229: error: 'xxClockTimerCallback' was not declared in this scope
> make[1]: *** [xxClock.o] Error 1
> make[1]: Leaving directory `/build/tbm/xtide-2.8.2'
> make: *** [build] Error 2
--- ./xxClock.hh~ 2006-03-12 02:26:57.000000000 +0000
+++ ./xxClock.hh 2006-03-12 02:27:10.000000000 +0000
@@ -21,6 +21,8 @@
// This is almost similar enough to xxGraphMode to inherit from it,
// but not quite. Beware of duplicated code.
+void xxClockTimerCallback (XtPointer client_data, XtIntervalId *timerid);
+
class xxClock: public xxDrawable {
friend void xxClockSaveCallback (Dstr &filename, void *in_ptr);
friend void xxClockResizeHandler (Widget w, XtPointer client_data,
--- ./xxWindow.hh~ 2006-03-12 02:28:21.000000000 +0000
+++ ./xxWindow.hh 2006-03-12 02:28:47.000000000 +0000
@@ -20,6 +20,9 @@
class xxTideContext;
+void xxWindowCloseHandler (Widget w, XtPointer client_data,
+ XEvent *event, Boolean *continue_dispatch);
+
class xxWindow {
friend class xxXTideRoot;
friend void xxWindowCloseHandler (Widget w, XtPointer client_data,
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]