[MacPorts] #18859: freetype-2.3.9 always use /..namedfork/rsrc for resource forks
#18859: freetype-2.3.9 always use /..namedfork/rsrc for resource forks ------------------------------+--------------------------------------------- Reporter: blb@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.8.0 Keywords: | Port: freetype ------------------------------+--------------------------------------------- Attached is a patch to print/freetype which changes the way it accesses resources forks, by always using {{{/..namedfork/rsrc}}} instead of the old {{{/rsrc}}}. This should get rid of the occasional system log entries like {{{ kernel[0]: Arial/rsrc: file access by '/rsrc' was deprecated in 10.4 }}} Patch is rooted in print/freetype and updates the Portfile and adds files /patch-src_base_ftrfork.c.diff. Note, I'm not sure if {{{/..namedfork/rsrc}}} works on 10.3, so if it doesn't this should only be applied for 10.4+. -- Ticket URL: <http://trac.macports.org/ticket/18859> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18859: freetype-2.3.9 always use /..namedfork/rsrc for resource forks ------------------------------+--------------------------------------------- Reporter: blb@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.8.0 Keywords: | Port: freetype ------------------------------+--------------------------------------------- Comment(by ryandesign@…): Have you already reported this issue to the developers of freetype? If not, I can do so. -- Ticket URL: <http://trac.macports.org/ticket/18859#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18859: freetype-2.3.9 always use /..namedfork/rsrc for resource forks ------------------------------+--------------------------------------------- Reporter: blb@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.8.0 Keywords: | Port: freetype ------------------------------+--------------------------------------------- Comment(by blb@…): I haven't, since it is only a warning (though been bugging me for a while) and I wasn't sure how far back they want to be supporting, OS-version- wise. -- Ticket URL: <http://trac.macports.org/ticket/18859#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18859: freetype-2.3.9 always use /..namedfork/rsrc for resource forks ------------------------------+--------------------------------------------- Reporter: blb@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: freetype ------------------------------+--------------------------------------------- Comment(by ryandesign@…): Sorry, I forgot this ticket. Can you tell me how to reproduce the problem that your patch fixes? -- Ticket URL: <http://trac.macports.org/ticket/18859#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18859: freetype-2.3.9 always use /..namedfork/rsrc for resource forks ------------------------------+--------------------------------------------- Reporter: blb@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: freetype ------------------------------+--------------------------------------------- Comment(by blb@…): Simply running {{{ ${prefix}/bin/fc-cache -f }}} should result in (at least on 10.6.2) the following in /var/log/kernel.log (and many more lines): {{{ Dec 8 19:41:25 ninagal kernel[0]: hfs: font0419.spd/rsrc: file access by '/rsrc' was deprecated in 10.4 }}} Other OS versions may log to console or system instead. -- Ticket URL: <http://trac.macports.org/ticket/18859#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18859: freetype-2.3.9 always use /..namedfork/rsrc for resource forks -------------------------------+-------------------------------------------- Reporter: blb@… | Owner: ryandesign@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: Port: freetype | -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Thanks, I see that now in kernel.log. (I was looking in system.log before.) Committed in r61335. -- Ticket URL: <http://trac.macports.org/ticket/18859#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts