Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2019 19:27:28 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500560 - in head/sysutils/fusefs-smbnetfs: . files
Message-ID:  <201904301927.x3UJRSSb042913@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Tue Apr 30 19:27:27 2019
New Revision: 500560
URL: https://svnweb.freebsd.org/changeset/ports/500560

Log:
  sysutils/fusefs-smbnetfs: fix build with GCC-based architectures
  
  This port requires USES=compiler:c11 and including strings.h in one source file to build on GCC architectures.
  event.o:(.text+0x838): undefined reference to `g_atomic_int_get'
  event.o:(.text+0x9c4): undefined reference to `g_atomic_int_get'
  event.o:(.text+0x9dc): undefined reference to `g_atomic_int_set'
  
  PR:		237221
  Approved by:	mi@ALDAN.algebra.com (maintainer timeout), mat (mentor)
  Differential Revision:	https://reviews.freebsd.org/D20108

Added:
  head/sysutils/fusefs-smbnetfs/files/patch-src_fusepod__util.h   (contents, props changed)
Modified:
  head/sysutils/fusefs-smbnetfs/Makefile

Modified: head/sysutils/fusefs-smbnetfs/Makefile
==============================================================================
--- head/sysutils/fusefs-smbnetfs/Makefile	Tue Apr 30 19:25:23 2019	(r500559)
+++ head/sysutils/fusefs-smbnetfs/Makefile	Tue Apr 30 19:27:27 2019	(r500560)
@@ -22,7 +22,7 @@ LIBSECRET_LIB_DEPENDS=	libsecret-*.so:security/libsecr
 
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
 
-USES=		fuse iconv pkgconfig samba:lib tar:bzip2
+USES=		compiler:c11 fuse iconv pkgconfig samba:lib tar:bzip2
 USE_GNOME=	glib20:build
 
 GNU_CONFIGURE=	yes

Added: head/sysutils/fusefs-smbnetfs/files/patch-src_fusepod__util.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/fusefs-smbnetfs/files/patch-src_fusepod__util.h	Tue Apr 30 19:27:27 2019	(r500560)
@@ -0,0 +1,10 @@
+--- src/fusepod_util.h.orig	2019-04-09 11:38:35 UTC
++++ src/fusepod_util.h
+@@ -15,6 +15,7 @@
+ #ifndef _FUSEPOD_UTIL_H_
+ #define _FUSEPOD_UTIL_H_
+ 
++#include <strings.h>
+ #include <vector>
+ #include <string>
+ 



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