[Bug 147670] New: Compilation problems on NetBSD in greycstoration

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 147670] New: Compilation problems on NetBSD in greycstoration

Bugzilla from wiz@danbala.tuwien.ac.at
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=147670         
           Summary: Compilation problems on NetBSD in greycstoration
           Product: digikam
           Version: unspecified
          Platform: NetBSD pkgsrc
        OS/Version: NetBSD
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: wiz danbala tuwien ac at


Version:           0.9.2 (using KDE KDE 3.5.7)
Installed from:    NetBSD pkgsrc
Compiler:          gcc (GCC) 4.1.3 20070620 prerelease (NetBSD nb1 20070620)
OS:                NetBSD

The code in digikam/libs/greycstoration has platform checks (ewwww, please use autoconf or cmake for this!) and is missing a case for NetBSD.
I'll attach patches to fix the problem.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 147670] Compilation problems on NetBSD in greycstoration

Bugzilla from wiz@danbala.tuwien.ac.at
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=147670         




------- Additional Comments From wiz danbala tuwien ac at  2007-07-08 10:55 -------
Created an attachment (id=21084)
 --> (http://bugs.kde.org/attachment.cgi?id=21084&action=view)
First part of the patch
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 147670] Compilation problems on NetBSD in greycstoration

Bugzilla from wiz@danbala.tuwien.ac.at
In reply to this post by Bugzilla from wiz@danbala.tuwien.ac.at
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=147670         




------- Additional Comments From wiz danbala tuwien ac at  2007-07-08 10:56 -------
Created an attachment (id=21085)
 --> (http://bugs.kde.org/attachment.cgi?id=21085&action=view)
Second part of the patch
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 147670] Compilation problems on NetBSD in greycstoration

Gilles Caulier-4
In reply to this post by Bugzilla from wiz@danbala.tuwien.ac.at
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=147670         
caulier.gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From caulier.gilles gmail com  2007-07-10 22:56 -------
SVN commit 686232 by cgilles:

digiKam from KDE3 branch : fix NetBSD compatibilty tests
BUG: 147670


 M  +1 -1      CImg.h  
 M  +1 -1      greycstorationiface.cpp  


--- branches/extragear/kde3/graphics/digikam/libs/greycstoration/CImg.h #686231:686232
 @ -77,7 +77,7  @
 // Try to detect the current system and set value of 'cimg_OS'.
 #ifndef cimg_OS
 #if defined(sun)         || defined(__sun)      || defined(linux)       || defined(__linux) \
- || defined(__linux__)   || defined(__CYGWIN__) || defined(BSD)         || defined(__FreeBSD__) \
+ || defined(__linux__)   || defined(__CYGWIN__) || defined(BSD)         || defined(__FreeBSD__) || defined (__NetBSD__) \
  || defined(__OPENBSD__) || defined(__MACOSX__) || defined(__APPLE__)   || defined(sgi) \
  || defined(__sgi)
 // Unix-like (Linux, Solaris, BSD, MacOSX, Irix,...).
--- branches/extragear/kde3/graphics/digikam/libs/greycstoration/greycstorationiface.cpp #686231:686232
 @ -38,7 +38,7  @
 
 #define cimg_plugin "greycstoration.h"
 #if defined(sun)         || defined(__sun)      || defined(linux)       || defined(__linux) \
- || defined(__linux__)   || defined(__CYGWIN__) || defined(BSD)         || defined(__FreeBSD__) \
+ || defined(__linux__)   || defined(__CYGWIN__) || defined(BSD)         || defined(__FreeBSD__) || defined(__NetBSD__)\
  || defined(__OPENBSD__) || defined(__MACOSX__) || defined(__APPLE__)   || defined(sgi) \
  || defined(__sgi)
 #include <pthread.h>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 147670] Compilation problems on NetBSD in greycstoration

Gilles Caulier-4
In reply to this post by Bugzilla from wiz@danbala.tuwien.ac.at
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=147670         




------- Additional Comments From caulier.gilles gmail com  2007-07-10 22:59 -------
SVN commit 686237 by cgilles:

backport NETBSD fix from KDE3 branch
CCBUGS: 147670


 M  +1 -1      CImg.h  
 M  +1 -1      greycstorationiface.cpp  


--- trunk/extragear/graphics/digikam/libs/greycstoration/CImg.h #686236:686237
 @ -77,7 +77,7  @
 // Try to detect the current system and set value of 'cimg_OS'.
 #ifndef cimg_OS
 #if defined(sun)         || defined(__sun)      || defined(linux)       || defined(__linux) \
- || defined(__linux__)   || defined(__CYGWIN__) || defined(BSD)         || defined(__FreeBSD__) \
+ || defined(__linux__)   || defined(__CYGWIN__) || defined(BSD)         || defined(__FreeBSD__) || defined (__NetBSD__) \
  || defined(__OPENBSD__) || defined(__MACOSX__) || defined(__APPLE__)   || defined(sgi) \
  || defined(__sgi)
 // Unix-like (Linux, Solaris, BSD, MacOSX, Irix,...).
--- trunk/extragear/graphics/digikam/libs/greycstoration/greycstorationiface.cpp #686236:686237
 @ -34,7 +34,7  @
 
 #define cimg_plugin "greycstoration.h"
 #if defined(sun)         || defined(__sun)      || defined(linux)       || defined(__linux) \
- || defined(__linux__)   || defined(__CYGWIN__) || defined(BSD)         || defined(__FreeBSD__) \
+ || defined(__linux__)   || defined(__CYGWIN__) || defined(BSD)         || defined(__FreeBSD__) || defined(__NetBSD__)\
  || defined(__OPENBSD__) || defined(__MACOSX__) || defined(__APPLE__)   || defined(sgi) \
  || defined(__sgi)
 #include <pthread.h>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel