diff options
author | Matteo Bernardini | 2018-02-06 19:50:46 +0100 |
---|---|---|
committer | Matteo Bernardini | 2018-06-09 08:30:39 +0200 |
commit | 97f4da0161c7d6c5f7a795e70c4c405abb353b20 (patch) | |
tree | dc4a6f84b7046bc8ba624df19b40423841087d2e | |
parent | 81c344443219574587ae3d6bccb8f19c1bd346af (diff) | |
download | old.slackbuilds-libgnomeui.tar.gz |
libraries/libgnomeui: Fix source files encoding.libgnomeui
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r-- | libraries/libgnomeui/libgnomeui.SlackBuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libraries/libgnomeui/libgnomeui.SlackBuild b/libraries/libgnomeui/libgnomeui.SlackBuild index d048a25b90..948f6d7fdc 100644 --- a/libraries/libgnomeui/libgnomeui.SlackBuild +++ b/libraries/libgnomeui/libgnomeui.SlackBuild @@ -69,6 +69,12 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# https://github.com/voidlinux/void-packages/commit/f16a2d557e84f5d7f5ece8b2022aab4fd17aa0ce +for f in $(find . -type f -exec file "{}" \; | grep "C source" | cut -d ':' -f1); do + echo "${f}" + recode ISO-8859-1..UTF-8 "${f}" +done + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ |