Date: Mon, 12 Jun 2006 01:00:28 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/98828: Update port: print/pslib to 0.2.7 Message-ID: <20060612010028.a2a23430.tkato432@yahoo.com> Resent-Message-ID: <200606111610.k5BGAFn7024882@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 98828 >Category: ports >Synopsis: Update port: print/pslib to 0.2.7 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jun 11 16:10:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.11-RELEASE-p18 i386 >Organization: >Environment: >Description: - Update to version 0.2.7 New file: files/patch-src__bmp.c >How-To-Repeat: >Fix: diff -urN /usr/ports/print/pslib/Makefile print/pslib/Makefile --- /usr/ports/print/pslib/Makefile Fri Feb 24 00:46:09 2006 +++ print/pslib/Makefile Thu Jun 8 22:13:22 2006 @@ -7,8 +7,7 @@ # PORTNAME= pslib -PORTVERSION= 0.2.6 -PORTREVISION= 1 +PORTVERSION= 0.2.7 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -17,10 +16,12 @@ COMMENT= A C-library for generating multi page PostScript documents LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ - png.5:${PORTSDIR}/graphics/png + png.5:${PORTSDIR}/graphics/png \ + tiff.4:${PORTSDIR}/graphics/tiff USE_GNOME= gnomehack gnometarget intlhack pkgconfig -GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_AUTOTOOLS= libtool:15 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ ac_cv_prog_DOC_TO_MAN="" @@ -32,6 +33,11 @@ .else USE_GETTEXT= yes PLIST_SUB+= NLS="" +.endif + +post-patch: +.if defined(WITHOUT_NLS) + @${REINPLACE_CMD} -e 's|@USE_NLS@|no|g' ${WRKSRC}/po/Makefile.in.in .endif .include <bsd.port.mk> diff -urN /usr/ports/print/pslib/distinfo print/pslib/distinfo --- /usr/ports/print/pslib/distinfo Sat Nov 26 19:30:39 2005 +++ print/pslib/distinfo Thu Jun 8 12:50:51 2006 @@ -1,3 +1,3 @@ -MD5 (pslib-0.2.6.tar.gz) = 6727e5086c7e6795e7b0db6f49442a2e -SHA256 (pslib-0.2.6.tar.gz) = 48a61dd1f22fa6e2175e32560039ea9875121281f437377f60d74bc4aa92f334 -SIZE (pslib-0.2.6.tar.gz) = 486812 +MD5 (pslib-0.2.7.tar.gz) = 17a6a461276fd4eb3fd12ced926aeee1 +SHA256 (pslib-0.2.7.tar.gz) = 653ec4b1685500d3eb86dc89093854e1928f040b457556365bd52a31dda9a84d +SIZE (pslib-0.2.7.tar.gz) = 510671 diff -urN /usr/ports/print/pslib/files/patch-src__bmp.c print/pslib/files/patch-src__bmp.c --- /usr/ports/print/pslib/files/patch-src__bmp.c Thu Jan 1 09:00:00 1970 +++ print/pslib/files/patch-src__bmp.c Thu Jun 8 18:59:39 2006 @@ -0,0 +1,31 @@ +--- src/bmp.c.orig Mon Apr 24 23:25:31 2006 ++++ src/bmp.c Thu Jun 8 18:59:00 2006 +@@ -41,10 +41,28 @@ + #include <fcntl.h> + #include <unistd.h> + ++#if (defined(__unix__) || defined(unix)) && !defined(USG) ++#include <sys/param.h> ++#endif ++ ++#if defined(__FreeBSD__) && __FreeBSD_version >= 470000 ++#include <sys/endian.h> ++ ++#if __FreeBSD_version >= 500000 ++#define BMPSwabShort(x) bswap16(x) ++#define BMPSwabLong(x) bswap32(x) ++#else ++#define BMPSwabShort(x) (be16toh(x)) ++#define BMPSwabLong(x) (be32toh(x)) ++#endif ++#endif ++ ++#ifdef linux + #include <byteswap.h> + + #define BMPSwabShort(x) *x = bswap_16 (*x) + #define BMPSwabLong(x) *x = bswap_32 (*x) ++#endif + + #include <inttypes.h> + >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060612010028.a2a23430.tkato432>