pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libgsf Fix build problem on the platform without...
details: https://anonhg.NetBSD.org/pkgsrc/rev/217b5996fac6
branches: trunk
changeset: 601962:217b5996fac6
user: taca <taca%pkgsrc.org@localhost>
date: Fri Apr 06 10:42:37 2012 +0000
description:
Fix build problem on the platform without RLIMIT_AS; NetBSD 4.
No PKGREVISION bump since it is simply fix of build problem.
diffstat:
devel/libgsf/distinfo | 3 ++-
devel/libgsf/patches/patch-thumbnailer_main.c | 18 ++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 7cb0d4ca80af -r 217b5996fac6 devel/libgsf/distinfo
--- a/devel/libgsf/distinfo Fri Apr 06 10:41:16 2012 +0000
+++ b/devel/libgsf/distinfo Fri Apr 06 10:42:37 2012 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.40 2012/01/20 12:05:09 wiz Exp $
+$NetBSD: distinfo,v 1.41 2012/04/06 10:42:37 taca Exp $
SHA1 (libgsf-1.14.22.tar.xz) = ca1c5aa92a840e322d7cafd9f2dede3d38a69660
RMD160 (libgsf-1.14.22.tar.xz) = a47fa284ace94ead51f2130cba31d8962d554f3b
Size (libgsf-1.14.22.tar.xz) = 506188 bytes
+SHA1 (patch-thumbnailer_main.c) = bb7d25d26f19d676305a02a64474d11881bfc7fc
diff -r 7cb0d4ca80af -r 217b5996fac6 devel/libgsf/patches/patch-thumbnailer_main.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libgsf/patches/patch-thumbnailer_main.c Fri Apr 06 10:42:37 2012 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-thumbnailer_main.c,v 1.1 2012/04/06 10:42:38 taca Exp $
+
+* Fix build problem on the platform without RLIMIT_AS; NetBSD 4.
+
+--- thumbnailer/main.c.orig 2011-12-07 23:05:18.000000000 +0000
++++ thumbnailer/main.c
+@@ -258,9 +258,11 @@ set_resource_limits (void)
+ * time on certain WMFs. So, we'll put a cap on how much resources it can use.
+ */
+
++#ifdef RLIMIT_AS
+ limit.rlim_cur = MAX_HELPER_MEMORY;
+ limit.rlim_max = MAX_HELPER_MEMORY;
+ setrlimit (RLIMIT_AS, &limit);
++#endif
+
+ limit.rlim_cur = MAX_HELPER_SECONDS;
+ limit.rlim_max = MAX_HELPER_SECONDS;
Home |
Main Index |
Thread Index |
Old Index