diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-02-19 00:01:53 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-19 12:10:42 +0700 |
commit | df3dd3dfe0e92d416ac9603c93f13ed6f91688cf (patch) | |
tree | a5efb73c9a06d3a5348aab88a1f75ea2589e13d4 /system/Attic/Attic.SlackBuild | |
parent | 3e00b4598090a5541443a671bb58337cb7c295b6 (diff) |
system/Attic: Fix build with newer openssl.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/Attic/Attic.SlackBuild')
-rw-r--r-- | system/Attic/Attic.SlackBuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/system/Attic/Attic.SlackBuild b/system/Attic/Attic.SlackBuild index 05f6254f3a..e721261435 100644 --- a/system/Attic/Attic.SlackBuild +++ b/system/Attic/Attic.SlackBuild @@ -73,6 +73,8 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION +# thanks void maintainers +patch -p1 -i $CWD/openssl.diff chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -80,6 +82,11 @@ 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 {} \; +for _file in attic/*.pyx; do + rm ${_file/pyx/c} +done + +python3 setup.py sdist python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |