mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
system/dosbox: Updated for version 0.74.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
4f3fbcda5d
commit
5482f634d2
3 changed files with 9 additions and 21 deletions
|
@ -1,10 +0,0 @@
|
||||||
--- include/dos_inc.h.old 2011-04-28 08:46:04.505011354 +0200
|
|
||||||
+++ include/dos_inc.h 2011-04-28 08:46:27.104408178 +0200
|
|
||||||
@@ -21,6 +21,7 @@
|
|
||||||
#ifndef DOSBOX_DOS_INC_H
|
|
||||||
#define DOSBOX_DOS_INC_H
|
|
||||||
|
|
||||||
+#include <cstddef>
|
|
||||||
#ifndef DOSBOX_DOS_SYSTEM_H
|
|
||||||
#include "dos_system.h"
|
|
||||||
#endif
|
|
|
@ -28,8 +28,9 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=dosbox
|
PRGNAM=dosbox
|
||||||
VERSION=${VERSION:-0.74}
|
VERSION=${VERSION:-0.74.2}
|
||||||
BUILD=${BUILD:-2}
|
SRCVER=$(sed 's/\(.*\)\./\1-/' <<< $VERSION)
|
||||||
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -64,9 +65,9 @@ set -e
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$SRCVER
|
||||||
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
|
tar -xzvf $CWD/$PRGNAM-$SRCVER.tar.gz
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$SRCVER
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find -L . \
|
find -L . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||||
|
@ -74,9 +75,6 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
# Fix building with gcc>= 4.6.x, thanks to gentoo people
|
|
||||||
patch -p0 < $CWD/dosbox-0.74-gcc46.patch
|
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="dosbox"
|
PRGNAM="dosbox"
|
||||||
VERSION="0.74"
|
VERSION="0.74.2"
|
||||||
HOMEPAGE="http://dosbox.sourceforge.net"
|
HOMEPAGE="http://dosbox.sourceforge.net"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/dosbox/dosbox-0.74.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/dosbox/dosbox-0.74-2.tar.gz"
|
||||||
MD5SUM="b9b240fa87104421962d14eee71351e8"
|
MD5SUM="7110ee24a45a2b4951ad52eb1a3722be"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in a new issue