diff options
Diffstat (limited to 'net-misc/minidlna/files')
-rw-r--r-- | net-misc/minidlna/files/minidlna-1.3.0-fno-common.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net-misc/minidlna/files/minidlna-1.3.0-fno-common.patch b/net-misc/minidlna/files/minidlna-1.3.0-fno-common.patch new file mode 100644 index 000000000000..50da196377f1 --- /dev/null +++ b/net-misc/minidlna/files/minidlna-1.3.0-fno-common.patch @@ -0,0 +1,23 @@ +--- a/tivo_utils.c ++++ b/tivo_utils.c +@@ -27,6 +27,7 @@ + #include <sqlite3.h> + #include "tivo_utils.h" + ++struct sqlite3PrngType sqlite3Prng; + /* This function based on byRequest */ + char * + decodeString(char *string, int inplace) +--- a/tivo_utils.h ++++ b/tivo_utils.h +@@ -30,7 +30,9 @@ struct sqlite3PrngType { + unsigned char isInit; /* True if initialized */ + unsigned char i, j; /* State variables */ + unsigned char s[256]; /* State variables */ +-} sqlite3Prng; ++}; ++ ++extern struct sqlite3PrngType sqlite3Prng; + + char * + decodeString(char *string, int inplace); |