summaryrefslogtreecommitdiff
path: root/devel/opencm/patches/patch-ah
blob: 95f48f12ce95e58e5239ed3a31921a4f946d2786 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$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 *