summaryrefslogtreecommitdiff
path: root/emulators/psim-freebsd/files/patch-lf.c
diff options
context:
space:
mode:
authorMark Peek <mp@FreeBSD.org>2003-11-21 01:29:18 +0000
committerMark Peek <mp@FreeBSD.org>2003-11-21 01:29:18 +0000
commitbed69ef0ec9e81ca9761172af46ba87f25c272a7 (patch)
treed55b4daad9b3e366bdec5c9aa1e38b761345aab1 /emulators/psim-freebsd/files/patch-lf.c
parentscponly dist includes a script which setup chroot cage, which (diff)
Unbreak this port. The latest gcc needs explicit newline sequences (\n\) at
the end of each line of multi-line character strings.
Notes
Notes: svn path=/head/; revision=94584
Diffstat (limited to '')
-rw-r--r--emulators/psim-freebsd/files/patch-lf.c53
1 files changed, 53 insertions, 0 deletions
diff --git a/emulators/psim-freebsd/files/patch-lf.c b/emulators/psim-freebsd/files/patch-lf.c
new file mode 100644
index 000000000000..49fe575089df
--- /dev/null
+++ b/emulators/psim-freebsd/files/patch-lf.c
@@ -0,0 +1,53 @@
+--- sim/ppc/lf.c 2003/10/20 23:08:19 1.1
++++ sim/ppc/lf.c 2003/10/20 23:09:15
+@@ -273,28 +273,28 @@
+ switch (file->type) {
+ case lf_is_c:
+ case lf_is_h:
+- nr += lf_printf(file, "\
+-/* This file is part of the program psim.
+-
+- Copyright (C) 1994-1995, Andrew Cagney <cagney@highland.com.au>
+-
+- This program is free software; you can redistribute it and/or modify
+- it under the terms of the GNU General Public License as published by
+- the Free Software Foundation; either version 2 of the License, or
+- (at your option) any later version.
+-
+- This program is distributed in the hope that it will be useful,
+- but WITHOUT ANY WARRANTY; without even the implied warranty of
+- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+- GNU General Public License for more details.
+-
+- You should have received a copy of the GNU General Public License
+- along with this program; if not, write to the Free Software
+- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+-
+- --
+-
+- This file was generated by the program %s */
++ nr += lf_printf(file, "\n\
++/* This file is part of the program psim.\n\
++\n\
++ Copyright (C) 1994-1995, Andrew Cagney <cagney@highland.com.au>\n\
++\n\
++ This program is free software; you can redistribute it and/or modify\n\
++ it under the terms of the GNU General Public License as published by\n\
++ the Free Software Foundation; either version 2 of the License, or\n\
++ (at your option) any later version.\n\
++\n\
++ This program is distributed in the hope that it will be useful,\n\
++ but WITHOUT ANY WARRANTY; without even the implied warranty of\n\
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\
++ GNU General Public License for more details.\n\
++ \n\
++ You should have received a copy of the GNU General Public License\n\
++ along with this program; if not, write to the Free Software\n\
++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n\
++ \n\
++ --\n\
++\n\
++ This file was generated by the program %s */\n\
+ ", filter_filename(file->program));
+ break;
+ default: