patch-fixincludes_fixincl_x 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. $OpenBSD: patch-fixincludes_fixincl_x,v 1.1 2011/12/09 22:45:18 pascal Exp $
  2. Generated from inclhack.def. Do not edit this file directly; instead,
  3. patch inclhack.def, regenerate this file using "genfixes" and then generate
  4. a patch from it.
  5. --- fixincludes/fixincl.x.orig Fri Dec 9 15:32:02 2011
  6. +++ fixincludes/fixincl.x Fri Dec 9 15:32:08 2011
  7. @@ -2,11 +2,11 @@
  8. *
  9. * DO NOT EDIT THIS FILE (fixincl.x)
  10. *
  11. - * It has been AutoGen-ed Monday November 8, 2010 at 08:33:47 PM MET
  12. + * It has been AutoGen-ed Friday December 9, 2011 at 03:18:29 PM CET
  13. * From the definitions inclhack.def
  14. * and the template file fixincl
  15. */
  16. -/* DO NOT SVN-MERGE THIS FILE, EITHER Mon Nov 8 20:33:47 MET 2010
  17. +/* DO NOT SVN-MERGE THIS FILE, EITHER Fri Dec 9 15:18:29 CET 2011
  18. *
  19. * You must regenerate it. Use the ./genfixes script.
  20. *
  21. @@ -6256,12 +6256,14 @@ tSCC* apzSolaris_Complex_CxxMachs[] = {
  22. * Fix Command Arguments for Solaris_Complex_Cxx
  23. */
  24. static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
  25. - "-e", "/#if[ \t]*!defined(__cplusplus)/c#ifdef\t__cplusplus\\\n\
  26. + "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
  27. +#ifdef\t__cplusplus\\\n\
  28. extern \"C\" {\\\n\
  29. -#endif",
  30. - "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c#ifdef\t__cplusplus\\\n\
  31. +#endif\\\n",
  32. + "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
  33. +#ifdef\t__cplusplus\\\n\
  34. }\\\n\
  35. -#endif",
  36. +#endif\\\n",
  37. (char*)NULL };
  38. /* * * * * * * * * * * * * * * * * * * * * * * * * *