blob: 0f070ebc60bfbc979cd02af567be83ffc2be3acd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-fixincludes_inclhack.def,v 1.1 2014/05/31 13:06:25 ryoon Exp $
--- fixincludes/inclhack.def.orig 2013-05-31 11:43:36.000000000 +0000
+++ fixincludes/inclhack.def
@@ -3213,9 +3213,9 @@ fix = {
mach = "*-*-solaris2.*";
files = complex.h;
sed = "/#if[ \t]*!defined(__cplusplus)/c\\\n"
- "#ifdef\t__cplusplus\\\nextern \"C\" {\\\n#endif";
+ "#ifdef\t__cplusplus\\\nextern \"C\" {\\\n#endif\\\n";
sed = "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n"
- "#ifdef\t__cplusplus\\\n}\\\n#endif";
+ "#ifdef\t__cplusplus\\\n}\\\n#endif\\\n";
test_text = "#if !defined(__cplusplus)\n"
"#endif /* !defined(__cplusplus) */";
};
|