From f58774faa258a289bf7e1c60e01ac91b9c1dfd6f Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 23 Mar 2022 01:15:48 -0400 Subject: network/pidgin-musictracker: Fix 32-bit build. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- .../pidgin-musictracker.SlackBuild | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'network/pidgin-musictracker') diff --git a/network/pidgin-musictracker/pidgin-musictracker.SlackBuild b/network/pidgin-musictracker/pidgin-musictracker.SlackBuild index 7b66d1af26..a220494b4c 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 \ -- cgit v1.2.3