OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   10-Oct-2003 11:38:44
  Branch: HEAD                             Handle: 2003101010384301

  Added files:
    openpkg-src/gxmame      gxmame.patch
  Modified files:
    openpkg-src/gxmame      gxmame.spec
    openpkg-web             news.txt

  Log:
    adjust it to work again with XMame 0.74.1 and higher

  Summary:
    Revision    Changes     Path
    1.1         +24 -0      openpkg-src/gxmame/gxmame.patch
    1.3         +4  -2      openpkg-src/gxmame/gxmame.spec
    1.6953      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/gxmame/gxmame.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 gxmame.patch
  --- /dev/null 2003-10-10 11:38:44.000000000 +0200
  +++ gxmame.patch      2003-10-10 11:38:44.000000000 +0200
  @@ -0,0 +1,24 @@
  +--- src/options.c.old        2003-06-08 20:48:37.000000000 +0200
  ++++ src/options.c    2003-10-09 20:51:45.000000000 +0200
  +@@ -6555,8 +6555,8 @@
  +                             "-%sanalogstick "
  +                             "%s "                                   /* joy */
  +                             "-%smouse "
  +-                            "-%shotrod "
  +-                            "-%shotrodse "
  ++                            "-%s "                                  /* fixed for 
new hotrod options in mame >= 0.74.1 */
  ++                            "-%s "
  +                             "-%susbpspad "
  +                             "-%srapidfire "
  +                             "%s "                                   /* trackball1 
*/
  +@@ -6571,8 +6571,8 @@
  +                             (target->analogstick)?"":"no",
  +                             joy?joy:"",
  +                             (target->mouse)?"":"no",
  +-                            (target->hotrod)?"":"no",
  +-                            (target->hotrodse)?"":"no",
  ++                            (target->hotrod)?"-ctrlr HotRod":"",
  ++                            (target->hotrodse)?"-ctrlr HotRodSE":"",
  +                             (target->usbpspad)?"":"no",
  +                             (target->rapidfire)?"":"no",
  +                             trackball1?trackball1:"",
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/gxmame/gxmame.spec
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 gxmame.spec
  --- openpkg-src/gxmame/gxmame.spec    14 Aug 2003 13:22:55 -0000      1.2
  +++ openpkg-src/gxmame/gxmame.spec    10 Oct 2003 09:38:44 -0000      1.3
  @@ -33,16 +33,17 @@
   Group:        Games
   License:      GPL
   Version:      0.33
  -Release:      20030814
  +Release:      20031010
   
   #   list of sources
   Source0:      http://osdn.dl.sourceforge.net/gxmame/gxmame-%{version}.tar.gz
  +Patch0:       gxmame.patch
   
   #   build information
   Prefix:       %{l_prefix}
   BuildRoot:    %{l_buildroot}
   BuildPreReq:  OpenPKG, openpkg >= 20030103, gcc
  -PreReq:       OpenPKG, openpkg >= 20030103
  +PreReq:       OpenPKG, openpkg >= 20030103, xmame >= 0.74.1
   BuildPreReq:  X11, gtk, gdk-pixbuf >= 0.22.0-20030721
   PreReq:       X11, gtk, gdk-pixbuf >= 0.22.0-20030721
   AutoReq:      no
  @@ -55,6 +56,7 @@
   
   %prep
       %setup -q
  +    %patch -p0
   
   %build
       CC="%{l_cc}" \
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.6952 -r1.6953 news.txt
  --- openpkg-web/news.txt      10 Oct 2003 06:39:58 -0000      1.6952
  +++ openpkg-web/news.txt      10 Oct 2003 09:38:43 -0000      1.6953
  @@ -1,3 +1,4 @@
  +10-Oct-2003: Upgraded package: P<gxmame-0.33-20031010>
   10-Oct-2003: Upgraded package: P<sysmon-0.91.20-20031010>
   10-Oct-2003: Upgraded package: P<ghostscript-esp-7.07.1-20031010>
   10-Oct-2003: Upgraded package: P<perl-gtk-20031010-20031010>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to