1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
Commit Graph

104 Commits

Author SHA1 Message Date
Bernhard Froehlich
aa8b038d17
cad/brlcad: Add CPE information
Approved by:    portmgr (blanket)
2021-08-31 12:06:59 +00:00
Kevin Bowling
da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00
Dimitry Andric
3217bf995f cad/brlcad: fix null pointer accesses during build
During an exp-run for llvm 12 (see bug 255570), it turned out that
cad/brlcad does not build with clang 12.0.0:

[ 99% 4379/4403] cd /wrkdirs/usr/ports/cad/brlcad/work/brlcad-7.30.2/db/nist && /wrkdirs/usr/ports/cad/brlcad/work/brlcad-7.30.2/bin/step-g -O /wrkdirs/usr/ports/cad/brlcad/work/brlcad-7.30.2/share/db/nist/NIST_MBE_PMI_11.g /wrkdirs/usr/ports/cad/brlcad/work/brlcad-7.30.2/db/nist/NIST_MBE_PMI_11.stp > /wrkdirs/usr/ports/cad/brlcad/work/brlcad-7.30.2/db/nist/NIST_MBE_PMI_11.log 2>&1
FAILED: share/db/nist/NIST_MBE_PMI_11.g

What happens is that the step-g intermediate program segfaults, because
it attempts to access a null pointer. Valgrind shows:

Reading Data from /wrkdirs/share/dim/ports/cad/brlcad/work/brlcad-7.30.2/db/nist/NIST_MBE_PMI_11.stp...

HEADER read:
==24919== Invalid read of size 4
==24919==    at 0x1337BA10: EntList::firstNot(JoinType) (entlist.cc:39)
==24919==    by 0x1337C93E: nextNot (complexSupport.h:185)
==24919==    by 0x1337C93E: AndList::matchNonORs(EntNode*) (non-ors.cc:135)
==24919==    by 0x1337B77C: ComplexList::matches(EntNode*) (complexlist.cc:176)
==24919==    by 0x1337B36A: ComplexCollect::supports(EntNode*) const (collect.cc:140)
==24919==    by 0x1335FA5A: STEPcomplex::Initialize(char const**, char const*) (STEPcomplex.cc:126)
==24919==    by 0x1335F774: STEPcomplex::STEPcomplex(Registry*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const**, int, char const*) (STEPcomplex.cc:33)
==24919==    by 0x1331842E: STEPfile::CreateSubSuperInstance(std::__1::basic_istream<char, std::__1::char_traits<char> >&, int, ErrorDescriptor&) (STEPfile.cc:1048)
==24919==    by 0x13315E15: STEPfile::CreateInstance(std::__1::basic_istream<char, std::__1::char_traits<char> >&, std::__1::basic_ostream<char, std::__1::char_traits<char> >&) (STEPfile.cc:833)
==24919==    by 0x133158B1: STEPfile::ReadData1(std::__1::basic_istream<char, std::__1::char_traits<char> >&) (STEPfile.cc:502)
==24919==    by 0x13319EA8: STEPfile::AppendFile(std::__1::basic_istream<char, std::__1::char_traits<char> >*, bool) (STEPfile.cc:1674)
==24919==    by 0x1331C984: STEPfile::ReadExchangeFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, bool) (STEPfile.inline.cc:119)
==24919==    by 0x3AFDCE: STEPWrapper::load(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) (STEPWrapper.cpp:1300)
==24919==  Address 0x8 is not stack'd, malloc'd or (recently) free'd
==24919==
==24919==
==24919== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==24919==  Access not within mapped region at address 0x8
==24919==    at 0x1337BA10: EntList::firstNot(JoinType) (entlist.cc:39)
==24919==    by 0x1337C93E: nextNot (complexSupport.h:185)
==24919==    by 0x1337C93E: AndList::matchNonORs(EntNode*) (non-ors.cc:135)
==24919==    by 0x1337B77C: ComplexList::matches(EntNode*) (complexlist.cc:176)
==24919==    by 0x1337B36A: ComplexCollect::supports(EntNode*) const (collect.cc:140)
==24919==    by 0x1335FA5A: STEPcomplex::Initialize(char const**, char const*) (STEPcomplex.cc:126)
==24919==    by 0x1335F774: STEPcomplex::STEPcomplex(Registry*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const**, int, char const*) (STEPcomplex.cc:33)
==24919==    by 0x1331842E: STEPfile::CreateSubSuperInstance(std::__1::basic_istream<char, std::__1::char_traits<char> >&, int, ErrorDescriptor&) (STEPfile.cc:1048)
==24919==    by 0x13315E15: STEPfile::CreateInstance(std::__1::basic_istream<char, std::__1::char_traits<char> >&, std::__1::basic_ostream<char, std::__1::char_traits<char> >&) (STEPfile.cc:833)
==24919==    by 0x133158B1: STEPfile::ReadData1(std::__1::basic_istream<char, std::__1::char_traits<char> >&) (STEPfile.cc:502)
==24919==    by 0x13319EA8: STEPfile::AppendFile(std::__1::basic_istream<char, std::__1::char_traits<char> >*, bool) (STEPfile.cc:1674)
==24919==    by 0x1331C984: STEPfile::ReadExchangeFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, bool) (STEPfile.inline.cc:119)
==24919==    by 0x3AFDCE: STEPWrapper::load(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) (STEPWrapper.cpp:1300)
==24919==  If you believe this happened as a result of a stack
==24919==  overflow in your program's main thread (unlikely but
==24919==  possible), you can try to increase the size of the
==24919==  main thread stack using the --main-stacksize= flag.
==24919==  The main thread stack size used in this run was 16777216.

