[Bug 1681] GnuPG Plugin does not compile on solaris

View: New views
4 Messages — Rating Filter:   Alert me  

[Bug 1681] GnuPG Plugin does not compile on solaris

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

Reply to Author | View Threaded | Show Only this Message

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@...


[Bug 1681] Re: GnuPG Plugin does not compile on solaris

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

Reply to Author | View Threaded | Show Only this Message

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





------- Comment #1 from claws-mail-users@...  2008-07-23 19:55 -------
Changes related to this bug have been committed.
Please check latest CVS and update the bug accordingly.
You can also get the patch from:
http://www.colino.net/claws-mail/

2008-07-23 [colin]      3.5.0cvs31

        * src/plugins/pgpcore/pgp_viewer.c
        * src/plugins/pgpcore/sgpgme.c
                Fix bug 1681, 'GnuPG Plugin does not compile on solaris'
                Patch by Thomas Wiegner <wiegner@...>


--
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@...


[Bug 1681] Re: GnuPG Plugin does not compile on solaris

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

Reply to Author | View Threaded | Show Only this Message

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





------- Comment #2 from wiegner@...  2008-07-24 09:57 -------
Works fine now. Thanks


--
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@...


[Bug 1681] Re: GnuPG Plugin does not compile on solaris

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

Reply to Author | View Threaded | Show Only this Message

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


colin@... changed:

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




--
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@...

LightInTheBox - Buy quality products at wholesale price