Bug 148252 - [PATCH] games/freeciv freeciv-server fails to start on system without IPv6
Summary: [PATCH] games/freeciv freeciv-server fails to start on system without IPv6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Johan van Selst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-30 01:20 UTC by Emil Smolenski
Modified: 2010-06-30 06:55 UTC (History)
0 users

See Also:


Attachments
file.diff (438 bytes, patch)
2010-06-30 01:20 UTC, Emil Smolenski
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Emil Smolenski 2010-06-30 01:20:02 UTC
I have the "WITHOUT_IPV6=yes" line in /etc/make.conf and kernel compiled without the INET6 option. With this configuration freeciv-server fails to start:

% freeciv-server 
This is the server for Freeciv version 2.2.1
You can learn a lot about Freeciv at http://www.freeciv.org/
0: Detected fatal error in sernet.c line 983:
0: socket failed: Protocol not supported
Assertion failed: (FALSE), function real_die, file shared.c, line 758.
Abort (core dumped)

Fix: The attached patch passes --enable-ipv6=no to configure if WITHOUT_IPV6 is defined.

Patch attached with submission follows:
How-To-Repeat: Try to start freeciv-server on system compiled without IPv6 support.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-06-30 01:20:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->johans

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-06-30 06:39:27 UTC
johans      2010-06-30 05:39:18 UTC

  FreeBSD ports repository

  Modified files:
    games/freeciv        Makefile 
  Log:
  Optionally disable IPv6 support. Required to run on IPv4-only systems.
  
  PR:             ports/148252
  Submitted by:   Emil Smolenski
  Feature safe:   yes
  
  Revision  Changes    Path
  1.108     +5 -1      ports/games/freeciv/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 3 Johan van Selst freebsd_committer freebsd_triage 2010-06-30 06:55:00 UTC
State Changed
From-To: open->closed

Committed, thanks.