diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
commit | ca9627e70852f6b2e835660df870fe3ab405882d (patch) | |
tree | 0a008b1d5b16fa0679a195ed7b5662c7891f591c /app-i18n/librcc/files | |
download | darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2 darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip |
Initial import
Diffstat (limited to 'app-i18n/librcc/files')
-rw-r--r-- | app-i18n/librcc/files/librcc-strnlen.patch | 11 | ||||
-rw-r--r-- | app-i18n/librcc/files/rcc-debug.patch | 14 |
2 files changed, 25 insertions, 0 deletions
diff --git a/app-i18n/librcc/files/librcc-strnlen.patch b/app-i18n/librcc/files/librcc-strnlen.patch new file mode 100644 index 0000000..5c2cec7 --- /dev/null +++ b/app-i18n/librcc/files/librcc-strnlen.patch @@ -0,0 +1,11 @@ +--- orig/src/rccstring.h ++++ mod/src/rccstring.h +@@ -40,7 +40,7 @@ + + #ifdef HAVE_STRNLEN + # ifndef strnlen +-int strnlen(const char *str, size_t size); ++size_t strnlen(const char *str, size_t size); + # endif /* !strnlen */ + #else + int rccStrnlen(const char *str, size_t size); diff --git a/app-i18n/librcc/files/rcc-debug.patch b/app-i18n/librcc/files/rcc-debug.patch new file mode 100644 index 0000000..7f92d2c --- /dev/null +++ b/app-i18n/librcc/files/rcc-debug.patch @@ -0,0 +1,14 @@ +diff -dPNur librcc--main--0.1--patch-34/src/rccconfig.h librcc--main--0.1--patch-34-debug/src/rccconfig.h +--- librcc--main--0.1--patch-34/src/rccconfig.h 2006-01-08 19:43:06.000000000 +0400 ++++ librcc--main--0.1--patch-34-debug/src/rccconfig.h 2006-07-18 20:15:12.000000000 +0500 +@@ -3,8 +3,8 @@ + #include "librcc.h" + #include "opt.h" + +-#undef RCC_DEBUG +-#undef RCC_DEBUG_LANGDETECT ++#define RCC_DEBUG ++#define RCC_DEBUG_LANGDETECT 2 + #define RCC_LOCALE_VARIABLE "LC_CTYPE" + + extern const char rcc_default_all[]; |