pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ruby18-base Apply a patch to fix compile error on...
details: https://anonhg.NetBSD.org/pkgsrc/rev/80041a233e08
branches: trunk
changeset: 392761:80041a233e08
user: taca <taca%pkgsrc.org@localhost>
date: Sat May 09 05:32:39 2009 +0000
description:
Apply a patch to fix compile error on Solaris 10. The patch was supplied
by KAWAKUBO Hiroshi via PR pkg/41386.
diffstat:
lang/ruby18-base/distinfo | 3 ++-
lang/ruby18-base/patches/patch-bi | 18 ++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r 86a72a6a5c78 -r 80041a233e08 lang/ruby18-base/distinfo
--- a/lang/ruby18-base/distinfo Sat May 09 03:44:43 2009 +0000
+++ b/lang/ruby18-base/distinfo Sat May 09 05:32:39 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.36 2009/04/16 17:11:12 taca Exp $
+$NetBSD: distinfo,v 1.37 2009/05/09 05:32:39 taca Exp $
SHA1 (ruby-1.8.7-p160.tar.bz2) = 64ed631a819f28d9dd86d2c699e1b0a94d7e5dc9
RMD160 (ruby-1.8.7-p160.tar.bz2) = 77469c9c4e9303f2ec8ca72a0cbf98b674cb1415
@@ -6,3 +6,4 @@
SHA1 (patch-aa) = 59f4462dada7e7b00c7a773c8a95454f3dc4f994
SHA1 (patch-ab) = 239872c5faf95c05d2a94fe5f40af5b8541423c7
SHA1 (patch-ac) = eb4dd068729ba2a2c7d4d659f6bcdb1410227f3b
+SHA1 (patch-bi) = 4788a32945edfc6f992b7687688303afdb0408c4
diff -r 86a72a6a5c78 -r 80041a233e08 lang/ruby18-base/patches/patch-bi
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/ruby18-base/patches/patch-bi Sat May 09 05:32:39 2009 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-bi,v 1.3 2009/05/09 05:32:39 taca Exp $
+
+Fix build problem on Solaris 10:
+ http://redmine.ruby-lang.org/repositories/revision/2?rev=22812
+
+--- file.c.orig 2009-03-23 17:44:31.000000000 +0900
++++ file.c
+@@ -68,6 +68,10 @@ char *strrchr _((const char*,const char)
+ #include <sys/mkdev.h>
+ #endif
+
++#if defined(HAVE_FCNTL_H)
++#include <fcntl.h>
++#endif
++
+ #if !defined HAVE_LSTAT && !defined lstat
+ #define lstat stat
+ #endif
Home |
Main Index |
Thread Index |
Old Index