]> git.pld-linux.org Git - packages/doomlegacy.git/blobdiff - doomlegacy-nosndstat.patch
8276a8ba83fef64fb15c5f7e5cbb685c doomlegacy-nosndstat.patch
[packages/doomlegacy.git] / doomlegacy-nosndstat.patch
index 2afb0150d70bf168d2a93fdfba6d74055966ad2a..2311c48b8581f78a09bfdb1f521fa3345d2a6be0 100644 (file)
@@ -1,6 +1,6 @@
---- doomlegacy-1.32/doomlegacy/linux_x/musserv/sequencer.c.orig        Fri May 11 14:55:27 2001
-+++ doomlegacy-1.32/doomlegacy/linux_x/musserv/sequencer.c     Wed Jul 18 17:26:02 2001
-@@ -176,11 +176,7 @@
+--- doomlegacy_src/linux_x/musserv/sequencer.c.orig    Sat Feb 22 21:25:59 2003
++++ doomlegacy_src/linux_x/musserv/sequencer.c Sat Feb 22 21:27:23 2003
+@@ -177,11 +177,7 @@
    seq_dev = num_fm;
  
    sndstat = fopen("/dev/sndstat", "r");
    fgets(sndver, 100, sndstat);
    for (x = 0; x < strlen(sndver); x++)
      if (sndver[x] == '-')
-@@ -198,7 +194,9 @@
+@@ -199,6 +195,9 @@
        }
    voxdate = atoi(snddate);
    fclose(sndstat);
--
 +  } else {
-+    voxdate = 0; /* kernel 2.4 doesn't have sndstat */
++   voxdate = 0; /* kernel 2.4 doesn't have sndstat */
 +  }
    voices = malloc(sinfo[seq_dev].nr_voices * sizeof(struct synth_voice));
    for (x = 0; x < sinfo[seq_dev].nr_voices; x++)
-     {
This page took 0.059485 seconds and 4 git commands to generate.