diff options
| author | Hiroki Sato <hrs@FreeBSD.org> | 2014-11-23 06:14:21 +0000 |
|---|---|---|
| committer | Hiroki Sato <hrs@FreeBSD.org> | 2014-11-23 06:14:21 +0000 |
| commit | 118978bf4c6dbf7ffc92a190aab60942c56093f4 (patch) | |
| tree | 129b54759668029d5b4e2c90770cbd6d51066db8 /print/ghostscript7/files/patch-src-gxclrast.c | |
| parent | Upgrade to 4.7.1 (diff) | |
Resurrect print/ghostscript7{,-commfont,-jpnfont,-korfont,-nox11}.
Diffstat (limited to '')
| -rw-r--r-- | print/ghostscript7/files/patch-src-gxclrast.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/print/ghostscript7/files/patch-src-gxclrast.c b/print/ghostscript7/files/patch-src-gxclrast.c new file mode 100644 index 000000000000..59d5053ad305 --- /dev/null +++ b/print/ghostscript7/files/patch-src-gxclrast.c @@ -0,0 +1,15 @@ +--- src/gxclrast.c.orig 2013-04-30 09:13:13.000000000 +0900 ++++ src/gxclrast.c 2013-04-30 09:13:41.000000000 +0900 +@@ -87,10 +87,10 @@ + private long + cmd_get_w(const byte * p, const byte ** rp) + { +- long val = *p++ & 0x7f; ++ int val = *p++ & 0x7f; + int shift = 7; + +- for (; val += (long)(*p & 0x7f) << shift, *p++ > 0x7f; shift += 7); ++ for (; val += (int)(*p & 0x7f) << shift, *p++ > 0x7f; shift += 7); + *rp = p; + return val; + } |
