nixpkgs/pkgs/games/generator/soundcard.patch
Eelco Dolstra dc29a4ac48 * Added SDL, Simple DirectMedia Layer.
* Added NASM, the Netwide Assembler.
* Added Generator, an emulator for Sega Genesis / Mega Drive machines.
  Built with XVideo patch. Strangely it crashes with a GDK error when
  started in normal mode.  However, with the "-a" switch (arcade mode)
  it works, and subsequently switching back to windowed mode (Ctrl-F)
  also works.

svn path=/nixpkgs/trunk/; revision=1509
2004-09-26 18:12:51 +00:00

20 lines
511 B
Diff

diff -rc generator-orig/main/gensoundp-unix.c generator-0.35-cbiere/main/gensoundp-unix.c
*** generator-orig/main/gensoundp-unix.c 2004-09-26 19:07:44.000000000 +0200
--- generator-0.35-cbiere/main/gensoundp-unix.c 2004-09-26 19:07:56.000000000 +0200
***************
*** 196,202 ****
#include <soundcard.h>
#else
! #ifdef HAVE_SOUNDCARD_H
#include <sys/soundcard.h>
#endif
--- 196,202 ----
#include <soundcard.h>
#else
! #ifdef HAVE_SYS_SOUNDCARD_H
#include <sys/soundcard.h>
#endif