aboutsummaryrefslogtreecommitdiff
path: root/textproc/libmrss
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-04-26 03:18:44 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-04-26 03:18:44 +0000
commit3e05f19495b1f8255c78020ccffafdfc1c4dad34 (patch)
tree57bb9e0afc676c3413229bb6050fb137926b8247 /textproc/libmrss
parent49144d0cf9857c68884738e29ef2cb99dfdf79b2 (diff)
downloadports-3e05f19495b1f8255c78020ccffafdfc1c4dad34.tar.gz
ports-3e05f19495b1f8255c78020ccffafdfc1c4dad34.zip
Notes
Diffstat (limited to 'textproc/libmrss')
-rw-r--r--textproc/libmrss/Makefile2
-rw-r--r--textproc/libmrss/distinfo6
-rw-r--r--textproc/libmrss/files/patch-src-mrss_free.c12
-rw-r--r--textproc/libmrss/files/patch-src-mrss_parser.c18
4 files changed, 34 insertions, 4 deletions
diff --git a/textproc/libmrss/Makefile b/textproc/libmrss/Makefile
index 632cbe54b30f..3776841f3189 100644
--- a/textproc/libmrss/Makefile
+++ b/textproc/libmrss/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libmrss
-PORTVERSION= 0.17
+PORTVERSION= 0.17.1
CATEGORIES= textproc
MASTER_SITES= http://www2.autistici.org/bakunin/libmrss/
diff --git a/textproc/libmrss/distinfo b/textproc/libmrss/distinfo
index 0721bf1dbfe4..2709fe974506 100644
--- a/textproc/libmrss/distinfo
+++ b/textproc/libmrss/distinfo
@@ -1,3 +1,3 @@
-MD5 (libmrss-0.17.tar.gz) = 28d0e78d736748e67f25ad99456f10c3
-SHA256 (libmrss-0.17.tar.gz) = 9bccf1240ce9317510eb860e7fcd387be2ddc73adc14451d679a6a7358383772
-SIZE (libmrss-0.17.tar.gz) = 350250
+MD5 (libmrss-0.17.1.tar.gz) = bc6f32759db02cf32a83640d74fb9993
+SHA256 (libmrss-0.17.1.tar.gz) = cfa9b2d0f9b87a7a524abe149e7207adf86c077749c907342df63126a7ec292d
+SIZE (libmrss-0.17.1.tar.gz) = 350524
diff --git a/textproc/libmrss/files/patch-src-mrss_free.c b/textproc/libmrss/files/patch-src-mrss_free.c
new file mode 100644
index 000000000000..9bd86ca9001c
--- /dev/null
+++ b/textproc/libmrss/files/patch-src-mrss_free.c
@@ -0,0 +1,12 @@
+--- src/mrss_free.c.orig Mon Apr 2 20:54:41 2007
++++ src/mrss_free.c Thu Apr 26 10:59:50 2007
+@@ -202,9 +202,6 @@
+ __mrss_free_item ((mrss_item_t *) old);
+ }
+
+- if (mrss->c_locale)
+- freelocale (mrss->c_locale);
+-
+ if (mrss->allocated)
+ free (mrss);
+ }
diff --git a/textproc/libmrss/files/patch-src-mrss_parser.c b/textproc/libmrss/files/patch-src-mrss_parser.c
new file mode 100644
index 000000000000..4e4bf3005a00
--- /dev/null
+++ b/textproc/libmrss/files/patch-src-mrss_parser.c
@@ -0,0 +1,18 @@
+--- src/mrss_parser.c.orig Mon Apr 2 20:55:34 2007
++++ src/mrss_parser.c Thu Apr 26 10:57:53 2007
+@@ -151,12 +151,9 @@
+ char datebuf[256];
+ stm.tm_year -= 1900;
+
+- if (!data->c_locale
+- && !(data->c_locale = newlocale (LC_ALL_MASK, "C", NULL)))
+- return NULL;
+-
+- strftime_l (datebuf, sizeof (datebuf), "%a, %d %b %Y %H:%M:%S %z", &stm,
+- data->c_locale);
++ free (datestr);
++ strftime (datebuf, sizeof (datebuf), "%a, %d %b %Y %H:%M:%S %z",
++ &stm);
+
+ return strdup (datebuf);
+ }