To fix this, add null pointer checks to EntList::firstNot() and various
other EntList functions.

Approved by:	erik@brlcad.org (maintainer)
PR:		256166
MFH:		2021Q2
2021-06-10 18:57:57 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Fernando Apesteguía
b7d6202cde cad/brlcad: update to 7.30.2
PR:	244829
Submitted by:	erik@brlcad.org (maintainer)
2020-03-17 11:50:33 +00:00
Baptiste Daroussin
8503406074 brlcad builds and run perfectly fine when built with base byacc instead of bison 2020-03-10 11:06:29 +00:00
Alexey Dokuchaev
a41c8c9103 - Resurrect BRLCAD, undeprecate, update to version 7.28.0
- Cleanup seemingly unused {BUILD,LIB}_DEPENDS, adjust USES
- Do not require specific (85) version of Tcl/Tk
- Convert pkg-message to UCL format, sort pkg-plist
2019-11-10 09:40:45 +00:00
Rene Ladan
ae1efaca64 Remove epxired ports:
2019-05-08 cad/brlcad: Broken for more than 6 months
2019-05-12 misc/gnuit: Upstream stale for 10 years, no users it appears
2019-05-12 print/py-reportlab1: consider using latest upstream version in print/py-reportlab
2019-05-13 19:24:05 +00:00
Antoine Brodin
1e817d5e1a Deprecate ports broken for more than 6 months 2019-04-07 07:43:37 +00:00
Tobias C. Berner
707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00
Antoine Brodin
e32e60b069 Mark BROKEN: fails to build
/wrkdirs/usr/ports/cad/brlcad/work/brlcad-7.24.0/src/other/openNURBS/opennurbs_archive.cpp:13560:103: error: differing user-defined suffixes ('__DATE__' and '__TIME__') in string literal concatenation
    rc = archive.Write3dmStartSection( version, "Archive created by ON_WriteOneObjectArchive "__DATE__" "__TIME__ );
                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~

Reported by:	pkg-fallout
2018-11-04 13:13:17 +00:00
Niclas Zeising
0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00
Niclas Zeising
15dac70c75 Switch to xorgproto instead of individual packages
Upstream used to distribute protocol headers as separate packages, but has
decided to merge those to a common package, named xorgproto.  This update
tracks that change.

* Add a new port, x11/xorgproto, with are protocol headers for xorg.
* Hook the new protocol port to the build and to infrastructure in
  bsd.xorg.mk.
* Update all ports with a dependency on any of the old *proto packages to
  instead depend on xorgproto.  Bump portrevision.
* Delete the old *proto packages, update MOVED.

