aboutsummaryrefslogtreecommitdiff
path: root/libraries/libgnomeui
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2018-02-06 19:50:46 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:38:51 -0500
commitb71ce65154d523dc4fa8269bc38ddc9b321eebf3 (patch)
tree3ff0e1b046028b7b37337f710b077676941905fd /libraries/libgnomeui
parentf08a0bc2946eb5e88f0f28ce9c560803a8df3146 (diff)
libraries/libgnomeui: Fix source files encoding.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libgnomeui')
-rw-r--r--libraries/libgnomeui/libgnomeui.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/libraries/libgnomeui/libgnomeui.SlackBuild b/libraries/libgnomeui/libgnomeui.SlackBuild
index d048a25b906b7..948f6d7fdcdae 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 \