diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-23 01:15:48 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-26 01:20:10 +0700 |
commit | f58774faa258a289bf7e1c60e01ac91b9c1dfd6f (patch) | |
tree | 75dccdd3af0ea6012833914cb38ba08d8e83306a /network/pidgin-musictracker/pidgin-musictracker.SlackBuild | |
parent | 3c9559c13a6d59444b9a15982c6f1f74580d6b25 (diff) |
network/pidgin-musictracker: Fix 32-bit build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/pidgin-musictracker/pidgin-musictracker.SlackBuild')
-rw-r--r-- | network/pidgin-musictracker/pidgin-musictracker.SlackBuild | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/network/pidgin-musictracker/pidgin-musictracker.SlackBuild b/network/pidgin-musictracker/pidgin-musictracker.SlackBuild index 7b66d1af26e16..a220494b4c9c4 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 \ |