This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com | |
# Contributor: Sam Stuewe <halosghost at archlinux dot info> | |
# Contributor: skottish <skottish97215 at gmail com> | |
set -u | |
_pkgname='mt-st' | |
pkgname="${_pkgname}-git" | |
pkgver=1.4.r10.gfbfd923 | |
pkgrel=1 | |
pkgdesc='Utilities for managing magnetic tape storage devices' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/util/WStringAPI.hxx b/src/util/WStringAPI.hxx | |
index 6ed7889..869f058 100644 | |
--- a/src/util/WStringAPI.hxx | |
+++ b/src/util/WStringAPI.hxx | |
@@ -107,8 +107,12 @@ UnsafeCopyStringP(wchar_t *dest, const wchar_t *src) noexcept | |
UnsafeCopyString(dest, src); | |
return dest + StringLength(dest); | |
#else | |
+#if defined(__sun) && defined (__SVR4) | |
+ return std::wcpcpy(dest, src); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gmake V=1 | |
gmake all-am | |
gmake[1]: Entering directory `/develop/source/mpd/MPD' | |
depbase=`echo src/util/WStringCompare.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ | |
g++ -std=c++14 -DHAVE_CONFIG_H -I. -DNDEBUG -I./src -I/develop/source/mpd/boost -DSYSTEM_CONFIG_FILE_LOCATION='"/develop/build/etc/mpd.conf"' -I/usr/include -I/develop/build/include -D_POSIX_PTHREAD_SEMANTICS -pthread -g -O2 -fvisibility=hidden -fno-threadsafe-statics -fmerge-all-constants -ffast-math -ftree-vectorize -ffunction-sections -fdata-sections -Wall -Wextra -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wsign-compare -Wno-noexcept-type -MT src/util/WStringCompare.o -MD -MP -MF $depbase.Tpo -c -o src/util/WStringCompare.o src/util/WStringCompare.cxx &&\ | |
mv -f $depbase.Tpo $depbase.Po | |
In file included from src/util/WStringCompare.hxx:34:0, | |
from src/util/WStringCompare.cxx:30: | |
src/util/WStringAPI.hxx: In function 'wchar_t* UnsafeCopyStringP(wchar_t*, const wchar_t*)': | |
src/util/WStringAPI.hxx:110:26: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./configure \ | |
--strip=gstrip \ | |
--prefix=/develop/build \ | |
--disable-shared \ | |
--enable-static \ | |
--disable-debug \ | |
--disable-avdevice \ | |
--disable-avfilter \ | |
--disable-swscale \ | |
--enable-ffmpeg \ |