Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Sep 2016 14:48:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 212349] [PATCH] editors/texstudio: Use system hunspell and quazip
Message-ID:  <bug-212349-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212349

            Bug ID: 212349
           Summary: [PATCH] editors/texstudio: Use system hunspell and
                    quazip
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: rakuco@FreeBSD.org
                CC: abiliojr@gmail.com
            Blocks: 211916
                CC: abiliojr@gmail.com
             Flags: maintainer-feedback?(abiliojr@gmail.com)
          Keywords: patch

Created attachment 174335
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D174335&action=
=3Dedit
Proposed patch

The attached patch makes texstudio stop building its own bundled copies of
quazip and hunspell.

Using bundled libraries is bad for several reasons, including leaving ports
vulnerable to security issues and also for breaking the build, which happens
with Qt 5.6 that passes -std=3Dgnu++11 by default when the compiler support=
s it:

hunspell/affentry.hxx:30:94: error: cannot initialize a parameter of type
'unsigned short' with an rvalue of type 'nullptr_t'
hunspell/affentry.hxx:93:103: error: cannot initialize a parameter of type
'unsigned short' with an rvalue of type 'nullptr_t'

Switching to the system versions fixes everything.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211916
[Bug 211916] [exp-run] Update Qt to 5.6.1.
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212349-13>