Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2002 08:32:47 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/42741: Update port: print/hpijs to 1.2.2
Message-ID:  <200209131532.g8DFWlJB026154@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         42741
>Category:       ports
>Synopsis:       Update port: print/hpijs to 1.2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 13 08:42:46 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.2.2

New file:
files/patch-global_types.h

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/print/hpijs/Makefile print/hpijs/Makefile
--- /usr/ports/print/hpijs/Makefile	Tue Sep 10 20:25:09 2002
+++ print/hpijs/Makefile	Wed Sep 11 01:45:11 2002
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	hpijs
-PORTVERSION=	1.2.1
+PORTVERSION=	1.2.2
 CATEGORIES=	print
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	hpinkjet
@@ -22,7 +22,7 @@
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 
-CPPFLAGS=	`${IJS_CONFIG} --cflags`
+CPPFLAGS=	`${IJS_CONFIG} --cflags` -DHAVE_INTTYPES_H=1
 LDFLAGS=	`${IJS_CONFIG} --libs`
 
 post-patch:
@@ -34,9 +34,6 @@
 		 s| ijs_server.[cho]||g ; \
 		 s| ijs_exec_unix.[co]||g' ${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e 's|#include <malloc.h>||g' ${WRKSRC}/platform.h
-.for file in global_types.h dj*.cpp phobos_cmaps.cpp
-	@${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|g' ${WRKSRC}/${file}
-.endfor
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/hpijs ${PREFIX}/bin
diff -urN /usr/ports/print/hpijs/distinfo print/hpijs/distinfo
--- /usr/ports/print/hpijs/distinfo	Tue Sep 10 20:25:09 2002
+++ print/hpijs/distinfo	Wed Sep 11 01:26:24 2002
@@ -1 +1 @@
-MD5 (ghostscript/hpijs-1.2.1.tar.gz) = 09d99ba5ed63fd270f1aed27823fb0fb
+MD5 (ghostscript/hpijs-1.2.2.tar.gz) = 5eae1f6ec44dce9a5ca250a18c7e3be6
diff -urN /usr/ports/print/hpijs/files/patch-global_types.h print/hpijs/files/patch-global_types.h
--- /usr/ports/print/hpijs/files/patch-global_types.h	Thu Jan  1 09:00:00 1970
+++ print/hpijs/files/patch-global_types.h	Wed Sep 11 02:05:37 2002
@@ -0,0 +1,17 @@
+--- global_types.h.orig	Thu Sep  5 08:27:18 2002
++++ global_types.h	Wed Sep 11 02:05:22 2002
+@@ -46,10 +46,14 @@
+ #include "models.h"
+ #include "modes.h"
+ 
++#if HAVE_INTTYPES_H
++    #include <inttypes.h>
++#else
+ #if HAVE_STDINT_H
+     #include <stdint.h>
+ #else
+     typedef unsigned long uint32_t;
++#endif
+ #endif
+ 
+ // ** Defines

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209131532.g8DFWlJB026154>