diff options
author | joerg <joerg@pkgsrc.org> | 2012-05-04 16:30:28 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-05-04 16:30:28 +0000 |
commit | ed43b8c8aebdd3c15b5ea1718cd14dc60a5e76a3 (patch) | |
tree | 70b6c07c0500af6745f3343bb198f588488dd002 /print/pslib | |
parent | bbedc2e5cfc20230bbaf0c0e8a467db05cd8c725 (diff) | |
download | pkgsrc-ed43b8c8aebdd3c15b5ea1718cd14dc60a5e76a3.tar.gz |
Match function return type with actual usage.
Diffstat (limited to 'print/pslib')
-rw-r--r-- | print/pslib/distinfo | 3 | ||||
-rw-r--r-- | print/pslib/patches/patch-src_pslib.c | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/print/pslib/distinfo b/print/pslib/distinfo index 7599ffc30fd..86fa844424a 100644 --- a/print/pslib/distinfo +++ b/print/pslib/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2009/10/31 14:26:30 tnn Exp $ +$NetBSD: distinfo,v 1.3 2012/05/04 16:30:28 joerg Exp $ SHA1 (pslib-0.2.6.tar.gz) = 0bcd220fa30a3faec9dd1860434c62596043aa8a RMD160 (pslib-0.2.6.tar.gz) = 14afdfdca94d752499d0d38b946d3b5f469b34ae Size (pslib-0.2.6.tar.gz) = 486812 bytes SHA1 (patch-aa) = 3c536e0f4f3931a4f49c96365ce0a080df1ee6af +SHA1 (patch-src_pslib.c) = 19d6d6faf9efed67dcf00b7fa9710a842cfa237b diff --git a/print/pslib/patches/patch-src_pslib.c b/print/pslib/patches/patch-src_pslib.c new file mode 100644 index 00000000000..7aa958d835d --- /dev/null +++ b/print/pslib/patches/patch-src_pslib.c @@ -0,0 +1,13 @@ +$NetBSD: patch-src_pslib.c,v 1.1 2012/05/04 16:30:28 joerg Exp $ + +--- src/pslib.c.orig 2012-04-27 21:05:22.000000000 +0000 ++++ src/pslib.c +@@ -5256,7 +5256,7 @@ PS_end_font(PSDoc *psdoc) { + /* PS_begin_glyph() {{{ + * starts a new glyph + */ +-PSLIB_API int PSLIB_CALL ++PSLIB_API void PSLIB_CALL + PS_begin_glyph(PSDoc *psdoc, const char *glyphname, double wx, double llx, double lly, double urx, double ury) { + if(NULL == psdoc) { + ps_error(psdoc, PS_RuntimeError, _("PSDoc is null.")); |