Date: Thu, 4 Aug 2005 20:43:06 +0200 From: "Pawel Pekala" <c0rn@gazeta.pl> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Cc: corecode@corcode.ath.cx Subject: ports/84558: [patch] sylpheed-claws 1.9.13 fails to build on 4.x Message-ID: <1123180986.0@ph240.swidnica.sdi.tpnet.pl> Resent-Message-ID: <200508041850.j74IoDlW022858@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 84558 >Category: ports >Synopsis: [patch] sylpheed-claws 1.9.13 fails to build on 4.x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 04 18:50:13 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Pawel Pekala >Release: FreeBSD 4.11-RELEASE-p11 i386 >Organization: >Environment: System: FreeBSD 4.11-RELEASE-p11 #9: Thu Jun 30 20:16:52 CEST 2005 root@ph240.swidnica.sdi.tpnet.pl:/usr/obj/usr/src/sys/CORN >Description: Attached patch fixes : - OPENSSLINC seems to be not defined causing -I gcc option without argument which confuses compiler - adds misplaced/missing : #include <pthread.h> patches >How-To-Repeat: >Fix: --- sylpheed-claws.diff begins here --- diff -urN -x work /usr/ports/mail/sylpheed-claws/Makefile tmp/sylpheed-claws/Makefile --- /usr/ports/mail/sylpheed-claws/Makefile Sat Jul 30 19:36:02 2005 +++ tmp/sylpheed-claws/Makefile Thu Aug 4 20:28:23 2005 @@ -7,6 +7,7 @@ PORTNAME= sylpheed-claws PORTVERSION= 1.9.13 +PORTEPOCH= 1 CATEGORIES= mail news ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= sylpheed-claws @@ -41,9 +42,12 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \ - OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" + +.if defined(OPENSSLINC) +CONFIGURE_ENV+= OPENSSL_FLAGS="-I{OPENSSLINC}" +.endif OPTIONS= ALL "Enable all options." off \ ASPELL "Enable spell checking support." on \ diff -urN -x work /usr/ports/mail/sylpheed-claws/files/patch-src_etpan_etpan-thread-manager.c tmp/sylpheed-claws/files/patch-src_etpan_etpan-thread-manager.c --- /usr/ports/mail/sylpheed-claws/files/patch-src_etpan_etpan-thread-manager.c Thu Jan 1 01:00:00 1970 +++ tmp/sylpheed-claws/files/patch-src_etpan_etpan-thread-manager.c Thu Aug 4 19:25:10 2005 @@ -0,0 +1,14 @@ +--- src/etpan/etpan-thread-manager.c.old Thu Aug 4 18:58:34 2005 ++++ src//etpan/etpan-thread-manager.c Thu Aug 4 18:59:33 2005 +@@ -4,10 +4,10 @@ + + #ifdef HAVE_LIBETPAN + ++#include <pthread.h> + #include "etpan-thread-manager.h" + + #include <stdlib.h> +-#include <pthread.h> + #include <libetpan/mailsem.h> + #include <semaphore.h> + #include <unistd.h> diff -urN -x work /usr/ports/mail/sylpheed-claws/files/patch-src_etpan_imap-thread.c tmp/sylpheed-claws/files/patch-src_etpan_imap-thread.c --- /usr/ports/mail/sylpheed-claws/files/patch-src_etpan_imap-thread.c Sat Jul 30 13:01:08 2005 +++ tmp/sylpheed-claws/files/patch-src_etpan_imap-thread.c Thu Aug 4 19:23:33 2005 @@ -1,6 +1,11 @@ ---- src/etpan/imap-thread.c.orig Sat Jul 30 11:57:41 2005 -+++ src/etpan/imap-thread.c Sat Jul 30 11:58:06 2005 -@@ -8,6 +8,7 @@ +--- src/etpan/imap-thread.c.orig Fri Jul 22 13:30:23 2005 ++++ src/etpan/imap-thread.c Thu Aug 4 19:02:48 2005 +@@ -4,10 +4,12 @@ + + #ifdef HAVE_LIBETPAN + ++#include <pthread.h> + #include "imap-thread.h" #include <imap.h> #include <sys/types.h> #include <sys/stat.h> --- sylpheed-claws.diff ends here --- -- Tylko w sierpniu Avanti także w wersji MINI - z łatwością zmieści się w torebce! http://www.avantimoda.pl >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1123180986.0>