1 |
flameeyes 08/02/22 13:47:55 |
2 |
|
3 |
Added: dssi-0.9.1-constants.patch |
4 |
Log: |
5 |
Add a new revision to reduce copy-on-write pages, also fix the sed for the pkgconfig file, and disable dependency tracking. |
6 |
(Portage version: 2.1.4.4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 media-libs/dssi/files/dssi-0.9.1-constants.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/dssi/files/dssi-0.9.1-constants.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/dssi/files/dssi-0.9.1-constants.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: dssi-0.9.1-constants.patch |
15 |
=================================================================== |
16 |
Index: dssi-0.9.1/examples/less_trivial_synth.c |
17 |
=================================================================== |
18 |
--- dssi-0.9.1.orig/examples/less_trivial_synth.c |
19 |
+++ dssi-0.9.1/examples/less_trivial_synth.c |
20 |
@@ -56,7 +56,7 @@ long int lrintf (float x); |
21 |
static LADSPA_Descriptor *ltsLDescriptor = NULL; |
22 |
static DSSI_Descriptor *ltsDDescriptor = NULL; |
23 |
|
24 |
-float *table[2]; |
25 |
+const float *table[2]; |
26 |
|
27 |
typedef enum { |
28 |
inactive = 0, |
29 |
Index: dssi-0.9.1/examples/saw.h |
30 |
=================================================================== |
31 |
--- dssi-0.9.1.orig/examples/saw.h |
32 |
+++ dssi-0.9.1/examples/saw.h |
33 |
@@ -1,4 +1,4 @@ |
34 |
-float saw_table[1025] = { |
35 |
+static const float saw_table[1025] = { |
36 |
0.000000, 0.008187, 0.016378, 0.024569, 0.032759, 0.040950, |
37 |
0.049141, 0.057331, 0.065522, 0.073712, 0.081903, 0.090094, |
38 |
0.098284, 0.106475, 0.114666, 0.122856, 0.131047, 0.139237, |
39 |
Index: dssi-0.9.1/jack-dssi-host/jack-dssi-host.c |
40 |
=================================================================== |
41 |
--- dssi-0.9.1.orig/jack-dssi-host/jack-dssi-host.c |
42 |
+++ dssi-0.9.1/jack-dssi-host/jack-dssi-host.c |
43 |
@@ -105,8 +105,8 @@ static sigset_t _signals; |
44 |
|
45 |
int exiting = 0; |
46 |
static int verbose = 0; |
47 |
-static int autoconnect = 1; |
48 |
-static int load_guis = 1; |
49 |
+static int no_autoconnect = 0; |
50 |
+static int no_load_guis = 0; |
51 |
const char *myName = NULL; |
52 |
|
53 |
#define EVENT_BUFFER_SIZE 1024 |
54 |
@@ -808,11 +808,11 @@ main(int argc, char **argv) |
55 |
continue; |
56 |
} |
57 |
if (!strcmp(argv[i], "-a")) { |
58 |
- autoconnect = 0; |
59 |
+ no_autoconnect = 1; |
60 |
continue; |
61 |
} |
62 |
if (!strcmp(argv[i], "-n")) { |
63 |
- load_guis = 0; |
64 |
+ no_load_guis = 1; |
65 |
continue; |
66 |
} |
67 |
|
68 |
@@ -1332,7 +1332,7 @@ main(int argc, char **argv) |
69 |
exit(1); |
70 |
} |
71 |
|
72 |
- if (autoconnect) { |
73 |
+ if (!no_autoconnect) { |
74 |
/* !FIX! this to more intelligently connect ports: */ |
75 |
ports = jack_get_ports(jackClient, NULL, NULL, |
76 |
JackPortIsPhysical|JackPortIsInput); |
77 |
@@ -1357,7 +1357,7 @@ main(int argc, char **argv) |
78 |
/* Attempt to locate and start up a GUI for the plugin -- but |
79 |
* continue even if we can't */ |
80 |
/* -FIX- Ack! So many windows all at once! */ |
81 |
- if (load_guis) { |
82 |
+ if (!no_load_guis) { |
83 |
for (i = 0; i < instance_count; i++) { |
84 |
char tag[12]; |
85 |
plugin = instances[i].plugin; |
86 |
|
87 |
|
88 |
|
89 |
-- |
90 |
gentoo-commits@l.g.o mailing list |