Bug 132949 - games/xlife segments on amd64 - patch supplied
Summary: games/xlife segments on amd64 - patch supplied
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-22 23:20 UTC by billy
Modified: 2009-03-24 12:10 UTC (History)
0 users

See Also:


Attachments
file.diff (236 bytes, patch)
2009-03-22 23:20 UTC, billy
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description billy 2009-03-22 23:20:01 UTC
segmentation fault running xlife on amd64.

/usr/ports/games/xlife


cause:
===================================
in main.c use of 'getenv()' with no 
#include <stdlib.h>

there is a warning anyway...

main.c:66: warning: passing argument 1 of 'XOpenDisplay' makes pointer from integer without a cast

Fix: patch enclosed

Patch attached with submission follows:
How-To-Repeat: try on amd64
it works ok on my P4
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2009-03-24 12:01:18 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-03-24 12:05:36 UTC
pav         2009-03-24 12:04:16 UTC

  FreeBSD ports repository

  Modified files:
    games/xlife          Makefile 
  Added files:
    games/xlife/files    patch-main.c 
  Log:
  - Fix runtime on amd64
  
  PR:             ports/132949
  Submitted by:   billy <markslashbill@yahoo.co.uk>
  
  Revision  Changes    Path
  1.23      +1 -1      ports/games/xlife/Makefile
  1.1       +10 -0     ports/games/xlife/files/patch-main.c (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"