diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-12-31 05:31:03 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-12-31 05:31:03 +0800 |
commit | 2a3e0d233a313a4ff4a5a62fdbc1f45672eee998 (patch) | |
tree | c28b2acfe05e76265fb9df8abf48cd6106175cb3 /textproc | |
parent | 5f5102e710ee3b9c134101a8699e06afea27c0cd (diff) | |
download | freebsd-ports-gnome-2a3e0d233a313a4ff4a5a62fdbc1f45672eee998.tar.gz freebsd-ports-gnome-2a3e0d233a313a4ff4a5a62fdbc1f45672eee998.tar.zst freebsd-ports-gnome-2a3e0d233a313a4ff4a5a62fdbc1f45672eee998.zip |
Fix an unsigned int -> signed long conversion on 64-bit platforms.
Diffstat (limited to 'textproc')
-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); |