mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
libraries/fox-toolkit: Miscellaneous cleanups.
This commit is contained in:
parent
86d5f64533
commit
9141ce8376
2 changed files with 11 additions and 25 deletions
|
@ -1,20 +0,0 @@
|
|||
--- xfe-1.32.1_orig/src/xfeutils.cpp 2009-11-09 14:17:17.000000000 -0200
|
||||
+++ xfe-1.32.1/src/xfeutils.cpp 2010-02-17 00:39:22.000000000 -0200
|
||||
@@ -512,7 +512,7 @@
|
||||
|
||||
|
||||
// Replacement of the stat function
|
||||
-inline FXint statrep(const FXchar* filename, struct stat* buf)
|
||||
+FXint statrep(const FXchar* filename, struct stat* buf)
|
||||
{
|
||||
#if defined(linux)
|
||||
|
||||
@@ -546,7 +546,7 @@
|
||||
|
||||
|
||||
// Replacement of the lstat function
|
||||
-inline FXint lstatrep(const FXchar* filename, struct stat* buf)
|
||||
+FXint lstatrep(const FXchar* filename, struct stat* buf)
|
||||
{
|
||||
#if defined(linux)
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for fox-toolkit
|
||||
|
||||
# Copyright 2006-2010 Robby Workman, Northport, AL, USA
|
||||
# Copyright 2006,2007,2008,2009,2010 Robby Workman, Northport, AL, USA
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -24,10 +24,19 @@
|
|||
|
||||
PRGNAM=fox-toolkit
|
||||
VERSION=1.6.37
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) export ARCH=i486 ;;
|
||||
arm*) export ARCH=arm ;;
|
||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||
*) export ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
|
@ -75,9 +84,6 @@ if [ "$OPENGL" = "YES" ]; then
|
|||
do_opengl="no"
|
||||
fi
|
||||
|
||||
# Uncomment this line to build on -current
|
||||
#patch -p1 < $CWD/FXint-no_inline.diff
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
Loading…
Reference in a new issue