Bug 161781 - [maintainer][patch] math/saga: fix for failure with wxgtk2-2.8.12
Summary: [maintainer][patch] math/saga: fix for failure with wxgtk2-2.8.12
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: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-18 21:00 UTC by Rainer Hurling
Modified: 2011-10-19 21:50 UTC (History)
0 users

See Also:


Attachments
file.diff (1.13 KB, patch)
2011-10-18 21:00 UTC, Rainer Hurling
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Hurling freebsd_committer freebsd_triage 2011-10-18 21:00:25 UTC
Since update of wxgtk2 to version 2.8.12 there where segfaults with 'saga_cmd' using two arguments. It turns out as an initialization problem of wxInitialize(), only with version 2.8.12.

This fix patches the SAGA GIS sources when detecting wxgtk2-2.8.12.

Fix: Apply the following patch on math/saga and then try again 'saga_cmd libpj_proj4 6'. Now it should show a complete list of the usage of this SAGA GIS command.

Patch attached with submission follows:
How-To-Repeat: Install math/saga. Then run 'saga_cmd libpj_proj4 6', this should segfault immediately.
Comment 1 Pawel Pekala freebsd_committer freebsd_triage 2011-10-18 22:18:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-10-19 21:46:46 UTC
pawel       2011-10-19 20:46:32 UTC

  FreeBSD ports repository

  Modified files:
    math/saga            Makefile 
  Added files:
    math/saga/files      
                         patch-src__saga_core__saga_cmd__saga_cmd.cpp 
  Log:
  Fix segfault in saga_cmd
  
  PR:             ports/161781
  Submitted by:   Rainer Hurling <rhurlin@gwdg.de> (maintainer)
  
  Revision  Changes    Path
  1.15      +1 -1      ports/math/saga/Makefile
  1.1       +13 -0     ports/math/saga/files/patch-src__saga_core__saga_cmd__saga_cmd.cpp (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 3 Pawel Pekala freebsd_committer freebsd_triage 2011-10-19 21:46:55 UTC
State Changed
From-To: open->closed

Committed. Thanks!