summaryrefslogtreecommitdiff
path: root/devel/opencm/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'devel/opencm/patches/patch-ah')
-rw-r--r--devel/opencm/patches/patch-ah16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/opencm/patches/patch-ah b/devel/opencm/patches/patch-ah
new file mode 100644
index 00000000000..95f48f12ce9
--- /dev/null
+++ b/devel/opencm/patches/patch-ah
@@ -0,0 +1,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 *