mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 01:42:56 +02:00
urh: fix build with Cython 3.1
This commit is contained in:
parent
a2513f1a20
commit
0974e61965
2 changed files with 21 additions and 1 deletions
20
srcpkgs/urh/patches/cython-3.1.patch
Normal file
20
srcpkgs/urh/patches/cython-3.1.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- a/src/urh/dev/native/lib/chackrf.pxd
|
||||
+++ b/src/urh/dev/native/lib/chackrf.pxd
|
||||
@@ -54,7 +54,7 @@
|
||||
uint32_t part_id[2]
|
||||
uint32_t serial_no[4]
|
||||
|
||||
- ctypedef struct hackrf_device_list:
|
||||
+ ctypedef struct c_hackrf_device_list "hackrf_device_list":
|
||||
char ** serial_numbers
|
||||
hackrf_usb_board_id * usb_board_ids
|
||||
int *usb_device_index
|
||||
@@ -63,7 +63,7 @@
|
||||
void ** usb_devices
|
||||
int usb_devicecount
|
||||
|
||||
- ctypedef hackrf_device_list hackrf_device_list_t;
|
||||
+ ctypedef c_hackrf_device_list hackrf_device_list_t;
|
||||
|
||||
ctypedef int (*hackrf_sample_block_cb_fn)(hackrf_transfer* transfer)
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'urh'
|
||||
pkgname=urh
|
||||
version=2.9.8
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools python3-Cython python3-numpy"
|
||||
makedepends="python3-devel python3-PyQt5 libairspy-devel librtlsdr-devel
|
||||
|
|
Loading…
Add table
Reference in a new issue