Bug 236443 - [patch] cad/netgen crash fix
Summary: [patch] cad/netgen crash fix
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Stephen Montgomery-Smith
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-10 08:11 UTC by rsmith
Modified: 2019-03-10 19:11 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (stephen)


Attachments
Crashfix patch. Place in the files subdirectory of the port. (750 bytes, text/plain)
2019-03-10 08:11 UTC, rsmith
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description rsmith 2019-03-10 08:11:19 UTC
Created attachment 202766 [details]
Crashfix patch. Place in the files subdirectory of the port.

Netgen always crashes on startup with an X error:

    Major opcode of failed request:  155 (GLX)
    Minor opcode of failed request:  3 (X_GLXCreateContext)
    Value in failed request:  0x0

The solution can be found here: https://sourceforge.net/p/netgen-mesher/discussion/905307/thread/946ccfc2/

It is a one-line patch to ng/drawing.tcl.

The patch (for placement in /usr/ports/cad/netgen/files) is attached.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-03-10 18:59:30 UTC
A commit references this bug:

Author: stephen
Date: Sun Mar 10 18:59:12 UTC 2019
New revision: 495313
URL: https://svnweb.freebsd.org/changeset/ports/495313

Log:
  - Crashfix patch.
  - Bump portrevision.

  PR:		236443
  Submitted by:	rsmith@xs4all.nl

Changes:
  head/cad/netgen/Makefile
  head/cad/netgen/files/patch-configure
  head/cad/netgen/files/patch-libsrc_csg_Makefile.am
  head/cad/netgen/files/patch-libsrc_csg_Makefile.in
  head/cad/netgen/files/patch-libsrc_visualization_Makefile.in
  head/cad/netgen/files/patch-ng_Makefile.am
  head/cad/netgen/files/patch-ng_Makefile.in
  head/cad/netgen/files/patch-ng_drawing.tcl
  head/cad/netgen/files/patch-nglib_Makefile.in
Comment 2 Stephen Montgomery-Smith freebsd_committer freebsd_triage 2019-03-10 19:11:11 UTC
Committed with portrevision bumped.  Thank you.