aboutsummaryrefslogtreecommitdiff
path: root/libraries/protobuf-c/protobuf-c.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/protobuf-c/protobuf-c.SlackBuild')
-rw-r--r--libraries/protobuf-c/protobuf-c.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/libraries/protobuf-c/protobuf-c.SlackBuild b/libraries/protobuf-c/protobuf-c.SlackBuild
index 49d1beab69..4d9027670c 100644
--- a/libraries/protobuf-c/protobuf-c.SlackBuild
+++ b/libraries/protobuf-c/protobuf-c.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for protobuf-c
#
-# Copyright 2017-2023 Marek Šrejma <marek@modweb.de>
+# Copyright 2017-2025 Marek Šrejma <marek@modweb.de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=protobuf-c
-VERSION=${VERSION:-1.5.0}
+VERSION=${VERSION:-1.5.1}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -73,8 +73,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 {} \;
-patch -p1 < $CWD/711.patch
+# Fix protobuf 30.x
+patch -p1 < $CWD/762.patch
+autoreconf -vif
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -90,8 +92,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -ar TODO LICENSE README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a TODO LICENSE *.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rm -f $PKG/usr/lib*/*.la