PR:		230023
Submitted by:	zeising
Approved by:	portmgr (antoine)
exp-run by:	antoine
2018-07-31 18:41:30 +00:00
Rene Ladan
0f6476167d cad/brlcad: miscellaneous improvements
- add LICENSE (LGPL21)
- fix stage-qa
- pet portlint
- clean up PREFIX, regenerate pkg-plist consequently
- clean up other Makefile variables
- bump PORTREVISION

PR:		211921 (partially)
Submitted by:	pfg@
Approved by:	maintainer timeout
2018-01-21 12:10:11 +00:00
Sunpoet Po-Chuan Hsieh
a67675b323 Mark CONFLICTS_INSTALL with devel/py-epsilon 2017-12-16 20:55:36 +00:00
Matthew Rezny
b760897dde Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10845
2017-05-23 05:03:14 +00:00
Rene Ladan
31e645bde5 cad/brlcad: unexpire, it builds fine with current graphics/urt 2017-04-28 14:12:52 +00:00
Ashish SHUKLA
9cba0ef67a - Update devel/libpthread-stubs to 0.4
- Chase libpthread-stubs update, and also switch to BUILD_DEPENDS
  from LIB_DEPENDS, as port is now only .pc file

PR:		218015
Submitted by:	rezny
2017-03-29 06:50:28 +00:00
Rene Ladan
db1d02a86e Set expiration date of ports depending on graphics/urt to 2017-04-01 2016-12-27 14:14:30 +00:00
Alexey Dokuchaev
bbc0e7b376 - Double-quote $@ to properly propagate parameters down the execution path
- Consistently pad (separate) shebang in wrapper scripts with an empty line
2016-10-17 04:00:20 +00:00
Mathieu Arnold
7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00
Jason E. Hale
42b0bae34f Add USES=pathfix support for CMake. Some ports that use CMake to build
already had USES=pathfix, although it did nothing.  For those ports, I
either removed it as they were handling the pkgconfig files differently
or I removed patches and substitutions that accomplished the same thing
as pathfix.

Differential Revision:	https://reviews.freebsd.org/D850
Reviewed by:	antoine, bapt, tijl
Approved by:	portmgr (bapt)
2016-01-07 14:54:03 +00:00
Raphael Kubo da Costa
9b889fcd6b Add upstream commits to fix the build with the upcoming CMake 3.1.0.
I have also tested them with CMake 3.0.2.
2014-12-31 12:15:48 +00:00
Baptiste Daroussin
bb21093773 Bump portrevision after png update 2014-12-25 20:54:41 +00:00
Antoine Brodin
7ae46e9b12 Change libpng15.so to libpng.so in LIB_DEPENDS to prepare the upgrade 2014-12-25 19:04:25 +00:00
Baptiste Daroussin
afb0da4983 Cleanup plist 2014-10-20 07:19:22 +00:00
Gerald Pfeifer
15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00
Baptiste Daroussin
816aea7759 Properly use MAKE_CMD 2014-06-24 22:05:47 +00:00
Olli Hauer
4644881909 - USE_(BZIP2|XZ) -> USES=tar:(bzip2|xz) 2014-06-01 14:48:08 +00:00
Niclas Zeising
39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00
Pietro Cerutti
15573b9943 - Convert to USES=gmake tk 2014-01-28 14:06:16 +00:00
Baptiste Daroussin
a327ff430a In preparation for making libtool generate libraries with a sane name, fix all
LIB_DEPENDS in cad

With hat:	portmgr
2013-12-11 14:53:20 +00:00
Max Brazhnikov
064f57d542 - Respect CMAKE_BUILD_TYPE
Approved by:	portmgr (bapt)
2013-12-04 18:48:48 +00:00
Raphael Kubo da Costa
4ccd821a8f - Add a patches sent upstream and adjust the build flags to build with
libc++.
- Support staging.

PR:		ports/183623
Submitted by:	rakuco
Approved by:	maintainer timeout (14 days)
2013-11-17 17:40:39 +00:00
Raphael Kubo da Costa
e984a3a1c4 Welcome CMake 2.8.12!
With contributions from Schaich Alonso <alonsoschaich@fastmail.fm>,
including stage support for devel/cmake-gui.

