Home | History | Annotate | Download | only in patches
      1 --- brltty-3.8.orig/Programs/Makefile.in	2005-08-27 05:33:11.000000000 +0100
      2 +++ brltty-3.8/Programs/Makefile.in	2005-10-28 08:17:12.412662000 +0100
      3 @@ -551,7 +551,7 @@
      4  install-api-key:
      5  	file=$(sysconfdir)/$(API_AUTHFILE) && \
      6  	if test ! -f $$file -a -w $(sysconfdir) -a -z "$(INSTALL_ROOT)"; \
      7 -	then umask 077 && $(SRC_DIR)/brltty-genkey $$file; fi
      8 +	then umask 077 && (dd if=/dev/urandom bs=16 count=1 2>/dev/null | perl -e 'while(<>){print unpack( "H*", $$_),"\n";}') >$$file; fi
      9  
     10  ###############################################################################
     11  
     12 --- brltty-3.8.orig/Programs/tunetest.c	2005-08-16 22:36:49.000000000 +0100
     13 +++ brltty-3.8/Programs/tunetest.c	2005-10-28 08:24:37.711867000 +0100
     14 @@ -206,14 +206,16 @@
     15        }
     16  
     17        {
     18 -        TuneElement te = TUNE_NOTE(duration, note);
     19 -        *(element++) = te;
     20 +        element->duration = duration;    /* TUNE_NOTE(duration, note); */
     21 +        element->note = note;
     22 +        element++;
     23        }
     24      }
     25  
     26      {
     27 -      TuneElement te = TUNE_STOP();
     28 -      *element = te;
     29 +      element->duration = 0;     /* TUNE_STOP(); */
     30 +      element->note = 0;
     31 +
     32      }
     33  
     34      if (!setTuneDevice(tuneDevice)) {
     35