pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/pslib Match function return type with actual usage.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d92d3f7963e5
branches:  trunk
changeset: 603362:d92d3f7963e5
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri May 04 16:30:28 2012 +0000

description:
Match function return type with actual usage.

diffstat:

 print/pslib/distinfo                  |   3 ++-
 print/pslib/patches/patch-src_pslib.c |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 48ad421abf6e -r d92d3f7963e5 print/pslib/distinfo
--- a/print/pslib/distinfo      Fri May 04 16:29:14 2012 +0000
+++ b/print/pslib/distinfo      Fri May 04 16:30:28 2012 +0000
@@ -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 -r 48ad421abf6e -r d92d3f7963e5 print/pslib/patches/patch-src_pslib.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/pslib/patches/patch-src_pslib.c     Fri May 04 16:30:28 2012 +0000
@@ -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."));



Home | Main Index | Thread Index | Old Index