From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 22 23:40:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A3C95C76 for ; Mon, 22 Jul 2013 23:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 887A42AB8 for ; Mon, 22 Jul 2013 23:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r6MNe1iu009546 for ; Mon, 22 Jul 2013 23:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r6MNe1Ka009545; Mon, 22 Jul 2013 23:40:01 GMT (envelope-from gnats) Resent-Date: Mon, 22 Jul 2013 23:40:01 GMT Resent-Message-Id: <201307222340.r6MNe1Ka009545@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, John Marino Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9852FC4D for ; Mon, 22 Jul 2013 23:36:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 716412AA3 for ; Mon, 22 Jul 2013 23:36:10 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r6MNa9xj085143 for ; Mon, 22 Jul 2013 23:36:09 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r6MNa9I1085138; Mon, 22 Jul 2013 23:36:09 GMT (envelope-from nobody) Message-Id: <201307222336.r6MNa9I1085138@oldred.freebsd.org> Date: Mon, 22 Jul 2013 23:36:09 GMT From: John Marino To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/180748: [PATCH] Fix for lang/ofc provided X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jul 2013 23:40:01 -0000 >Number: 180748 >Category: ports >Synopsis: [PATCH] Fix for lang/ofc provided >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: Mon Jul 22 23:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: John Marino >Release: >Organization: >Environment: >Description: lang/ofc is does not work with zlib 1.2.7 and higher. Now that FreeBSD (and DragonFly) come with zlib 1.2.8, lang/ofc no longer builds. Add the two attached patches to restore the build by fixing zlib interface. Passes 4X redports with these patches: https://redports.org/buildarchive/20130722221400-45212/ >How-To-Repeat: >Fix: Patch attached with submission follows: Index: lang/ofc/files/patch-ofc_DGZipFile.h =================================================================== --- lang/ofc/files/patch-ofc_DGZipFile.h (revision 0) +++ lang/ofc/files/patch-ofc_DGZipFile.h (working copy) @@ -0,0 +1,19 @@ +--- ofc/DGZipFile.h.orig 2008-08-02 15:15:11.000000000 +0000 ++++ ofc/DGZipFile.h +@@ -46,6 +46,7 @@ + #endif + + #ifdef HAVE_DGZIPFILE ++#include + + // the seek origins + #define DGZ_SEEK_SET (0) // Seek from the start of the file +@@ -114,7 +115,7 @@ + @interface DGZipFile : Object + { + @private +- void *_file; // the file pointer ++ gzFile _file; // the file pointer + } + + #endif Property changes on: lang/ofc/files/patch-ofc_DGZipFile.h ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: lang/ofc/files/patch-ofc_DGZipFile.m =================================================================== --- lang/ofc/files/patch-ofc_DGZipFile.m (revision 0) +++ lang/ofc/files/patch-ofc_DGZipFile.m (working copy) @@ -0,0 +1,22 @@ +--- ofc/DGZipFile.m.orig 2008-08-02 05:58:14.000000000 +0000 ++++ ofc/DGZipFile.m +@@ -31,10 +31,6 @@ + #include + #include + +-#ifdef HAVE_DGZIPFILE +-#include +-#endif +- + #include "ofc/DDatable.h" + + +@@ -123,7 +119,7 @@ + @interface DGZipFile : Object + { + @private +- void *_file; // the file pointer ++ gzFile _file; // the file pointer + } + + #endif Property changes on: lang/ofc/files/patch-ofc_DGZipFile.m ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property >Release-Note: >Audit-Trail: >Unformatted: