Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2021 06:19:02 GMT
From:      =?utf-8?Q?Fernando Apestegu=C3=ADa?= <fernape@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9ff864cb1487 - main - graphics/tumble: Unbreak with -fno-common
Message-ID:  <202108190619.17J6J2U1021272@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9ff864cb14876ee8dba7900e3afb7169e449b5f4

commit 9ff864cb14876ee8dba7900e3afb7169e449b5f4
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2021-08-18 08:57:32 +0000
Commit:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
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 <rfarmer@predatorlabs.net>
 
 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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108190619.17J6J2U1021272>