From b2d863c00ab4ddcedd643220895c1727e61be439 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 12 May 2003 22:28:35 +0000 Subject: Fix with newer gcc by converting multiline string literals to string concatenation. Removes extra whitespace in the string. --- print/psmark/Makefile | 2 +- print/psmark/files/patch-psmark.c | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 print/psmark/files/patch-psmark.c (limited to 'print/psmark') diff --git a/print/psmark/Makefile b/print/psmark/Makefile index 3cdb8e14a0f9..a5e578f074ac 100644 --- a/print/psmark/Makefile +++ b/print/psmark/Makefile @@ -8,7 +8,7 @@ PORTNAME= psmark PORTVERSION= 2.1 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://www.antitachyon.com/download/ DISTNAME= ${PORTNAME}-v${PORTVERSION} diff --git a/print/psmark/files/patch-psmark.c b/print/psmark/files/patch-psmark.c new file mode 100644 index 000000000000..1bbd3a3b1b0e --- /dev/null +++ b/print/psmark/files/patch-psmark.c @@ -0,0 +1,15 @@ +--- psmark.c.orig Mon May 12 15:31:28 2003 ++++ psmark.c Mon May 12 15:31:35 2003 +@@ -97,9 +97,9 @@ + progname); + fprintf(stderr,"example:\n %s -i test.ps -o output.ps -b 0.4 -s 15 \"vertical label\"" + "\n\n",progname); +- fprintf(stderr,"Notes: The offsets are measured from the bottom left hand corner, but +- they are not in sync with the page corner: some fiddling is required +- to get text to appear right in the corner.\n" ++ fprintf(stderr,"Notes: The offsets are measured from the bottom left hand corner, but\n" ++ "they are not in sync with the page corner: some fiddling is required\n" ++ "to get text to appear right in the corner.\n" + ); + + exit(error ? EXIT_FAILURE : EXIT_SUCCESS); -- cgit v1.2.3