[arch-commits] Commit in dosbox/repos (3 files)

Eric Belanger eric at archlinux.org
Wed Jun 25 21:44:15 UTC 2008


    Date: Wednesday, June 25, 2008 @ 17:44:15
  Author: eric
Revision: 3587

Merged revisions 2-3586 via svnmerge from 
svn+ssh://svn.archlinux.org/home/svn-packages/dosbox/trunk

........
  r356 | aaron | 2008-04-18 18:56:27 -0400 (Fri, 18 Apr 2008) | 1 line
  
  Added svn:keywords to all PKGBUILDs
........
  r3569 | james | 2008-06-25 06:44:28 -0400 (Wed, 25 Jun 2008) | 2 lines
  
  upgpkg: dosbox 0.72-4
      Fix for GCC4.3 and close FS#10732
........
  r3586 | eric | 2008-06-25 17:44:01 -0400 (Wed, 25 Jun 2008) | 2 lines
  
  upgpkg: dosbox 0.72-4
      added missing patch, cleaned up depends
........

Added:
  dosbox/repos/extra-x86_64/dosbox-0.72+gcc-4.3.patch
    (from rev 3586, dosbox/trunk/dosbox-0.72+gcc-4.3.patch)
Modified:
  dosbox/repos/extra-x86_64/	(properties)
  dosbox/repos/extra-x86_64/PKGBUILD

---------------------------+
 PKGBUILD                  |   14 +++++++------
 dosbox-0.72+gcc-4.3.patch |   45 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+), 6 deletions(-)


Property changes on: dosbox/repos/extra-x86_64
___________________________________________________________________
Name: svnmerge-integrated
   - /dosbox/trunk:1
   + /dosbox/trunk:1-3586

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2008-06-25 21:44:01 UTC (rev 3586)
+++ extra-x86_64/PKGBUILD	2008-06-25 21:44:15 UTC (rev 3587)
@@ -4,22 +4,24 @@
 
 pkgname=dosbox
 pkgver=0.72
-pkgrel=3
+pkgrel=4
 pkgdesc="An emulator with builtin DOS for running DOS Games"
 arch=(i686 x86_64)
 url="http://dosbox.sourceforge.net/"
 license=('GPL')
-depends=('sdl_net' 'sdl_sound' 'libgl' 'libpng' 'alsa-lib' 'libgl')
-source=(http://heanet.dl.sourceforge.net/sourceforge/dosbox/$pkgname-$pkgver.tar.gz)
+depends=('sdl_net' 'sdl_sound' 'libgl' 'libpng' 'alsa-lib' 'gcc-libs')
+source=(http://heanet.dl.sourceforge.net/sourceforge/dosbox/$pkgname-$pkgver.tar.gz \
+dosbox-0.72+gcc-4.3.patch )
+md5sums=('262939cc28966c1f9b07c2bc472b699f' 'd0cf64f78ba1a4a85981c421ee04fd22')
 
-
 build()
 {
   cd $startdir/src/$pkgname-$pkgver
+  patch -p1 -i $startdir/src/dosbox-0.72+gcc-4.3.patch || return 1
   ./configure --prefix=/usr --sysconfdir=/etc/dosbox
+  # Fix invalid permissions FS#10732
+  chmod 755 $startdir/pkg/usr/man/man1
   make || return 1
   make prefix=$startdir/pkg/usr install
 }
 # vim: ts=2 sw=2 et ft=sh
-
-md5sums=('262939cc28966c1f9b07c2bc472b699f')

Copied: dosbox/repos/extra-x86_64/dosbox-0.72+gcc-4.3.patch (from rev 3586, dosbox/trunk/dosbox-0.72+gcc-4.3.patch)
===================================================================
--- extra-x86_64/dosbox-0.72+gcc-4.3.patch	                        (rev 0)
+++ extra-x86_64/dosbox-0.72+gcc-4.3.patch	2008-06-25 21:44:15 UTC (rev 3587)
@@ -0,0 +1,45 @@
+diff -ur /tmp/dosbox-0.72/src/dos/cdrom_image.cpp dosbox-0.72/src/dos/cdrom_image.cpp
+--- /tmp/dosbox-0.72/src/dos/cdrom_image.cpp	2007-08-22 13:54:35.000000000 +0200
++++ dosbox-0.72/src/dos/cdrom_image.cpp	2008-03-06 21:30:00.000000000 +0100
+@@ -23,7 +23,7 @@
+ #include <cstdio>
+ #include <fstream>
+ #include <iostream>
+-#include <limits.h>
++#include <limits>
+ #include <sstream>
+ #include <vector>
+ #include <sys/stat.h>
+diff -ur /tmp/dosbox-0.72/src/hardware/gameblaster.cpp dosbox-0.72/src/hardware/gameblaster.cpp
+--- /tmp/dosbox-0.72/src/hardware/gameblaster.cpp	2007-01-10 11:17:37.000000000 +0100
++++ dosbox-0.72/src/hardware/gameblaster.cpp	2008-03-06 21:31:32.000000000 +0100
+@@ -24,6 +24,7 @@
+ #include "hardware.h"
+ #include "setup.h"
+ #include "pic.h"
++#include <cstring>
+ 
+ #define LEFT	0x00
+ #define RIGHT	0x01
+diff -ur /tmp/dosbox-0.72/src/hardware/tandy_sound.cpp dosbox-0.72/src/hardware/tandy_sound.cpp
+--- /tmp/dosbox-0.72/src/hardware/tandy_sound.cpp	2007-06-29 20:21:12.000000000 +0200
++++ dosbox-0.72/src/hardware/tandy_sound.cpp	2008-03-06 21:32:02.000000000 +0100
+@@ -28,6 +28,7 @@
+ #include "setup.h"
+ #include "pic.h"
+ #include "dma.h"
++#include <cstring>
+ 
+ #define DAC_CLOCK 3570000
+ #define MAX_OUTPUT 0x7fff
+diff -ur /tmp/dosbox-0.72/src/shell/shell_cmds.cpp dosbox-0.72/src/shell/shell_cmds.cpp
+--- /tmp/dosbox-0.72/src/shell/shell_cmds.cpp	2007-08-17 19:58:46.000000000 +0200
++++ dosbox-0.72/src/shell/shell_cmds.cpp	2008-03-06 21:32:47.000000000 +0100
+@@ -27,6 +27,7 @@
+ #include "regs.h"
+ #include "../dos/drives.h"
+ #include "support.h"
++#include <cstdlib>
+ 
+ static SHELL_Cmd cmd_list[]={
+ {	"CHDIR",	1,			&DOS_Shell::CMD_CHDIR,		"SHELL_CMD_CHDIR_HELP"},





More information about the arch-commits mailing list