diff options
author | Matteo Bernardini | 2018-12-15 17:18:09 +0100 |
---|---|---|
committer | Matteo Bernardini | 2018-12-15 17:18:09 +0100 |
commit | 62c0270ef676a18dccbcc2b475323b66fadee9c5 (patch) | |
tree | 91a0a03eaf45184ecbe60e542e59484e45df75c8 /libraries/live555 | |
parent | 9580ce08a1979e8bb9079d1bae7b1eafcc58b611 (diff) | |
download | slackbuilds-current-20181215.1.tar.gz |
20181215.1 global branch merge.current-20181215.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/live555')
-rw-r--r-- | libraries/live555/live555.SlackBuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/live555/live555.SlackBuild b/libraries/live555/live555.SlackBuild index 49941761da..061852f7b1 100644 --- a/libraries/live555/live555.SlackBuild +++ b/libraries/live555/live555.SlackBuild @@ -62,6 +62,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# This header isn't shipped in glibc >= 2.26 anymore +# https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27 +sed -i 's/#include <xlocale.h>.*/#include <locale.h>/' liveMedia/include/Locale.hh + for f in $(find . -type f |xargs grep -l "PREFIX =") ; do echo $f; sed -i -e "/PREFIX =/c\PREFIX = \/usr" $f ; done for f in $(find . -type f |xargs grep -l "LIBDIR =") ; do echo $f; sed -i -e "/LIBDIR =/c\LIBDIR = \$(PREFIX)\/lib$LIBDIRSUFFIX" $f ; done |