1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

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
This commit is contained in:
Piotr Kubaj 2019-05-01 17:33:45 +00:00
parent 8e56607a16
commit 7b61bd67bd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500598
2 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -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>