From owner-cvs-all@FreeBSD.ORG Mon Aug 13 03:46:22 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 128B816A41B; Mon, 13 Aug 2007 03:46:22 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (ent.mahoroba.org [IPv6:2001:2f0:104:8010::1]) by mx1.freebsd.org (Postfix) with ESMTP id B762713C48D; Mon, 13 Aug 2007 03:46:21 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:5KDGthqYW0YtWlDhpeNsEbiAebzyN0AZ7o12+hvM0iFgSWWPDyPIQz1wG7BIeMWF@kasuga.mahoroba.org [IPv6:2001:2f0:104:8010:20b:97ff:fe2e:b521]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.8/8.13.8) with ESMTP/inet6 id l7D3k9E2023160 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Aug 2007 12:46:09 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Mon, 13 Aug 2007 12:46:09 +0900 Message-ID: From: Hajimu UMEMOTO To: Ion-Mihai Tetcu In-Reply-To: <20070811101241.39a411ce@it.buh.tecnik93.com> References: <200708101157.l7ABvfOX007851@repoman.freebsd.org> <20070811101241.39a411ce@it.buh.tecnik93.com> User-Agent: xcite1.57> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/22.1 (i386-pc-freebsd) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.2-STABLE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Mon_Aug_13_12:46:08_2007-1" X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (ameno.mahoroba.org [IPv6:2001:2f0:104:8010::1]); Mon, 13 Aug 2007 12:46:09 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00, DKIM_POLICY_SIGNSOME,DK_POLICY_SIGNSOME autolearn=ham version=3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on ameno.mahoroba.org Cc: cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, Akinori MUSHA , ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/databases/ruby-bdb Makefile distinfo pkg-plist X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2007 03:46:22 -0000 --Multipart_Mon_Aug_13_12:46:08_2007-1 Content-Type: text/plain; charset=US-ASCII Hi, >>>>> On Sat, 11 Aug 2007 10:12:41 +0300 >>>>> Ion-Mihai Tetcu said: itetcu> On Fri, 10 Aug 2007 11:57:41 +0000 (UTC) itetcu> Akinori MUSHA wrote: > knu 2007-08-10 11:57:41 UTC > > FreeBSD ports repository > > Modified files: > databases/ruby-bdb Makefile distinfo pkg-plist > Log: > Update to version 0.6.1, which reportedly supports the DB 4.6 > series. > Submitted by: matusita itetcu> On 6.2-STABLE #3: Wed Jun 20 09:52:32 EEST 2007 amd64 : itetcu> ===> ruby18-bdb-0.6.1 depends on file: /usr/local/bin/ruby18 - found itetcu> ===> Patching for ruby18-bdb-0.6.1 itetcu> ===> ruby18-bdb-0.6.1 depends on file: /usr/local/bin/ruby18 - found itetcu> ===> ruby18-bdb-0.6.1 depends on file: /usr/local/bin/ruby18 - found itetcu> ===> ruby18-bdb-0.6.1 depends on shared library: db-4.3.0 - found itetcu> ===> Configuring for ruby18-bdb-0.6.1 itetcu> ===> Running extconf.rb to configure itetcu> extconf.rb: Entering directory `src' itetcu> checking for db_version() in -ldb-4.3... yes itetcu> checking for rb_frame_this_func()... no itetcu> checking for rb_block_proc()... yes itetcu> checking for rb_io_stdio_file()... no itetcu> checking for rb_block_call()... no itetcu> checking for Array#insert... yes itetcu> checking for Array#values_at... yes itetcu> creating Makefile itetcu> extconf.rb: Leaving directory `src' itetcu> ===> Building for ruby18-bdb-0.6.1 itetcu> cc -I. -I. -I/usr/local/lib/ruby/1.8/amd64-freebsd6 -I. -DHAVE_RB_BLOCK_PROC -I/usr/local/include/db43 -I/usr/local/include -fPIC -O2 -pipe -march=athlon64 -fPIC -DHAVE_RB_ARY_INSERT -DHAVE_RB_ARY_VALUES_AT -c bdb.c itetcu> bdb.c: In function `Init_bdb': itetcu> bdb.c:515: error: `DB_REP_IGNORE' undeclared (first use in this function) itetcu> bdb.c:515: error: (Each undeclared identifier is reported only once itetcu> bdb.c:515: error: for each function it appears in.) itetcu> bdb.c:516: error: `DB_REP_JOIN_FAILURE' undeclared (first use in this function) itetcu> *** Error code 1 Though db43 has DB_REP_ISPERM, it doesn't have DB_REP_IGNORE nor DB_REP_JOIN_FAILURE. Please try the attached patch. Sincerely, --Multipart_Mon_Aug_13_12:46:08_2007-1 Content-Type: text/x-patch; charset=US-ASCII Content-Disposition: attachment; filename="patch-src::bdb.c" Content-Transfer-Encoding: 7bit Index: src/bdb.c diff -u -p src/bdb.c.orig src/bdb.c --- src/bdb.c.orig 2007-07-29 23:33:18.000000000 +0900 +++ src/bdb.c 2007-08-13 12:34:18.000000000 +0900 @@ -512,7 +512,11 @@ Init_bdb() #ifdef DB_REP_ISPERM rb_define_const(bdb_mDb, "REP_ISPERM", INT2FIX(DB_REP_ISPERM)); rb_define_const(bdb_mDb, "REP_NOTPERM", INT2FIX(DB_REP_NOTPERM)); +#endif +#ifdef DB_REP_IGNORE rb_define_const(bdb_mDb, "REP_IGNORE", INT2FIX(DB_REP_IGNORE)); +#endif +#ifdef DB_REP_JOIN_FAILURE rb_define_const(bdb_mDb, "REP_JOIN_FAILURE", INT2FIX(DB_REP_JOIN_FAILURE)); #endif rb_define_const(bdb_mDb, "EID_BROADCAST", INT2FIX(DB_EID_BROADCAST)); --Multipart_Mon_Aug_13_12:46:08_2007-1 Content-Type: text/plain; charset=US-ASCII -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ --Multipart_Mon_Aug_13_12:46:08_2007-1--