Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2018 11:25:51 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459744 - in head/devel/e2fsprogs-libss: . files
Message-ID:  <201801231125.w0NBPpxE011850@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Tue Jan 23 11:25:51 2018
New Revision: 459744
URL: https://svnweb.freebsd.org/changeset/ports/459744

Log:
  - Unbreak the build on architectures where `size_t' could not be found
  - Umnute pre-build command, it's essential to understand what's going on
  
  Tested on:	powerpc, sparc64

Modified:
  head/devel/e2fsprogs-libss/Makefile
  head/devel/e2fsprogs-libss/files/fix-ss_err.h.sed

Modified: head/devel/e2fsprogs-libss/Makefile
==============================================================================
--- head/devel/e2fsprogs-libss/Makefile	Tue Jan 23 11:23:41 2018	(r459743)
+++ head/devel/e2fsprogs-libss/Makefile	Tue Jan 23 11:25:51 2018	(r459744)
@@ -14,11 +14,6 @@ LICENSE_FILE=	${INSTALL_WRKSRC}/ss.h
 CONFLICTS=	heimdal-[0-9]*
 CONFLICTS+=	krb4-[0-9]*
 
-BROKEN_mips=		Does not build: expected declaration specifiers before size_t
-BROKEN_mips64=		Does not build: expected declaration specifiers before size_t
-BROKEN_powerpc64=	Does not build: expected declaration specifiers before size_t
-BROKEN_sparc64=		Does not build: expected declaration specifiers before size_t
-
 OPTIONS_EXCLUDE=	DOCS EXAMPLES IPV6 NLS
 CONFIGURE_ARGS=	--enable-elf-shlibs
 MASTERDIR=	${.CURDIR}/../../sysutils/e2fsprogs
@@ -31,7 +26,7 @@ FILESDIR=	${.CURDIR}/files
 PKGDIR=		${.CURDIR}
 
 pre-build:
-	@(cd ${WRKSRC}/lib/ss && compile_et ss_err.et && \
+	(cd ${WRKSRC}/lib/ss && compile_et ss_err.et && \
 	${REINPLACE_CMD} -f ${FILESDIR}/fix-ss_err.h.sed ss_err.h)
 
 .include "${MASTERDIR}/Makefile"

Modified: head/devel/e2fsprogs-libss/files/fix-ss_err.h.sed
==============================================================================
--- head/devel/e2fsprogs-libss/files/fix-ss_err.h.sed	Tue Jan 23 11:23:41 2018	(r459743)
+++ head/devel/e2fsprogs-libss/files/fix-ss_err.h.sed	Tue Jan 23 11:25:51 2018	(r459744)
@@ -1,2 +1,3 @@
 /#define __ss_err_h__/a\
+#include <stdio.h>
 #include <com_err.h>



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