src/tox_wrapper/tox_ctypesgen.py.diff

This commit is contained in:
emdee@spm.plastiras.org 2024-02-19 14:24:33 +00:00
parent a8eee6fa4c
commit 946dea2d9e
2 changed files with 3599 additions and 0 deletions

View File

@ -91,6 +91,21 @@ debugger is a crucial advantage.
## Updates ## Updates
To regerate the bindings to a new c-toxcore, install ctypesgen
```
make build
```
and exit the Makefile to set CTOXCORE to where your c-toxcore is. Then
```
make install
```
Then try patching the resulting file with:
```
patch -b -z .dst src/tox_wrapper/tox_ctypesgen.py \
< src/tox_wrapper/tox_ctypesgen.py.diff
```
You may need to resolve any rejections if the ctypesgen file has changed.
Although Tox works over Tor, we do not recommend its usage for Although Tox works over Tor, we do not recommend its usage for
anonymity as it leaks DNS requests due to a 6-year old known security anonymity as it leaks DNS requests due to a 6-year old known security
issue: https://github.com/TokTok/c-toxcore/issues/469 unless your Tox client issue: https://github.com/TokTok/c-toxcore/issues/469 unless your Tox client

File diff suppressed because it is too large Load Diff