mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
[skip-ci] dosbox: update to 0.74.2
This commit is contained in:
parent
9ce4c6119d
commit
f1f586a5ff
@ -1,38 +1,35 @@
|
||||
pkgname=dosbox
|
||||
pkgver=0.74
|
||||
pkgrel=7
|
||||
pkgver=0.74.2
|
||||
pkgrel=1
|
||||
pkgdesc="An emulator with builtin DOS for running DOS Games"
|
||||
arch=('x86_64')
|
||||
url="http://dosbox.sourceforge.net/"
|
||||
url='https://www.dosbox.com/'
|
||||
license=('GPL')
|
||||
depends=('sdl_net' 'sdl_sound' 'libgl' 'libpng' 'alsa-lib' 'gcc-libs' 'zlib' 'glu')
|
||||
makedepends=('mesa-libgl' 'gendesk')
|
||||
categories=('games' 'system')
|
||||
source=("http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz"
|
||||
'dosbox.png'
|
||||
'gcc46.patch')
|
||||
md5sums=('b9b240fa87104421962d14eee71351e8'
|
||||
'2aac25fc06979e375953fcc36824dc5e'
|
||||
'3fba2e3c7c43290319b2928f40ed30e5')
|
||||
source=("https://downloads.sourceforge.net/${pkgname}/$pkgname-0.74-2.tar.gz"
|
||||
'dosbox.png')
|
||||
md5sums=('7110ee24a45a2b4951ad52eb1a3722be'
|
||||
'2aac25fc06979e375953fcc36824dc5e')
|
||||
|
||||
prepare() {
|
||||
cd ${srcdir}
|
||||
gendesk --pkgname "${pkgname}" --pkgdesc "${pkgdesc}"
|
||||
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
patch -Np1 -i "$srcdir/gcc46.patch"
|
||||
cd ${srcdir}/${pkgname}-0.74-2
|
||||
sed -i 's/png_check_sig/png_sig_cmp/' configure
|
||||
}
|
||||
|
||||
build(){
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
cd ${srcdir}/${pkgname}-0.74-2
|
||||
|
||||
./configure --prefix=/usr --sysconfdir=/etc/dosbox
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
cd ${srcdir}/${pkgname}-0.74-2
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
# install docs, make does not install them
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -aur dosbox-0.74/include/dos_inc.h dosbox-0.74.new//include/dos_inc.h
|
||||
--- dosbox-0.74/include/dos_inc.h 2010-05-10 17:43:54.000000000 +0000
|
||||
+++ dosbox-0.74.new//include/dos_inc.h 2011-06-17 20:42:43.982548979 +0000
|
||||
@@ -28,6 +28,8 @@
|
||||
#include "mem.h"
|
||||
#endif
|
||||
|
||||
+#include <stddef.h> //for offsetof
|
||||
+
|
||||
#ifdef _MSC_VER
|
||||
#pragma pack (1)
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user