Package: ruby-bdb / 0.6.6-1

Metadata

Package Version Patches format
ruby-bdb 0.6.6-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
doc in a single dir.patch | (download)

bdb.rd | 18 9 + 9 - 0 !
1 file changed, 9 insertions(+), 9 deletions(-)

---
dont check patch level.patch | (download)

bdbxml1/bdbxml.cc | 6 2 + 4 - 0 !
bdbxml2/bdbxml.cc | 6 2 + 4 - 0 !
src/bdb.c | 5 4 + 1 - 0 !
3 files changed, 8 insertions(+), 9 deletions(-)

---
fail make test if tests fail.patch | (download)

extconf.rb | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
add support for libdb_version_5_and_higher.patch | (download)

docs/env.rb | 8 4 + 4 - 0 !
docs/transaction.rb | 6 3 + 3 - 0 !
tests/btree.rb | 4 2 + 2 - 0 !
tests/hash.rb | 4 2 + 2 - 0 !
tests/lock.rb | 2 1 + 1 - 0 !
tests/marshal.rb | 2 1 + 1 - 0 !
6 files changed, 13 insertions(+), 13 deletions(-)

---
remove_constants_safely.patch | (download)

bdbxml2/features.rb | 6 5 + 1 - 0 !
src/features.rb | 12 10 + 2 - 0 !
2 files changed, 15 insertions(+), 3 deletions(-)

 fixes ftbfs constant conftest_c was not yet defined

fix inheritance.patch | (download)

src/common.c | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 fix inheritance of some helper methods

remove src dir from tests load path.patch | (download)

tests/btree.rb | 2 1 + 1 - 0 !
tests/hash.rb | 2 1 + 1 - 0 !
tests/lock.rb | 2 1 + 1 - 0 !
tests/log.rb | 2 1 + 1 - 0 !
tests/marshal.rb | 2 1 + 1 - 0 !
tests/queue.rb | 2 1 + 1 - 0 !
tests/recno.rb | 2 1 + 1 - 0 !
tests/recnum.rb | 2 1 + 1 - 0 !
8 files changed, 8 insertions(+), 8 deletions(-)

 remove src dir from tests load path
 This fixes segfault on tests, due to the wrong dinamic library version
 getting loaded.

dont rely on ruby objects to accommodate c data.patch | (download)

src/bdb.h | 21 21 + 0 - 0 !
src/common.c | 76 75 + 1 - 0 !
src/env.c | 75 74 + 1 - 0 !
src/lock.c | 27 19 + 8 - 0 !
src/log.c | 1 1 + 0 - 0 !
src/transaction.c | 67 65 + 2 - 0 !
6 files changed, 255 insertions(+), 12 deletions(-)

 don't use ruby objects to accommodate c data
 Fix segfaults, due to incorrect memory access and the use of ruby level functions,
 in case the ruby objects were not cleanly (explicitily) closed.

use same encoding for dup test.patch | (download)

tests/marshal.rb | 12 6 + 6 - 0 !
1 file changed, 6 insertions(+), 6 deletions(-)

 use the same encoding for key index on count test

update bdb versions.patch | (download)

src/extconf.rb | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 update the list of bdb versions

fix integer overflow on bdb_h_hash callback.patch | (download)

docs/common.rb | 2 1 + 1 - 0 !
docs/hashlike.rd | 2 1 + 1 - 0 !
src/common.c | 5 4 + 1 - 0 !
3 files changed, 6 insertions(+), 3 deletions(-)

 fix integer overflow on bdb_h_hash function
 Simply truncate the results and add a comment about this fact on the docs

dont conflict helpers with test funcs.patch | (download)

tests/lock.rb | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 rename tests helpers functions
 Rename the helpers that were executed as tests

add ruby2.1 support.patch | (download)

src/common.c | 23 12 + 11 - 0 !
src/compat.h | 11 11 + 0 - 0 !
2 files changed, 23 insertions(+), 11 deletions(-)

 add support for ruby2.1