« Return to Thread: [Bug 1681] GnuPG Plugin does not compile on solaris

[Bug 1681] GnuPG Plugin does not compile on solaris

by Bugzilla from noreply@thewildbeast.co.uk :: Rate this Message:

Reply to Author | View in Thread

http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=1681

           Summary: GnuPG Plugin does not compile on solaris
           Product: Claws Mail
           Version: 3.5.0
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Plugins/Privacy
        AssignedTo: claws-mail-users@...
        ReportedBy: wiegner@...


The gpg plugin does not compile on solaris.
(Tested on SunOS 5.8 and 5.9)

pgp_viewer.c: In function `pgpview_show_mime_part':
pgp_viewer.c:170: warning: implicit declaration of function `kill'
pgp_viewer.c:170: error: `SIGTERM' undeclared (first use in this function)
pgp_viewer.c:170: error: (Each undeclared identifier is reported only once
pgp_viewer.c:170: error: for each function it appears in.)
pgp_viewer.c:174: error: `SIGKILL' undeclared (first use in this function)
make: *** [pgp_viewer.lo] Error 1

This patch fixed the issue

--- sgpgme.c_org        2008-07-23 11:06:44.761745000 +0200
+++ sgpgme.c    2008-07-23 11:07:33.760282000 +0200
@@ -36,7 +36,7 @@
 #ifndef G_OS_WIN32
 #  include <sys/wait.h>
 #endif
-#if (defined(__DragonFly__) || defined (__NetBSD__) || defined (__FreeBSD__)
|| defined (__OpenBSD__))
+#if (defined(__DragonFly__) || defined (SOLARIS) || defined (__NetBSD__) ||
defined (__FreeBSD__) || defined (__OpenBSD__))
 #  include <sys/signal.h>
 #endif
 #ifndef G_OS_WIN32
--- pgp_viewer.c_org    2008-07-23 11:09:35.406683000 +0200
+++ pgp_viewer.c        2008-07-23 11:09:52.666110000 +0200
@@ -29,7 +29,7 @@
 #ifndef G_OS_WIN32
 #  include <sys/wait.h>
 #endif
-#if (defined(__DragonFly__) || defined (__NetBSD__) || defined (__FreeBSD__)
|| defined (__OpenBSD__))
+#if (defined(__DragonFly__) || defined (SOLARIS) || defined (__NetBSD__) ||
defined (__FreeBSD__) || defined (__OpenBSD__))
 #  include <sys/signal.h>
 #endif


--
Configure bugmail: http://www.thewildbeast.co.uk/claws-mail/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: claws-mail-users-unsubscribe@...
For additional commands, e-mail: claws-mail-users-help@...

 « Return to Thread: [Bug 1681] GnuPG Plugin does not compile on solaris

LightInTheBox - Buy quality products at wholesale price!