SDL-1.2.14-noproc.patch 372 B

123456789101112131415
  1. --- SDL-1.2.14/src/audio/pulse/SDL_pulseaudio.c.noproc 2009-10-17 09:45:42.000000000 +0200
  2. +++ SDL-1.2.14/src/audio/pulse/SDL_pulseaudio.c 2009-11-08 14:58:36.000000000 +0100
  3. @@ -364,7 +364,10 @@
  4. }
  5. fclose(fp);
  6. }
  7. - return(progname);
  8. + if (progname)
  9. + return(progname);
  10. + else
  11. + return SDL_strdup ("SDL");
  12. #elif defined(__NetBSD__)
  13. return getprogname();
  14. #else