Bug 236443

Summary: [patch] cad/netgen crash fix
Product: Ports & Packages Reporter: rsmith
Component: Individual Port(s)Assignee: Stephen Montgomery-Smith <stephen>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (stephen)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Crashfix patch. Place in the files subdirectory of the port. none

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.