SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
comms/rtl-sdr/patches/patch-src_rtl_test_c
Normal file
15
comms/rtl-sdr/patches/patch-src_rtl_test_c
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- src/rtl_test.c.orig Sun Apr 21 11:58:32 2013
|
||||
+++ src/rtl_test.c Sun Apr 21 11:59:31 2013
|
||||
@@ -210,7 +210,12 @@ int main(int argc, char **argv)
|
||||
int n_read;
|
||||
int r, opt;
|
||||
int i, tuner_benchmark = 0;
|
||||
+#ifdef __OpenBSD__
|
||||
+ /* XXX async doesn't work yet */
|
||||
+ int sync_mode = 1;
|
||||
+#else
|
||||
int sync_mode = 0;
|
||||
+#endif
|
||||
uint8_t *buffer;
|
||||
uint32_t dev_index = 0;
|
||||
uint32_t samp_rate = DEFAULT_SAMPLE_RATE;
|
Loading…
Add table
Add a link
Reference in a new issue