svn commit: r434003 - in head/archivers/fastjar: . files

Tijl Coosemans tijl at FreeBSD.org
Mon Feb 13 16:52:46 UTC 2017


Author: tijl
Date: Mon Feb 13 16:52:44 2017
New Revision: 434003
URL: https://svnweb.freebsd.org/changeset/ports/434003

Log:
  Remove -fPIC and fix the real problem where end_of_entries is sometimes
  declared as unsigned int and sometimes as off_t which have a different
  size and alignment.

Added:
  head/archivers/fastjar/files/
  head/archivers/fastjar/files/patch-jartool.c   (contents, props changed)
Modified:
  head/archivers/fastjar/Makefile

Modified: head/archivers/fastjar/Makefile
==============================================================================
--- head/archivers/fastjar/Makefile	Mon Feb 13 16:49:42 2017	(r434002)
+++ head/archivers/fastjar/Makefile	Mon Feb 13 16:52:44 2017	(r434003)
@@ -3,6 +3,7 @@
 
 PORTNAME=	fastjar
 PORTVERSION=	0.93.20060808
+PORTREVISION=	1
 CATEGORIES=	archivers java
 MASTER_SITES=	LOCAL/maho/fastjar
 
@@ -15,8 +16,6 @@ USES=		gmake makeinfo perl5 tar:bzip2
 USES_PERL5=	build
 GNU_CONFIGURE=	yes
 
-CFLAGS_aarch64=	-fPIC
-
 WRKSRC=		${WRKDIR}/${PORTNAME}
 PORTDOCS=	CHANGES ChangeLog NEWS README
 PLIST_FILES=	bin/fastjar bin/grepjar \

Added: head/archivers/fastjar/files/patch-jartool.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/fastjar/files/patch-jartool.c	Mon Feb 13 16:52:44 2017	(r434003)
@@ -0,0 +1,11 @@
+--- jartool.c.orig	2006-08-07 08:06:23 UTC
++++ jartool.c
+@@ -313,7 +313,7 @@ int number_of_entries; /* number of entr
+ const char *progname;
+ 
+ /* The offset of the end of the last zip entry. */
+-ub4 end_of_entries;
++off_t end_of_entries;
+ 
+ /* This is used to mark options with no short value.  */
+ #define LONG_OPT(Num)  ((Num) + 128)


More information about the svn-ports-head mailing list