Bug 144845

Summary: [patch] lang/guile: Fails to build on recent 9-CURRENT due to including sys/timeb.h
Product: Ports & Packages Reporter: Scot Hetzel <swhetzel>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Scot Hetzel 2010-03-18 03:40:01 UTC
Due to the recent change to add a warning to sys/timeb.h in 9-CURRENT, lang/guile fails to build due to it sets the -Werror flag.

Fix: The fix to this problem is to remove the check for sys/timeb.h from the configure.in file.

The attached patch provides this fix.

Patch attached with submission follows:
How-To-Repeat: Update to a recent 9-CURRENT
cd /usr/ports/lang/guile
make build

./guile-snarf -o stacks.x stacks.c -DHAVE_CONFIG_H -I.. -I.. -I.. -I/usr/local/include -O2 -pipe -march=nocona -fno-strict-aliasing -Wall -Wmissing-prototypes -Werror
./guile-snarf -o stime.x stime.c -DHAVE_CONFIG_H -I.. -I.. -I.. -I/usr/local/include -O2 -pipe -march=nocona -fno-strict-aliasing -Wall -Wmissing-prototypes -Werror

In file included from stime.c:76:
/usr/include/sys/timeb.h:42:2: error: #warning "this file includes

<sys/timeb.h> which is deprecated"

gmake[2]: *** [stime.x] Error 1
gmake[2]: Leaving directory `/usr/ports/lang/guile/work/guile-1.8.6/libguile'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/lang/guile/work/guile-1.8.6'
gmake: *** [all] Error 2
*** Error code 1


Stop in /usr/ports/lang/guile.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-03-18 03:40:08 UTC
Maintainer of lang/guile,

Please note that PR ports/144845 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/144845

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2010-03-18 03:40:11 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 c11h15no2 2010-03-31 04:29:58 UTC
Looks good to me.
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2010-03-31 04:40:34 UTC
State Changed
From-To: feedback->open

Maintainer approved.
Comment 5 Erwin Lansing freebsd_committer freebsd_triage 2010-04-18 18:33:15 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 6 dfilter service freebsd_committer freebsd_triage 2010-04-18 18:33:20 UTC
erwin       2010-04-18 17:33:06 UTC

  FreeBSD ports repository

  Modified files:
    lang/guile/files     patch-configure.in 
  Log:
  Fix build on HEAD
  
  PR:             144845
  Submitted by:   Scot Hetzel <swhetzel@gmail.com>
  Approved by:    maintainer
  
  Revision  Changes    Path
  1.3       +13 -4     ports/lang/guile/files/patch-configure.in
_______________________________________________
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"