svn commit: r500598 - in head/sysutils/fusefs-pod: . files

Piotr Kubaj pkubaj at FreeBSD.org
Wed May 1 17:33:47 UTC 2019


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 at 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>
+ 


More information about the svn-ports-all mailing list