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

  Server: cvs.openpkg.org                  Name:   Peter Smej
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   15-Jan-2003 13:44:01
  Branch: HEAD                             Handle: 2003011512440100

  Added files:
    openpkg-src/bochs       bochs.patch
  Modified files:
    openpkg-src/bochs       bochs.spec

  Log:
    Appending bochs patches for FreeBSD5.0

  Summary:
    Revision    Changes     Path
    1.1         +10 -0      openpkg-src/bochs/bochs.patch
    1.7         +4  -2      openpkg-src/bochs/bochs.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/bochs/bochs.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 bochs.patch
  --- /dev/null 2003-01-15 13:44:01.000000000 +0100
  +++ bochs.patch       2003-01-15 13:44:01.000000000 +0100
  @@ -0,0 +1,10 @@
  +--- iodev/cdrom.cc.orig      Wed Jan 15 13:20:58 2003
  ++++ iodev/cdrom.cc   Wed Jan 15 13:21:28 2003
  +@@ -101,6 +101,7 @@
  + #include <sys/cdio.h>
  + #include <sys/ioctl.h>
  + #include <sys/disklabel.h>
  ++#include <arpa/inet.h>
  + 
  + // XXX
  + #define BX_CD_FRAMESIZE 2048
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/bochs/bochs.spec
  ============================================================================
  $ cvs diff -u -r1.6 -r1.7 bochs.spec
  --- openpkg-src/bochs/bochs.spec      5 Jan 2003 07:21:56 -0000       1.6
  +++ openpkg-src/bochs/bochs.spec      15 Jan 2003 12:44:01 -0000      1.7
  @@ -38,6 +38,7 @@
   #   list of sources
   Source0:      
http://osdn.dl.sourceforge.net/sourceforge/bochs/bochs-%{version}.tar.gz
   Source1:      http://osdn.dl.sourceforge.net/sourceforge/bochs/fdos-10meg.tar.gz
  +Patch0:       bochs.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -61,6 +62,8 @@
   %prep
       %setup0 -q
       %setup1 -q -T -D -a 1
  +    %patch0 -p0
  +     
   
       #   remove CVS sub-directories because they would be
       #   picked up by "make install" later.
  @@ -71,7 +74,6 @@
       %{l_shtool} subst \
           -e 's;/etc/bochsrc;%{l_prefix}/etc/bochs/bochsrc;' \
           main.cc
  -
       #   configure the sources
       CC="%{l_cc}" \
       CXX="%{l_cxx}" \
  @@ -149,7 +151,7 @@
   %files -f files
   
   %clean
  -    rm -rf $RPM_BUILD_ROOT
  +#    rm -rf $RPM_BUILD_ROOT
   
   %post
       if [ $1 -eq 1 ]; then
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to