summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>2009-05-10 07:41:59 +0000
committertron <tron>2009-05-10 07:41:59 +0000
commitaa4c3a17bc8dc75c8034cb04b63a0f34d54db395 (patch)
tree194d006a92f861ea973949ac26b2cb41ef25acb7
parent8ce63524476fe0a83342ef3b2030f635c7f4c35c (diff)
downloadpkgsrc-aa4c3a17bc8dc75c8034cb04b63a0f34d54db395.tar.gz
Pullup ticket #2761 - requested by taca
ruby18-base: Solaris build fix Revisions pulled up: - lang/ruby18-base/distinfo 1.37 - lang/ruby18-base/patches/patch-bi 1.3 --- Module Name: pkgsrc Committed By: taca Date: Sat May 9 05:32:39 UTC 2009 Modified Files: pkgsrc/lang/ruby18-base: distinfo Added Files: pkgsrc/lang/ruby18-base/patches: patch-bi Log Message: Apply a patch to fix compile error on Solaris 10. The patch was supplied by KAWAKUBO Hiroshi via PR pkg/41386.
-rw-r--r--lang/ruby18-base/distinfo3
-rw-r--r--lang/ruby18-base/patches/patch-bi18
2 files changed, 20 insertions, 1 deletions
diff --git a/lang/ruby18-base/distinfo b/lang/ruby18-base/distinfo
index e9da7a226c2..979ed8e99b2 100644
--- a/lang/ruby18-base/distinfo
+++ b/lang/ruby18-base/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.35.2.1 2009/05/01 12:42:02 tron Exp $
+$NetBSD: distinfo,v 1.35.2.2 2009/05/10 07:41:59 tron Exp $
SHA1 (ruby-1.8.7-p160.tar.bz2) = 64ed631a819f28d9dd86d2c699e1b0a94d7e5dc9
RMD160 (ruby-1.8.7-p160.tar.bz2) = 77469c9c4e9303f2ec8ca72a0cbf98b674cb1415
@@ -6,3 +6,4 @@ Size (ruby-1.8.7-p160.tar.bz2) = 4137518 bytes
SHA1 (patch-aa) = 59f4462dada7e7b00c7a773c8a95454f3dc4f994
SHA1 (patch-ab) = 239872c5faf95c05d2a94fe5f40af5b8541423c7
SHA1 (patch-ac) = eb4dd068729ba2a2c7d4d659f6bcdb1410227f3b
+SHA1 (patch-bi) = 4788a32945edfc6f992b7687688303afdb0408c4
diff --git a/lang/ruby18-base/patches/patch-bi b/lang/ruby18-base/patches/patch-bi
new file mode 100644
index 00000000000..1c1f7d5c8d6
--- /dev/null
+++ b/lang/ruby18-base/patches/patch-bi
@@ -0,0 +1,18 @@
+$NetBSD: patch-bi,v 1.3.2.2 2009/05/10 07:41:59 tron 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