This update took much longer than expected due to CMake changing the
arguments to an internal macro that ended up being used by some ports:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9ce60ff5

I have also started a discussion about this on CMake's development list:

  http://article.gmane.org/gmane.comp.programming.tools.cmake.devel/8464

It required adjusting the affected ports, and these changes have approved by
portmgr (bdrewery).

PR:		ports/182981
Approved by:	portmgr (bdrewery)
2013-11-05 18:34:22 +00:00
Baptiste Daroussin
8e91f3161f Add NO_STAGE all over the place in preparation for the staging support (cat: cad) 2013-09-20 15:58:41 +00:00
Baptiste Daroussin
efeb4f1aa7 Add an explicit dependency on pkgconfig 2013-09-02 06:39:37 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Pawel Pekala
2b6d9fd950 Update to version 7.24.0
PR:		ports/179620
Submitted by:	Erik Greenwald <erik@brlcad.org> (maintainer)
2013-06-21 19:55:20 +00:00
Niclas Zeising
92ea0d614b The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:

Xorg 7.7

Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities

Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.

PR:		ports/177942
Exp-run by:	miwi
Approved by:	portmgr (miwi)

Thanks to all who helped testing!
2013-05-25 14:37:02 +00:00
Max Brazhnikov
ffd97a0193 - convert USE_CMAKE to USES
- while here clean up some ports from CMAKE_VERBOSE, which is intended
  for users

Approved by:	portmgr (miwi)
2013-03-22 20:06:14 +00:00
Eitan Adler
334eb0fc61 This changes almost all the "gnomehack" only USE_GNOME cases to USES= pathfix.
If a port used other USE_GNOME items it was untouched.
The ports that used other USES were fixed by hand.

PR:		ports/177081
Reviewed by:	bapt
Approved by:	portmgr (miwi)
2013-03-19 13:04:30 +00:00
Baptiste Daroussin
9250d94365 Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2013-03-08 11:32:11 +00:00
Pietro Cerutti
5316d6995c - Get rid of PTHREAD_CFLAGS and PTHREAD_LIBS (category: cad)
Approved by:	portmgr
2013-02-07 14:57:49 +00:00
Jason Helfman
f43dc9aa8c - adopt optionsNG [1]
- while here, break out massive man page list into Makefile.man [2]

PR:		175166
Submitted by:	maintainer, erik@brlcad.org [1], jgh@ [2]
Approved by:	maintainer, erik@brlcad.org [2]
2013-01-10 18:12:45 +00:00
Pawel Pekala
4a4fe03ea1 - Fix BROKEN by disabling build of togl an isst [1]
- Add missing library deps this package's binaries link to

PR:		ports/174282 [1]
Submitted by:	Erik Greenwald <erik@brlcad.org> (maintainer)
2012-12-15 17:09:31 +00:00
Beat Gaetzi
4e7e939867 - Mark BROKEN: does not compile
In file included from /usr/local/include/tk8.5/tkInt.h:974,
    from /ports/cad/brlcad/work/brlcad-7.22.0/src/other/togl/src/togl.c:27:
    /usr/local/include/tk8.5/tkIntDecls.h:672:
      error: expected declaration specifiers or '...' before '(' token
    /usr/local/include/tk8.5/tkIntDecls.h:672:
      error: conflicting types for 'XClipBox'
    /usr/local/include/X11/Xutil.h:381:
      error: previous declaration of 'XClipBox' was here

Reported by:	pointyhat
2012-09-09 15:01:14 +00:00
Michael Scheidell
9a64c214d0 - Update to 7.22.0 [1]
- pet portlint (added USE_LDCONFIG) [2]

PR:		ports/169520 [1]
Submitted by:	Erik Greenwald <erik@brlcad.org> (maintainer) [1]
Reviewed by:	scheidell@ (me) [2]
Obtained from:	http://brlcad.svn.sourceforge.net/viewvc/brlcad/brlcad/tags/rel-7-22-0/NEWS?revision=51320&view=markup
2012-07-01 12:32:37 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Frederic Culot
0a9e61dbb7 - Update to 7.20.6
PR:		ports/167499
Submitted by:	Erik Greenwald <erik@brlcad.org> (maintainer)
2012-05-06 14:09:23 +00:00