From nobody@nwww.freebsd.org  Thu May  2 13:29:46 2002
Return-Path: <nobody@nwww.freebsd.org>
Received: from nwww.freebsd.org (nwww.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id E95A037B41D
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  2 May 2002 13:29:45 -0700 (PDT)
Received: from nwww.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g42KUphG070557
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 2 May 2002 13:30:51 -0700 (PDT)
	(envelope-from nobody@nwww.freebsd.org)
Received: (from nobody@localhost)
	by nwww.freebsd.org (8.12.2/8.12.2/Submit) id g42KUpCD070556;
	Thu, 2 May 2002 13:30:51 -0700 (PDT)
Message-Id: <200205022030.g42KUpCD070556@nwww.freebsd.org>
Date: Thu, 2 May 2002 13:30:51 -0700 (PDT)
From: KATO Tsuguru <tkato@prontomail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port: print/hp2xx to 3.4.2
X-Send-Pr-Version: www-1.0

>Number:         37688
>Category:       ports
>Synopsis:       Update port: print/hp2xx to 3.4.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 02 13:30:02 PDT 2002
>Closed-Date:    Sun Jun 16 23:52:07 PDT 2002
>Last-Modified:  Sun Jun 16 23:52:07 PDT 2002
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 3.4.2

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/print/hp2xx/Makefile print/hp2xx/Makefile
--- /usr/ports/print/hp2xx/Makefile	Tue Feb 12 18:57:39 2002
+++ print/hp2xx/Makefile	Sat Apr 27 02:56:03 2002
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	hp2xx
-PORTVERSION=	3.4.1
+PORTVERSION=	3.4.2
 PORTEPOCH=	1
 CATEGORIES=	print x11
 MASTER_SITES=	${MASTER_SITE_GNU}
diff -urN /usr/ports/print/hp2xx/distinfo print/hp2xx/distinfo
--- /usr/ports/print/hp2xx/distinfo	Tue Feb 12 18:57:39 2002
+++ print/hp2xx/distinfo	Sat Apr 27 03:08:38 2002
@@ -1 +1 @@
-MD5 (hp2xx-3.4.1.tar.gz) = f5a991b57a2a26935f85eb348cd3967a
+MD5 (hp2xx-3.4.2.tar.gz) = 73f69b385341556396f39b18c334cdd4
diff -urN /usr/ports/print/hp2xx/files/patch-aa print/hp2xx/files/patch-aa
--- /usr/ports/print/hp2xx/files/patch-aa	Tue Feb 12 18:57:40 2002
+++ print/hp2xx/files/patch-aa	Sat Apr 27 03:25:43 2002
@@ -1,5 +1,5 @@
---- Makefile.orig	Sun Dec 30 20:17:58 2001
-+++ Makefile	Wed Jan 30 20:59:01 2002
+--- Makefile.orig	Mon Apr  8 00:45:53 2002
++++ Makefile	Sat Apr 27 03:25:35 2002
 @@ -35,7 +35,7 @@
  
  # Installation sites (GNU conventions):
@@ -14,9 +14,9 @@
  # For non-gcc compilers, simply set CFLAGS = -O (to start with)
  #
 -CC       = gcc
--CFLAGS	= -O2 -g -I/usr/X11R6/include $(DEFINES) $(EX_DEFS) -Wall -pedantic -Wuninitialized -Wunused -Wreturn-type -Wmissing-prototypes -Wstrict-prototypes  
+-CFLAGS	= -O2 -m486 -I/usr/X11R6/include $(DEFINES) $(EX_DEFS) -Wall -pedantic -Wuninitialized -Wunused -Wreturn-type -Wmissing-prototypes -Wstrict-prototypes  
 +#CC       = gcc
-+#CFLAGS	= -O2 -g -I/usr/X11R6/include $(DEFINES) $(EX_DEFS) -Wall -pedantic -Wuninitialized -Wunused -Wreturn-type -Wmissing-prototypes -Wstrict-prototypes  
++#CFLAGS	= -O2 -m486 -I/usr/X11R6/include $(DEFINES) $(EX_DEFS) -Wall -pedantic -Wuninitialized -Wunused -Wreturn-type -Wmissing-prototypes -Wstrict-prototypes  
  
  #CFLAGS   = +O1 -Aa -D_HPUX_SOURCE -DSYSV -I/usr/include/X11R5 -I/usr/include/X11R4 $(DEFINES)
  
@@ -32,41 +32,12 @@
 -DEFINES   = -DUNIX -DHAS_UNIX_X11 
 +DEFINES   = -DUNIX -DHAS_UNIX_X11 -I${X11BASE}/include -I${LOCALBASE}/include
  PREVIEWER = to_x11
--ALL_LIBS  = -L/usr/lib/X11R6 -lX11 -lm     
+-ALL_LIBS  = -L/usr/lib/X11R6 -lpng -ltiff -ljpeg -lz -lX11 -lm     
 +ALL_LIBS  = -L${X11BASE}/lib -lX11 -lm -L${LOCALBASE}/lib -ltiff -lpng -lz
  #
  # Generic UNIX, no previewer
  #
-@@ -179,19 +179,19 @@
- #
- # Epson Esc/P2 support 
- #
--#EX_SRC	 += to_escp2.c
--#EX_OBJ	 += to_escp2.o
--#EX_DEFS += -DEPSON
-+EX_SRC	 += to_escp2.c
-+EX_OBJ	 += to_escp2.o
-+EX_DEFS += -DEPSON
- #
- # Include PNG support:
--#EX_SRC  += png.c to_png.c
--#EX_OBJ  += png.o to_png.o
--#EX_DEFS += -DPNG
-+EX_SRC  += png.c to_png.c
-+EX_OBJ  += png.o to_png.o
-+EX_DEFS += -DPNG
- #
- # Include TIFF support:
--#EX_SRC  +=  to_tif.c
--#EX_OBJ  += to_tif.o
--#EX_DEFS += -DTIF
-+EX_SRC  +=  to_tif.c
-+EX_OBJ  += to_tif.o
-+EX_DEFS += -DTIF
- #
- # Include ATARI extras:
- # EX_SRC	+= to_pic.c to_pac.c
-@@ -224,7 +224,8 @@
+@@ -228,7 +228,8 @@
  
  $(PROGRAM): $(OBJS)
  	$(CC) $(LFLAGS) $(OBJS) $(ALL_LIBS) -o $(PROGRAM)
@@ -76,7 +47,7 @@
  
  default:
  	@echo "This makefile needs manual configuration! Edit it now!
-@@ -248,9 +249,9 @@
+@@ -252,9 +253,9 @@
  #									#
  #########################################################################
  
@@ -89,7 +60,7 @@
  
  
  #########################################################################
-@@ -307,15 +308,11 @@
+@@ -311,15 +312,11 @@
  install:	install-bin install-info install-man
  
  install-bin:	$(PROGRAM)

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: lkoeller 
State-Changed-When: Sun Jun 16 23:49:45 PDT 2002 
State-Changed-Why:  

o Commit of updated port for hp2xx  


http://www.freebsd.org/cgi/query-pr.cgi?pr=37688 
>Unformatted:
