Package: yudit
Version: 2.7.8-3
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 yudit_2.7.8-3 on bigsur by sbuild/mips 1.94
...
> c++ -c -DYUDIT_DATA=\"/usr/share/yudit\" -I/build/tbm/yudit-2.7.8 
> -DHAVE_LONG_LONG   -Wall -DHAVE_MMAP -g -O2 SIO.cpp
> SIO.h:150: error: extra qualification 'SSocket::' on member 'openSocket'
> SIO.cpp: In member function 'void SSocket::openSocket(SOutputStream*)':
> SIO.cpp:815: warning: operation on 'sd' may be undefined
> make[2]: *** [SIO.o] Error 1

--- ./swidget/SDialog.h~        2006-03-15 15:34:06.000000000 +0000
+++ ./swidget/SDialog.h 2006-03-15 15:34:10.000000000 +0000
@@ -39,7 +39,7 @@
 protected:
   virtual void keyPressed (SWindow * w, SKey key, const SString& s,
           bool ctrl, bool shift, bool meta);
-  virtual void SDialog::buttonPressed (void* source, const SAccelerator* acc);
+  virtual void buttonPressed (void* source, const SAccelerator* acc);
   virtual bool close (SPanel* comp);
   SType    type;
   SPanel*  dialogPanel;
--- ./swindow/sx11/SX11Window.h~        2006-03-15 15:30:59.000000000 +0000
+++ ./swindow/sx11/SX11Window.h 2006-03-15 15:31:09.000000000 +0000
@@ -138,9 +138,9 @@
 
 private:
   SBinHashtable <SAcceleratorListener*> accelerators;
-  void SX11Window::createShadedPixmap (const SImage& im, Pixmap* p, Pixmap* m);
-  void SX11Window::createColoredPixmap (const SImage& im, Pixmap* p, Pixmap* 
m);
-  void SX11Window::createMaskedPixmap (const SImage& im, Pixmap* p, Pixmap* m);
+  void createShadedPixmap (const SImage& im, Pixmap* p, Pixmap* m);
+  void createColoredPixmap (const SImage& im, Pixmap* p, Pixmap* m);
+  void createMaskedPixmap (const SImage& im, Pixmap* p, Pixmap* m);
 
   SString         name;
   SXInputMethod inputMethod;
--- ./swindow/SImage.h~ 2006-03-15 15:29:29.000000000 +0000
+++ ./swindow/SImage.h  2006-03-15 15:29:44.000000000 +0000
@@ -42,7 +42,7 @@
        int origox, int origoy, 
        unsigned int width, unsigned int height);
   virtual ~SImage();
-  const SUniqueID& SImage::getID() const;
+  const SUniqueID& getID() const;
   void compress();
   /* After fill, return the shade of white  */
   unsigned int getShades () const;
@@ -53,7 +53,7 @@
   void setOrigoX (int x);
   void setOrigoY (int y);
   SS_WORD32 getShade (int x, int y) const;
-  virtual SObject* SImage::clone () const;
+  virtual SObject* clone () const;
 
   /* USed by cache device to indicate the offset */
   int  px;
--- ./swindow/SFontTTF.h~       2006-03-15 15:32:07.000000000 +0000
+++ ./swindow/SFontTTF.h        2006-03-15 15:32:11.000000000 +0000
@@ -121,7 +121,7 @@
     const SS_GlyphIndex* chars, unsigned int liglen, SS_GlyphIndex* out,
     unsigned int substtype = 4);
 
-  bool SFontTTF::hasOTFLigatures();
+  bool hasOTFLigatures();
 
   void getOTFMarkToBase (SS_GlyphIndex baseGlyph, 
        SS_GlyphIndex markGlyph, int* ix, int* iy);
--- ./stoolkit/SIO.h~   2006-03-15 15:27:47.000000000 +0000
+++ ./stoolkit/SIO.h    2006-03-15 15:27:50.000000000 +0000
@@ -147,7 +147,7 @@
   const SInputStream& getInputStream();
   const SOutputStream& getOutputStream();
 private:
-  void SSocket::openSocket(SOutputStream* o);
+  void openSocket(SOutputStream* o);
   unsigned int address[6]; // Four is used now.
   SString host;
   int port;
--- ./stoolkit/SBMap.h~ 2006-03-15 15:28:25.000000000 +0000
+++ ./stoolkit/SBMap.h  2006-03-15 15:28:40.000000000 +0000
@@ -167,7 +167,7 @@
 
   void buildStateMachine ();
   int  serialize (SString* fd, SFileFormat format, int last=0);
-  int SBMapItem::getSerializeSize ();
+  int getSerializeSize ();
 
 
   // Get rid of the state machine.
@@ -314,8 +314,8 @@
     return (unsigned int) maps[mapIndex]->outWordSize;
   }
 
-  bool SBMap::makeUnicodeMap ();
-  bool SBMap::makeStraightMap ();
+  bool makeUnicodeMap ();
+  bool makeStraightMap ();
 
   // Return max index
   int getSize (int index=-1);
--- ./stoolkit/STextData.h~     2006-03-15 15:28:56.000000000 +0000
+++ ./stoolkit/STextData.h      2006-03-15 15:29:00.000000000 +0000
@@ -132,8 +132,8 @@
 
   void setLineBreaks (unsigned int line, const SV_UCS4& breaks);
 
-  bool STextData::getInitialLR() const;
-  void STextData::setInitialLR(bool lr);
+  bool getInitialLR() const;
+  void setInitialLR(bool lr);
 
 private:
   SS_Embedding         embedding;

-- 
Martin Michlmayr
http://www.cyrius.com/


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

Reply via email to