Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2019 17:33:46 +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: r500598 - in head/sysutils/fusefs-pod: . files
Message-ID:  <201905011733.x41HXktb038886@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed May  1 17:33:45 2019
New Revision: 500598
URL: https://svnweb.freebsd.org/changeset/ports/500598

Log:
  sysutils/fusefs-pod: fix build with GCC-based architectures
  
  Switch to GCC from ports on GCC architectures to fix linking and include strings.h in src/fusepod_util.h to find strcasecmp:
  /usr/local/lib/libtag.so: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find_last_not_of(wchar_t const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
  
  PR:		237157
  Approved by:	mat (mentor), fjoe (maintainer timeout)
  Differential Revision:	https://reviews.freebsd.org/D20113

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

Modified: head/sysutils/fusefs-pod/Makefile
==============================================================================
--- head/sysutils/fusefs-pod/Makefile	Wed May  1 17:07:28 2019	(r500597)
+++ head/sysutils/fusefs-pod/Makefile	Wed May  1 17:33:45 2019	(r500598)
@@ -15,7 +15,7 @@ COMMENT=	FUSE-based filesystem for iPod
 LIB_DEPENDS=	libgpod.so:audio/libgpod\
 		libtag.so:audio/taglib
 
-USES=		fuse pkgconfig tar:bzip2
+USES=		compiler:c++11-lang fuse pkgconfig tar:bzip2
 GNU_CONFIGURE=	yes
 PLIST_FILES=	bin/fusepod man/man1/fusepod.1.gz
 

Added: head/sysutils/fusefs-pod/files/patch-src_fusepod__util.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/fusefs-pod/files/patch-src_fusepod__util.h	Wed May  1 17:33:45 2019	(r500598)
@@ -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?201905011733.x41HXktb038886>