SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
textproc/swish-e/patches/patch-src_db_native_c
Normal file
14
textproc/swish-e/patches/patch-src_db_native_c
Normal file
|
@ -0,0 +1,14 @@
|
|||
Fix namespace collision with libz
|
||||
|
||||
Index: src/db_native.c
|
||||
--- src/db_native.c.orig
|
||||
+++ src/db_native.c
|
||||
@@ -1601,7 +1601,7 @@ long DB_ReadWordData_Native(sw_off_t wordID, unsign
|
||||
|
||||
*worddata = buf = WORDDATA_Get(DB->worddata,wordID,data_size);
|
||||
/* Get saved_bytes and adjust data_size */
|
||||
- *saved_bytes = uncompress2(&buf);
|
||||
+ *saved_bytes = swish_uncompress2(&buf);
|
||||
*data_size -= (buf - (*worddata));
|
||||
/* Remove saved_bytes from buffer
|
||||
** We need to use memmove because data overlaps */
|
Loading…
Add table
Add a link
Reference in a new issue