author | yippi |
Mon, 27 Sep 2010 21:07:51 +0000 | |
changeset 20108 | 51df67ca9307 |
parent 10216 | 31171a5e3234 |
permissions | -rw-r--r-- |
10216 | 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 @@ |
|
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
4 |
install-api-key: |
6205
d9d9b06a7fd2
* patches/brltty-01-suncc.diff: Rework for new source tarball.
dc144907
parents:
6036
diff
changeset
|
5 |
file=$(sysconfdir)/$(API_AUTHFILE) && \ |
10216 | 6 |
if test ! -f $$file -a -w $(sysconfdir) -a -z "$(INSTALL_ROOT)"; \ |
6036 | 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 |
|
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
9 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
10 |
############################################################################### |
6205
d9d9b06a7fd2
* patches/brltty-01-suncc.diff: Rework for new source tarball.
dc144907
parents:
6036
diff
changeset
|
11 |
|
10216 | 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 |
} |
|
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
24 |
} |
6205
d9d9b06a7fd2
* patches/brltty-01-suncc.diff: Rework for new source tarball.
dc144907
parents:
6036
diff
changeset
|
25 |
|
d9d9b06a7fd2
* patches/brltty-01-suncc.diff: Rework for new source tarball.
dc144907
parents:
6036
diff
changeset
|
26 |
{ |
d9d9b06a7fd2
* patches/brltty-01-suncc.diff: Rework for new source tarball.
dc144907
parents:
6036
diff
changeset
|
27 |
- TuneElement te = TUNE_STOP(); |
d9d9b06a7fd2
* patches/brltty-01-suncc.diff: Rework for new source tarball.
dc144907
parents:
6036
diff
changeset
|
28 |
- *element = te; |
10216 | 29 |
+ element->duration = 0; /* TUNE_STOP(); */ |
6205
d9d9b06a7fd2
* patches/brltty-01-suncc.diff: Rework for new source tarball.
dc144907
parents:
6036
diff
changeset
|
30 |
+ element->note = 0; |
d9d9b06a7fd2
* patches/brltty-01-suncc.diff: Rework for new source tarball.
dc144907
parents:
6036
diff
changeset
|
31 |
+ |
d9d9b06a7fd2
* patches/brltty-01-suncc.diff: Rework for new source tarball.
dc144907
parents:
6036
diff
changeset
|
32 |
} |
5580
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
33 |
|
3ddcb6abfa94
Adding in spec files (Linux and Solaris) for Orca and the GNOME/Python
richb
parents:
diff
changeset
|
34 |
if (!setTuneDevice(tuneDevice)) { |