From 588807e625369b49ba0ee0e27f835f38e4b454f4 Mon Sep 17 00:00:00 2001 From: Steve Arnold Date: Mon, 19 May 2008 04:46:09 +0000 Subject: re-adding lost patch for gcc warnings (Portage version: 2.1.5_rc6) --- dev-util/rapidsvn/ChangeLog | 6 +++++- dev-util/rapidsvn/files/rapidsvn-sar.patch | 24 ++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 dev-util/rapidsvn/files/rapidsvn-sar.patch (limited to 'dev-util') diff --git a/dev-util/rapidsvn/ChangeLog b/dev-util/rapidsvn/ChangeLog index 78cbde2916e6..8e06c6eda27e 100644 --- a/dev-util/rapidsvn/ChangeLog +++ b/dev-util/rapidsvn/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/rapidsvn # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/rapidsvn/ChangeLog,v 1.57 2008/05/17 06:41:02 nerdboy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/rapidsvn/ChangeLog,v 1.58 2008/05/19 04:46:09 nerdboy Exp $ + + 19 May 2008; Steve Arnold +files/rapidsvn-sar.patch: + re-adding lost patch for gcc warnings (bug #216800). Thanks to + Rion for the contributed patch. *rapidsvn-0.9.6-r1 (17 May 2008) diff --git a/dev-util/rapidsvn/files/rapidsvn-sar.patch b/dev-util/rapidsvn/files/rapidsvn-sar.patch new file mode 100644 index 000000000000..04c40f961ca4 --- /dev/null +++ b/dev-util/rapidsvn/files/rapidsvn-sar.patch @@ -0,0 +1,24 @@ +--- src/svncpp/client_status.cpp.orig 2008-03-08 03:05:30.000000000 +0500 ++++ src/svncpp/client_status.cpp 2008-04-08 00:48:41.000000000 +0600 +@@ -66,14 +66,18 @@ + hi != NULL; + hi = apr_hash_next (hi)) + { +- char *path; ++ typedef union { ++ char *cpath; ++ void *vpath; ++ } upath; ++ upath path; + void *val; +- apr_hash_this (hi, (const void **)&path, NULL, &val); ++ apr_hash_this (hi, (const void **)&path.vpath, NULL, &val); + + svn_log_changed_path_t *log_item = reinterpret_cast (val); + + entry.changedPaths.push_back ( +- LogChangePathEntry (path, ++ LogChangePathEntry (path.cpath, + log_item->action, + log_item->copyfrom_path, + log_item->copyfrom_rev) ); -- cgit v1.2.3-65-gdbad