From owner-freebsd-gnome@FreeBSD.ORG Thu Aug 5 14:57:34 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0677516A4CE for ; Thu, 5 Aug 2004 14:57:34 +0000 (GMT) Received: from mercury.ll.net (mercury.ll.net [209.131.224.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9520943D2D for ; Thu, 5 Aug 2004 14:57:28 +0000 (GMT) (envelope-from supraexpress@globaleyes.net) Received: from globaleyes.net (unverified [209.131.253.151]) by mercury.ll.net for ; Thu, 5 Aug 2004 09:57:27 -0500 Message-ID: Date: Thu, 5 Aug 2004 09:57:15 -0500 (CDT) From: supraexpress@globaleyes.net To: gnome@freebsd.org MIME-Version: 1.0 Content-Type: MULTIPART/mixed; BOUNDARY="0-1804289383-1091717846=:53166" Content-Transfer-Encoding: BINARY Subject: balsa-2.2.1 almost compiles X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2004 14:57:34 -0000 --0-1804289383-1091717846=:53166 Content-Type: TEXT/plain; charset=us-ascii I am trying to "upgrade" the FBSD balsa2-2.0.18 port to use balsa-2.2.1 but have run into a snag, as listed below. Attached are three patches that I had to make (don't know if the AF_INET6/POSIX test in "libbalsa/imap/imap-handle.c.diffs" is the proper way to selectively include AF_INET6 or not). I also had to remove the "patch-libmutt_configure" patch as balsa-2.2.1 configure now has the change in question, already included. if gcc -DG_DISABLE_DEPRECATED -I. -I. -I.. -I.. -I.. -I../libbalsa -I../libbalsa/imap -DORBIT2=1 -D_THREAD_SAFE -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/orbit-2.0 -I/usr/local/include/libbonobo-2.0 -I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/libart-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/X11R6/include/libgnome-2.0 -I/usr/X11R6/include/gconf/2 -I/usr/X11R6/include/gnome-vfs-2.0 -I/usr/X11R6/lib/gnome-vfs-2.0/include -I/usr/X11R6/include/libgnomeui-2.0 -I/usr/X11R6/include/libgnomecanvas-2.0 -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/include/libbonoboui-2.0 -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/gnome-vfs-module-2.0 -I/usr/X11R6/include/gmime-2.0 -I/usr/local/include/libart-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxm l2 -I/usr/local/include -I/usr/local/include/atk-1.0 -I/usr/X11R6/include/libgnomeprint-2.2 -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include/libgnomeprintui-2.2 -I/usr/X11R6/include/libgnomecanvas-2.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -O -mcpu=pentiumpro -march=pentiumpro -mcpu=pentiumpro -MT misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o misc.o misc.c; then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo"; exit 1; fi In file included from misc.c:33: /usr/include/sys/file.h:156: error: syntax error before "u_int" *** Error code 1 Stop in /usr/ports/mail/balsa2/work/balsa-2.2.1/libbalsa. *** Error code 1 Stop in /usr/ports/mail/balsa2/work/balsa-2.2.1/libbalsa. --0-1804289383-1091717846=:53166 Content-Type: TEXT/plain; name="imap-handle.c.diffs" Content-Disposition: attachment; filename="imap-handle.c.diffs" *** libbalsa/imap/imap-handle.c.orig Fri Jul 30 01:51:18 2004 --- libbalsa/imap/imap-handle.c Thu Aug 5 09:37:49 2004 *************** *** 22,27 **** --- 22,28 ---- #define _BSD_SOURCE 1 #include #include + #include #include #include #include *************** *** 361,368 **** --- 362,371 ---- fd = socket (cur->ai_family, cur->ai_socktype, cur->ai_protocol); if (fd >= 0) { int sa_size = sizeof (struct sockaddr_in); + #if __POSIX_VISIBLE >= 200112 if (cur->ai_addr->sa_family == AF_INET6) sa_size = sizeof (struct sockaddr_in6); + #endif if ((rc=connect(fd, cur->ai_addr, sa_size)) == 0) { break; } else { --0-1804289383-1091717846=:53166 Content-Type: TEXT/plain; name="mailbox_maildir.c.diffs" Content-Disposition: attachment; filename="mailbox_maildir.c.diffs" *** libbalsa/mailbox_maildir.c.orig Fri Jul 30 01:51:17 2004 --- libbalsa/mailbox_maildir.c Thu Aug 5 09:41:26 2004 *************** *** 31,36 **** --- 31,37 ---- #include #include #include + #include #include "libbalsa.h" #include "misc.h" --0-1804289383-1091717846=:53166 Content-Type: TEXT/plain; name="mailbox_mh.c.diffs" Content-Disposition: attachment; filename="mailbox_mh.c.diffs" *** libbalsa/mailbox_mh.c.orig Fri Jul 30 01:51:18 2004 --- libbalsa/mailbox_mh.c Thu Aug 5 09:43:19 2004 *************** *** 32,37 **** --- 32,38 ---- #include #include #include + #include #include "libbalsa.h" #include "misc.h" --0-1804289383-1091717846=:53166--