summaryrefslogtreecommitdiffstats
path: root/print/psmark
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2003-05-12 22:28:35 +0000
committeranholt <anholt@FreeBSD.org>2003-05-12 22:28:35 +0000
commitc50546dc2e69aa072c63e235e5d8aa148e93d499 (patch)
treebc9ab3e60e6819d2d1b03c712916088759ed090c /print/psmark
parente5a47228ba1bed38cddbf9334eebe5766b46e602 (diff)
downloadFreeBSD-ports-c50546dc2e69aa072c63e235e5d8aa148e93d499.zip
FreeBSD-ports-c50546dc2e69aa072c63e235e5d8aa148e93d499.tar.gz
Fix with newer gcc by converting multiline string literals to string
concatenation. Removes extra whitespace in the string.
Diffstat (limited to 'print/psmark')
-rw-r--r--print/psmark/Makefile2
-rw-r--r--print/psmark/files/patch-psmark.c15
2 files changed, 16 insertions, 1 deletions
diff --git a/print/psmark/Makefile b/print/psmark/Makefile
index 3cdb8e1..a5e578f 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 0000000..1bbd3a3
--- /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);
OpenPOWER on IntegriCloud