tags 455035 + patch
thanks

The following two patches fix this and a similar problem.

----------------------------cut here----------------------------
diff -Naur fldigi-2.05-orig/src/include/FTextView.h 
fldigi-2.05/src/include/FTextView.h
--- fldigi-2.05-orig/src/include/FTextView.h    2007-12-03 06:46:02.000000000 
+0000
+++ fldigi-2.05/src/include/FTextView.h 2007-12-08 20:07:03.000000000 +0000
@@ -179,23 +179,6 @@
        int                     bkspaces;
 };
 
-///
-/// A lock class meant to be instantiated on the stack to acquire a lock which
-/// is released when the object goes out of scope.
-/// The no-arg ctor calls Fl::lock(), and the Fl_Mutex* ctor locks that mutex.
-///
-class autolock
-{
-public:
-       autolock() : m(0) { FL_LOCK(); }
-       autolock(Fl_Mutex *m_) : m(m_) { fl_lock(m); }
-       ~autolock() { if (m) fl_unlock(m); else FL_UNLOCK(); }
-private:
-       autolock(const autolock &a); // no copying
-        autolock& operator=(const autolock&); // no copying
-       Fl_Mutex *m;
-};
-
 /// A version of Fl_Tile that runs check callbacks and moves the boundary
 /// between its child widgets only all resize checks return true.
 class Fl_Tile_check : public Fl_Tile
diff -Naur fldigi-2.05-orig/src/include/globals.h 
fldigi-2.05/src/include/globals.h
--- fldigi-2.05-orig/src/include/globals.h      2007-12-03 06:46:33.000000000 
+0000
+++ fldigi-2.05/src/include/globals.h   2007-12-08 20:06:49.000000000 +0000
@@ -26,6 +26,8 @@
 #ifndef _GLOBALS_H
 #define _GLOBALS_H
 
+#include <stdint.h>
+
 enum state_t {
        STATE_PAUSE = 0,
        STATE_RX,
@@ -89,7 +91,7 @@
 
        NUM_MODES
 };
-typedef int trx_mode;
+typedef intptr_t trx_mode;
 
 struct mode_info_t {
        trx_mode mode;
----------------------------cut here----------------------------


-- 

Stelios Bounanos
perl -e 'print+reverse"[EMAIL PROTECTED]"=~/(..)/sg'     #key: 0xE88A7F61

Please use the address above to email me from non-debian.org domains.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to