Bug 126680 - [patch] games/wormux: would not start
Summary: [patch] games/wormux: would not start
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: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-20 14:10 UTC by Vitaly Magerya
Modified: 2008-09-07 23:43 UTC (History)
0 users

See Also:


Attachments
file.diff (740 bytes, patch)
2008-08-20 14:10 UTC, Vitaly Magerya
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Magerya 2008-08-20 14:10:00 UTC
This is what I get after installing and running games/wormux:
----------------
! Error in tool/resource_manager.cpp:187: ResourceManager: can't load profile /usr/local/share/wormuxwormux_default_config.xml

tool/error.cpp:85: Missed assertion "false".
terminate called after throwing an instance of 'CError'
  what():  ResourceManager: can't load profile /usr/local/share/wormuxwormux_default_config.xml
Abort (core dumped)
----------------
There's a slash after /usr/local/share/wormux missing.
That slash is supposed to be added by the configure script, but it is currently patched out by files/patch-configure patch. The reason behind this is that wormux would not even install with that slash added -- it would apparently try to create the directory twice and complain about directory already created.

There are several ways to add this missing slash, and I'm including a patch with one of them (it's a quick way to do this, not the right one).

Fix: Apply included patch to the port.

Patch attached with submission follows:
How-To-Repeat: Install and run port games/wormux.
Comment 1 Edwin Groothuis freebsd_committer 2008-08-20 14:10:08 UTC
Maintainer of games/wormux,

Please note that PR ports/126680 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/126680

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer 2008-08-20 14:10:11 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Martin Wilke freebsd_committer 2008-08-20 15:08:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 4 dfilter service freebsd_committer 2008-09-07 23:10:10 UTC
miwi        2008-09-07 22:09:56 UTC

  FreeBSD ports repository

  Modified files:
    games/wormux         Makefile 
  Added files:
    games/wormux/files   patch-config.h 
  Log:
  - Fix start crash
  - Bump PORTREVISION
  
  PR:             126680 (based on)
  Submitted by:   Vitaly Magerya <vmagerya@gmail.com>
  Approved by:    maintainer timeout
  
  Revision  Changes    Path
  1.17      +1 -0      ports/games/wormux/Makefile
  1.1       +11 -0     ports/games/wormux/files/patch-config.h (new)
_______________________________________________
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 5 Mark Linimon freebsd_committer freebsd_triage 2008-09-07 23:43:24 UTC
State Changed
From-To: feedback->closed

Committed.