FreeBSD Bugzilla – Attachment 138838 Details for
Bug 184921
databases/ruby-bdb: breaks on patchlevel upgrades of Berkeley DB
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
ruby-bdb.patch.txt
ruby-bdb.patch.txt (text/plain; charset=us-ascii), 1.72 KB, created by
Steve Wills
on 2013-12-18 16:36:43 UTC
(
hide
)
Description:
ruby-bdb.patch.txt
Filename:
MIME Type:
Creator:
Steve Wills
Created:
2013-12-18 16:36:43 UTC
Size:
1.72 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 336733) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= bdb > PORTVERSION= 0.6.6 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= databases ruby > MASTER_SITES= ftp://ftp.idaemons.org/pub/distfiles/ruby/ \ > http://idaemons.org/distfiles/ruby/ \ >Index: files/patch-src__bdb.c >=================================================================== >--- files/patch-src__bdb.c (revision 0) >+++ files/patch-src__bdb.c (working copy) >@@ -0,0 +1,17 @@ >+--- ./src/bdb.c.orig 2013-12-18 16:01:32.076994656 +0000 >++++ ./src/bdb.c 2013-12-18 16:01:47.155993835 +0000 >+@@ -166,11 +166,10 @@ >+ rb_raise(rb_eNameError, "module already defined"); >+ } >+ version = rb_tainted_str_new2(db_version(&major, &minor, &patch)); >+- if (major != DB_VERSION_MAJOR || minor != DB_VERSION_MINOR >+- || patch != DB_VERSION_PATCH) { >++ if (major != DB_VERSION_MAJOR || minor != DB_VERSION_MINOR) { >+ rb_raise(rb_eNotImpError, "\nBDB needs compatible versions of libdb & db.h\n\tyou have db.h version %d.%d.%d and libdb version %d.%d.%d\n", >+- DB_VERSION_MAJOR, DB_VERSION_MINOR, DB_VERSION_PATCH, >+- major, minor, patch); >++ DB_VERSION_MAJOR, DB_VERSION_MINOR, >++ major, minor); >+ } >+ bdb_mMarshal = rb_const_get(rb_cObject, rb_intern("Marshal")); >+ bdb_id_current_db = rb_intern("__bdb_current_db__"); > >Property changes on: files/patch-src__bdb.c >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 184921
: 138838 |
138839