From owner-dev-commits-ports-all@freebsd.org Thu Aug 19 06:19:03 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 13AAF65E44D; Thu, 19 Aug 2021 06:19:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gqvjg0152z3KcW; Thu, 19 Aug 2021 06:19:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DD4EF20169; Thu, 19 Aug 2021 06:19:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 17J6J2k5021273; Thu, 19 Aug 2021 06:19:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17J6J2U1021272; Thu, 19 Aug 2021 06:19:02 GMT (envelope-from git) Date: Thu, 19 Aug 2021 06:19:02 GMT Message-Id: <202108190619.17J6J2U1021272@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Fernando Apestegu=C3=ADa?= Subject: git: 9ff864cb1487 - main - graphics/tumble: Unbreak with -fno-common MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9ff864cb14876ee8dba7900e3afb7169e449b5f4 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2021 06:19:03 -0000 The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=9ff864cb14876ee8dba7900e3afb7169e449b5f4 commit 9ff864cb14876ee8dba7900e3afb7169e449b5f4 Author: Robert Clausecker AuthorDate: 2021-08-18 08:57:32 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2021-08-19 06:14:01 +0000 graphics/tumble: Unbreak with -fno-common Submitter becomes MAINTAINER. Already maintainer of several ports. Ref: https://github.com/brouhaha/tumble/issues/10 PR: 257913 MFH: 2021Q3 --- graphics/tumble/Makefile | 11 +++++------ graphics/tumble/files/patch-semantics.c | 11 +++++++++++ graphics/tumble/files/patch-tumble__input.h | 8 ++++++++ 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/graphics/tumble/Makefile b/graphics/tumble/Makefile index df4ba6c30ddc..545a8fa9d2b8 100644 --- a/graphics/tumble/Makefile +++ b/graphics/tumble/Makefile @@ -1,19 +1,18 @@ # Created by: Rob Farmer PORTNAME= tumble -PORTVERSION= 0.36 DISTVERSIONPREFIX= v +DISTVERSION= 0.36 +PORTREVISION= 1 CATEGORIES= graphics print -MAINTAINER= ports@FreeBSD.org +MAINTAINER= fuz@fuz.su COMMENT= Creates a PDF file from image files LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_FreeBSD_13= ld: error: duplicate symbol: blank_handler -BROKEN_FreeBSD_14= ld: error: duplicate symbol: blank_handler -NOT_FOR_ARCHS= powerpc sparc64 +NOT_FOR_ARCHS= mips mips64 powerpc powerpc64 powerpcspe sparc64 NOT_FOR_ARCHS_REASON= Only works on little endian systems LIB_DEPENDS= libtiff.so:graphics/tiff \ @@ -26,8 +25,8 @@ GH_ACCOUNT= brouhaha CFLAGS+= -I${LOCALBASE}/include/netpbm -PORTDOCS= README PLIST_FILES= bin/tumble +PORTDOCS= README OPTIONS_DEFINE= DOCS diff --git a/graphics/tumble/files/patch-semantics.c b/graphics/tumble/files/patch-semantics.c new file mode 100644 index 000000000000..4e6e5d7d71bb --- /dev/null +++ b/graphics/tumble/files/patch-semantics.c @@ -0,0 +1,11 @@ +--- semantics.c.orig 2021-08-17 12:37:41 UTC ++++ semantics.c +@@ -119,7 +119,7 @@ typedef struct output_page_t + #endif + + +-FILE *yyin; ++extern FILE *yyin; + int line; /* line number in spec file */ + + int bookmark_level; diff --git a/graphics/tumble/files/patch-tumble__input.h b/graphics/tumble/files/patch-tumble__input.h new file mode 100644 index 000000000000..cbac30796308 --- /dev/null +++ b/graphics/tumble/files/patch-tumble__input.h @@ -0,0 +1,8 @@ +--- tumble_input.h.orig 2021-08-17 12:36:31 UTC ++++ tumble_input.h +@@ -71,4 +71,4 @@ void init_jpeg_handler (void); + void init_pbm_handler (void); + void init_png_handler (void); + +-input_handler_t blank_handler; ++extern input_handler_t blank_handler;