NetBSD Problem Report #49512
From www@NetBSD.org Sun Dec 28 22:15:23 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 27236A6552
for <gnats-bugs@gnats.NetBSD.org>; Sun, 28 Dec 2014 22:15:23 +0000 (UTC)
Message-Id: <20141228221521.E5D65A65C0@mollari.NetBSD.org>
Date: Sun, 28 Dec 2014 22:15:21 +0000 (UTC)
From: venture37@geeklan.co.uk
Reply-To: venture37@geeklan.co.uk
To: gnats-bugs@NetBSD.org
Subject: Unbreak lang/ruby21-base on Mac OS X Tiger
X-Send-Pr-Version: www-1.0
>Number: 49512
>Category: pkg
>Synopsis: Unbreak lang/ruby21-base on Mac OS X Tiger
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: taca
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 28 22:20:00 +0000 2014
>Closed-Date: Wed Jan 07 11:01:49 +0000 2015
>Last-Modified: Wed Jan 07 11:01:49 +0000 2015
>Originator: Sevan Janiyan
>Release: pkgsrc-current
>Organization:
>Environment:
Darwin 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
>Description:
as per pkg/49508, include db.h.
>How-To-Repeat:
>Fix:
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/lang/ruby21-base/distinfo,v
retrieving revision 1.11
diff -u -r1.11 distinfo
--- distinfo 14 Dec 2014 14:00:17 -0000 1.11
+++ distinfo 28 Dec 2014 22:12:39 -0000
@@ -4,6 +4,7 @@
RMD160 (ruby-2.1.5.tar.bz2) = 32019c949a8c9bb716f6683a20f19231da452fda
Size (ruby-2.1.5.tar.bz2) = 11994454 bytes
SHA1 (patch-configure) = 40da4aec83fcb9cf026d2b458ff3beb6dcf7776a
+SHA1 (patch-ext_dbm_extconf.rb) = dfc5c1b7be11e7d8f2ab705976f706a28baa49c8
SHA1 (patch-ext_tk_extconf.rb) = fc80ef5a2859736ae85303cfb2fc78ce8bc70fbc
SHA1 (patch-ext_tk_lib_tk.rb) = 78034ed6fa0f24099ce06a717da2423731b276cb
SHA1 (patch-ext_tk_lib_tk_autoload.rb) = e8bcb93feae90fd46531a412f6c963a6d5d2c132
cvs diff: Diffing patches
Index: patches/patch-ext_dbm_extconf.rb
===================================================================
RCS file: patches/patch-ext_dbm_extconf.rb
diff -N patches/patch-ext_dbm_extconf.rb
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-ext_dbm_extconf.rb 28 Dec 2014 22:12:39 -0000
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- ext/dbm/extconf.rb.orig 2014-12-28 17:33:20.000000000 +0000
++++ ext/dbm/extconf.rb
+@@ -119,7 +119,7 @@ def headers.db_check2(db, hdr)
+ have_library("gdbm") or return false
+ end
+
+- if !have_type("DBM", hdr, hsearch)
++ if !have_type("DBM", ["db.h", hdr], hsearch)
+ return false
+ end
+
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->taca
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Mon, 29 Dec 2014 21:17:28 +0000
Responsible-Changed-Why:
Over to maintainer.
From: "Takahiro Kambe" <taca@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/49512 CVS commit: pkgsrc/lang/ruby21-base
Date: Wed, 7 Jan 2015 10:37:56 +0000
Module Name: pkgsrc
Committed By: taca
Date: Wed Jan 7 10:37:56 UTC 2015
Modified Files:
pkgsrc/lang/ruby21-base: distinfo
Added Files:
pkgsrc/lang/ruby21-base/patches: patch-ext_dbm_extconf.rb
Log Message:
Add patch from PR pkg/49512.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/ruby21-base/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/lang/ruby21-base/patches/patch-ext_dbm_extconf.rb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: taca@NetBSD.org
State-Changed-When: Wed, 07 Jan 2015 11:01:49 +0000
State-Changed-Why:
Patch was applied. Thank you for your problem report.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.