Browse Source

upgrading package: subversion 0.16.0 -> 0.18.0

master
parent
commit
4d59d7890d
  1. 41
      subversion/subversion.patch
  2. 13
      subversion/subversion.spec

41
subversion/subversion.patch

@ -1,41 +0,0 @@
--- apr-util/dbm/apr_dbm_berkeleydb.c.orig 2002-12-04 21:53:07.000000000 +0100
+++ apr-util/dbm/apr_dbm_berkeleydb.c 2002-12-05 20:35:36.000000000 +0100
@@ -73,9 +73,7 @@
*/
#if defined(DB_VERSION_MAJOR) && (DB_VERSION_MAJOR == 4)
-/* At this time, there are no differences from our perspective between
- * DB3 and DB4. */
-#define DB_VER 3
+#define DB_VER 4
#elif defined(DB_VERSION_MAJOR) && (DB_VERSION_MAJOR == 3)
#define DB_VER 3
#elif defined(DB_VERSION_MAJOR) && (DB_VERSION_MAJOR == 2)
@@ -193,7 +191,17 @@
{
int dberr;
-#if DB_VER == 3
+#if DB_VER == 4 && DB_VERSION_MINOR >= 1
+ if ((dberr = db_create(&file.bdb, NULL, 0)) == 0) {
+ if ((dberr = (*file.bdb->open)(file.bdb, NULL, pathname, NULL,
+ DB_HASH, dbmode,
+ apr_posix_perms2mode(perm))) != 0) {
+ /* close the DB handler */
+ (void) (*file.bdb->close)(file.bdb, 0);
+ }
+ }
+ file.curs = NULL;
+#elif DB_VER == 3
if ((dberr = db_create(&file.bdb, NULL, 0)) == 0) {
if ((dberr = (*file.bdb->open)(file.bdb, pathname, NULL,
DB_HASH, dbmode,
@@ -339,7 +347,7 @@
dberr = (*f->bdb->seq)(f->bdb, &first, &data, R_FIRST);
#else
if ((dberr = (*f->bdb->cursor)(f->bdb, NULL, &f->curs
-#if DB_VER == 3
+#if (DB_VER == 3 || DB_VER == 4)
, 0
#elif (DB_VERSION_MAJOR == 2) && (DB_VERSION_MINOR > 5)
, 0

13
subversion/subversion.spec

@ -24,9 +24,9 @@
##
# package version
%define V_release 0.16.0
%define V_subdir 15/2123
%define V_built 3987
%define V_release 0.18.0
%define V_subdir 15/2979
%define V_built 4973
# package information
Name: subversion
@ -38,11 +38,10 @@ Distribution: OpenPKG [EVAL]
Group: SCM
License: Apache/BSD
Version: %{V_release}
Release: 20030114
Release: 20030222
# list of sources
Source0: http://subversion.tigris.org/files/documents/%{V_subdir}/subversion-r%{V_built}.tar.gz
Patch0: subversion.patch
# build information
Prefix: %{l_prefix}
@ -54,11 +53,11 @@ AutoReqProv: no
%description
Subversion is a new version control system that is a compelling
replacement for CVS.
replacement for CVS. Currently this package only provides the
Subversion client.
%prep
%setup -q -n subversion-r%{V_built}
%patch -p0
%build
CC="%{l_cc}" \

Loading…
Cancel
Save