diff options
-rw-r--r-- | textproc/libtranslate/Makefile | 2 | ||||
-rw-r--r-- | textproc/libtranslate/files/patch-src_translate-util.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/textproc/libtranslate/Makefile b/textproc/libtranslate/Makefile index b9548f94c922..22c54068f0f5 100644 --- a/textproc/libtranslate/Makefile +++ b/textproc/libtranslate/Makefile @@ -7,7 +7,7 @@ PORTNAME= libtranslate PORTVERSION= 0.99 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SAVANNAH} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/textproc/libtranslate/files/patch-src_translate-util.c b/textproc/libtranslate/files/patch-src_translate-util.c new file mode 100644 index 000000000000..abd28256f9c5 --- /dev/null +++ b/textproc/libtranslate/files/patch-src_translate-util.c @@ -0,0 +1,11 @@ +--- src/translate-util.c.orig Mon Jan 17 17:45:45 2005 ++++ src/translate-util.c Fri Dec 30 22:26:26 2005 +@@ -136,7 +136,7 @@ + g_return_val_if_fail(big != NULL, NULL); + g_return_val_if_fail(little != NULL, NULL); + +- lower_big = g_ascii_strdown(big, big_len); ++ lower_big = g_ascii_strdown(big, (int) big_len); + lower_little = g_ascii_strdown(little, -1); + + s = strstr(lower_big, lower_little); |