#! /bin/sh -e
## 01_starvoyager-gcc_3_2.dpatch by  <idan@tuxbox>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: New patch generated from  diff.gz

if [ $# -ne 1 ]; then
    echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
    exit 1
fi
case "$1" in
    -patch) patch -f --no-backup-if-mismatch -p1 < $0;;
    -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
    *)
        echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
        exit 1;;
esac

exit 0

Common subdirectories: starvoyager-0.4.4.orig/data and starvoyager-0.4.4/data
diff -c starvoyager-0.4.4.orig/graphic.h starvoyager-0.4.4/graphic.h
*** starvoyager-0.4.4.orig/graphic.h	Thu Jul 18 03:16:59 2002
--- starvoyager-0.4.4/graphic.h	Wed Apr 30 09:10:36 2003
***************
*** 6,13 ****
  	If that file is not included with this source then permission is not given to use this source in any way whatsoever.
  */
  
! struct SDL_Surface;
! struct SDL_Rect;
  
  struct sbox //Bounding box on screen
  {
--- 6,12 ----
  	If that file is not included with this source then permission is not given to use this source in any way whatsoever.
  */
  
! #include <SDL_video.h>
  
  struct sbox //Bounding box on screen
  {
diff -bc starvoyager-0.4.4.orig/sound.h starvoyager-0.4.4/sound.h
*** starvoyager-0.4.4.orig/sound.h	Wed Jun 12 02:19:43 2002
--- starvoyager-0.4.4/sound.h	Wed Apr 30 09:11:09 2003
***************
*** 6,12 ****
  	If that file is not included with this source then permission is not given to use this source in any way whatsoever.
  */
  
! 
  class sound;
  
  struct channel //Used to represent a virtual channel for mixing
--- 6,12 ----
  	If that file is not included with this source then permission is not given to use this source in any way whatsoever.
  */
  
! #include <SDL_audio.h>
  class sound;
  
  struct channel //Used to represent a virtual channel for mixing
***************
*** 16,22 ****
  	int div; //Div factor for each sound
  };
  
- struct SDL_AudioSpec;
  
  class sound //A sound in the database
  {
--- 16,21 ----
  	int div; //Div factor for each sound
  };
  
  
  class sound //A sound in the database
  {
