File: 20_src_stubs_c.patch

package info (click to toggle)
wordnet 1%3A3.0-39
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 25,452 kB
  • sloc: sh: 10,746; ansic: 5,882; yacc: 763; ruby: 634; lex: 421; python: 319; makefile: 137
file content (15 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Fix gcc4.x issue with constant strings
Author: Matthew Wilcox <matthew@wil.cx>
Closes: #389415

--- a/src/stubs.c
+++ b/src/stubs.c
@@ -14,7 +14,7 @@
 #include <tk.h>
 #include <wn.h>
 
-static char *Id = "$Id: stubs.c,v 1.7 2005/04/29 19:01:57 wn Exp $";
+static const char Id[] = "$Id: stubs.c,v 1.7 2005/04/29 19:01:57 wn Exp $";
 
 static char resultbuf[SEARCHBUF];