summaryrefslogtreecommitdiff
path: root/net/delegate/patches/patch-src_delegated_c
diff options
context:
space:
mode:
Diffstat (limited to 'net/delegate/patches/patch-src_delegated_c')
-rw-r--r--net/delegate/patches/patch-src_delegated_c15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/delegate/patches/patch-src_delegated_c b/net/delegate/patches/patch-src_delegated_c
new file mode 100644
index 00000000000..994272b6b56
--- /dev/null
+++ b/net/delegate/patches/patch-src_delegated_c
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_delegated_c,v 1.1 2012/06/30 07:05:09 dholland Exp $
+
+Fix build with gcc 4.5.
+
+--- src/delegated.c~ 2009-01-10 09:28:09.000000000 +0000
++++ src/delegated.c
+@@ -9917,7 +9917,7 @@ void mainProcTitle(Connection *Conn)
+ }
+
+ #define PSTITLE_END "--"
+-extern struct { defQStr(p); } pstitle_area;
++extern struct pstitle_thingy { defQStr(p); } pstitle_area;
+ extern int pstitle_size;
+ extern int pstitle_lengmax;
+ extern int pstitle_leng; /* length of original arguments */