freebsd-ports/devel/mcpp/files/patch-src__system.c
Olli Hauer e64a650594 - add patches to fix some security and functionality issues
PR:		ports/155934
Submitted by:	Michael Gmelin <freebsd _at_ grem.de>
Approved by:	Kiyoshi MATSUI <kmatsui _at_ t3.rim.or.jp> (maintainer)
2011-03-30 18:26:40 +00:00

21 lines
506 B
C

--- ./src/system.c.orig 2008-11-26 10:53:51.000000000 +0100
+++ ./src/system.c 2011-03-30 19:57:37.000000000 +0200
@@ -3858,6 +3858,9 @@
}
#endif
+FILEINFO* sh_file;
+int sh_line;
+
void sharp(
FILEINFO * sharp_file,
int flag /* Flag to append to the line for GCC */
@@ -3868,8 +3871,6 @@
* else (i.e. 'sharp_file' is NULL) 'infile'.
*/
{
- static FILEINFO * sh_file;
- static int sh_line;
FILEINFO * file;
int line;