opnsense-ports/devel/mcpp/files/patch-src__system.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01: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;