pkgsrc/devel/opencm/patches/patch-ah
2007-03-17 15:13:48 +00:00

16 lines
466 B
Text

$NetBSD: patch-ah,v 1.1 2007/03/17 15:13:48 rillig Exp $
gcc4 complains:
repos/AuthRepos.c:70: error: invalid lvalue in assignment
--- src/repos/AuthRepos.c.orig 2003-03-30 00:53:13.000000000 +0100
+++ src/repos/AuthRepos.c 2007-03-17 15:59:25.000000000 +0100
@@ -67,7 +67,7 @@ authrepos_disconnect(Repository *r)
THROW(ExConnLost, "Repository has been disconnected");
repos_Disconnect(_REPOS_);
- _REPOS_ = 0;
+ r->info = 0;
}
static const char *