aboutsummaryrefslogtreecommitdiff
path: root/network/pidgin-musictracker/pidgin-musictracker.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/pidgin-musictracker/pidgin-musictracker.SlackBuild')
-rw-r--r--network/pidgin-musictracker/pidgin-musictracker.SlackBuild21
1 files changed, 8 insertions, 13 deletions
diff --git a/network/pidgin-musictracker/pidgin-musictracker.SlackBuild b/network/pidgin-musictracker/pidgin-musictracker.SlackBuild
index 7b66d1af26e1..a220494b4c9c 100644
--- a/network/pidgin-musictracker/pidgin-musictracker.SlackBuild
+++ b/network/pidgin-musictracker/pidgin-musictracker.SlackBuild
@@ -21,6 +21,9 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220323 bkw: Modified by SlackBuilds.org: fix 32-bit build (it needs
+# --disable-werror).
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pidgin-musictracker
@@ -37,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -76,18 +76,13 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS \
- -Wno-error=deprecated-declarations \
- -Wno-error=expansion-to-defined \
- -Wno-error=implicit-fallthrough= \
- -Wno-error=format-truncation= \
- -Wno-error=stringop-truncation \
- -fcommon" \
+ -exec chmod 644 {} \+
+
+CFLAGS="$SLKCFLAGS -fcommon" \
./configure \
+ --disable-werror \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \