Bug 161036

Summary: devel/astyle doesn't build
Product: Ports & Packages Reporter: graudeejs
Component: Individual Port(s)Assignee: Lars Engels <lme>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description graudeejs 2011-09-26 17:40:09 UTC
c++ -DNDEBUG -W -Wall -fno-rtti -fno-exceptions -O2 -pipe -W -Wall -fno-rtti -fno-exceptions -fno-strict-aliasing -c -o obj/ASLocalizer.o ../../src/ASLocalizer.cpp
./../src/ASLocalizer.cpp:1: error: stray '\357' in program
./../src/ASLocalizer.cpp:1: error: stray '\273' in program
./../src/ASLocalizer.cpp:1: error: stray '\277' in program
gmake: *** [obj/ASLocalizer.o] Error 1
*** Error code 1

I've no idea what this error means

(ports are up to date)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-09-26 17:40:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lme

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Václav Haisman 2011-10-08 21:13:49 UTC
This is a problem with Unicode BOM mark:
<http://sourceforge.net/tracker/index.php?func=detail&aid=3303265&group_id=2319&atid=102319>.

I have managed to get it fixed by the following snippet on /etc/make.conf:

.if ${.CURDIR:M*/devel/astyle*}
USE_GCC=4.4+
.endif

-- 
VZ
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-10-09 12:45:12 UTC
lme         2011-10-09 11:44:51 UTC

  FreeBSD ports repository

  Modified files:
    devel/astyle         Makefile 
  Log:
  Add USE_GCC=4.4+ to fix build in UTF-8 environments
  
  PR:             ports/161036
  Reported by:    Aldis Berjoza <graudeejs@gmail.com>
  Patch by:       Vaclav Zeman
  Reviewed by:    ed
  Approved by:    maintainer (me)
  
  Revision  Changes    Path
  1.37      +2 -2      ports/devel/astyle/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Lars Engels freebsd_committer freebsd_triage 2011-10-09 12:47:58 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!