Bug 20038

Summary: improving the print/ghostscript6 port
Product: Ports & Packages Reporter: root <root>
Component: Individual Port(s)Assignee: andreas <andreas>
Status: Closed FIXED    
Severity: Affects Only Me CC: andreas
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
file.diff
none
file.diff none

Description root 2000-07-19 17:40:04 UTC
	The software's own genarch program took several HOURS on
	my dual PIII-700  trying to figure out the  sizes of the
	primary and secondary caches. The sizes turned out to be
	rather wrong (definetly true for the L2 cache, may be L1
	is indeed 32Kb). Their algorithm  seems bogus to me, but
	most  importantly,  the  obtained values  are  NOT  USED
	anywhere in the GhostScript code... One of the submitted
	patches rips  the "cache size" section  from the genarch
	entirely.

	The attached modification and new patches also:
		. replace the use of mktemp/fopen with mkstemp/fdopen
		. modify the unix-gcc.mak so that there is no need for
		  GNU-make

Fix: Add the following files to the patches subdirectory, and apply the patch
at the end to the port itself.

begin patches/patch-ac:
This patch removes the  code that tries to figure out  the cache size of
the host. The  algorithm may very well fail under  some circumstances --
it  makes too  many  assumptions  about the  cache  behaviour, but  most
importantly,  the  figured out  values  ARE  NOT  USED anywhere  in  the
ghostscript code anymore.

	-mi

-mi

cvs diff: Diffing .
Comment 1 dannyboy freebsd_committer freebsd_triage 2000-07-20 15:02:46 UTC
Responsible Changed
From-To: freebsd-ports->andreas

Over to maintainer.
Comment 2 andreas freebsd_committer freebsd_triage 2000-08-24 21:45:23 UTC
State Changed
From-To: open->closed

committed changes, many thanks. 
Sorry for being so late, was busy.