This will primarily help powerpc64.
For archs where clang is the default compiler, these changes will have no
effect, as the base compiler already has these capabilities (primarily, but
not exclusively, c++-11).
Tested for no-harm on amd64.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)
./ff-load.c:312:36: error: use of undeclared identifier 'CODEC_CAP_TRUNCATED'
if (p->codec->capabilities & CODEC_CAP_TRUNCATED)
^
./ff-load.c:313:26: error: use of undeclared identifier 'CODEC_FLAG_TRUNCATED'
p->enc->flags |= CODEC_FLAG_TRUNCATED;
PR: 227726
While here, fix libIlmImfUtil_la_LDFLAGp so that when linking libIlmImfUtil,
the locally built libIlmImf gets precedence over the one in /usr/local,
to permit upgrades in a running system with the older version installed.
This changes the library's SONAME, so bump PORTREVISION of all dependees.
Unfortunately, this looks a bit too intrusive for an MFH to 2017Q4.
Security: CVE-2017-9110
Security: CVE-2017-9111
Security: CVE-2017-9112
Security: CVE-2017-9113
Security: CVE-2017-9114
Security: CVE-2017-9115
Security: CVE-2017-9116
Security: 803879e9-4195-11e7-9b08-080027ef73ec
$ gimp /path/to/file.png
GEGL-geglmodule.c-Message: Module '/usr/local/lib/gegl-0.2/ff-load.so'
load error: /usr/local/lib/gegl-0.2/ff-load.so: Undefined symbol "av_read_packet"
$ echo CFLAGS+=-Werror=implicit-function-declaration >>Makefile.local
$ make
[...]
./ff-load.c:140:9: error: implicit declaration of function 'av_close_input_file' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
av_close_input_file (p->ic);
^
./ff-load.c:219:23: error: implicit declaration of function 'av_read_packet' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
if (av_read_packet (p->ic, &p->pkt) < 0)
^
./ff-load.c:274:13: error: implicit declaration of function 'av_open_input_file' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
err = av_open_input_file (&p->ic, o->path, NULL, 0, NULL);
^
./ff-load.c:279:13: error: implicit declaration of function 'av_find_stream_info' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
err = av_find_stream_info (p->ic);
^
./ff-load.c:279:13: note: did you mean 'avformat_find_stream_info'?
/usr/local/include/libavformat/avformat.h:2217:5: note: 'avformat_find_stream_info' declared here
int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options);
^
./ff-load.c:315:11: error: implicit declaration of function 'avcodec_open' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
if (avcodec_open (p->enc, p->codec) < 0)
^
./ff-load.c:315:11: note: did you mean 'avcodec_open2'?
/usr/local/include/libavcodec/avcodec.h:4324:5: note: 'avcodec_open2' declared here
int avcodec_open2(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options);
^
./ff-load.c:324:23: error: implicit declaration of function 'avcodec_alloc_frame' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
p->lavc_frame = avcodec_alloc_frame ();
^
PR: 207547
Approved by: portmgr blanket
As there is an shlib version bump, bump them portrevision of dependent ports.
While doing so, also switch to the cmake build system, as it requires less
patching and is easier to handle.
PR: 211329
Reviewed by: mat, rakuco, kwm
Approved by: rakuco (mentor)
Differential Revision: https://reviews.freebsd.org/D7283
A quick grep(1) of *.c files reveals:
LGPL20 files are
gegl/buffer/gegl-id-pool.c
operations/external/v4lutils/v4lutils.c
GPLv3 files are
bin/gegl.c
bin/gegl-path-spiro.c
bin/gegl-path-smooth.c
bin/gegl-options.c
gegl/buffer/gegl-cache.c
All GPL license headers have
..., or (at your option) any later version.
Approved by: portmgr blanket
* Fix the PORTSCOUT macro in devel/glib20-reference/bsd.gnome-reference.mk
so that all -reference ports get ignored.
* Add some PORTSCOUT=ignore:1 here and there for software that won't get
any updates anymore. Or are slave ports, so only the master port will
get checked.
the 32 ports that still use it. Bump PORTREVISION on their dependent
ports except the ones that depend on these:
audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt
In these cases the same trick as in the recent gettext update is used.
The ports install a symlink with the old library version. When enough
of their dependent ports have had regular updates the remaining ones can
get a PORTREVISION bump and the links can be removed.
Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes
over 2200 packages to depend on devel/pcre while less than 200 actually
link with it. The glib20 package still depends on devel/pcre so this
should not make a difference for ports with USE_GNOME=glib20. Also,
libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so
USE_GNOME=glib20 should not propagate it.
PR: 195724
Exp-run by: antoine
Approved by: portmgr (antoine)
GCC 4.2 in FreeBSD 8.X/9.X base is now too old to compile OpenEXR, so
GCC-based systems will upgrade to the default ports compiler (GCC 4.7
currently.)
Add two patches to OpenEXR to permit building it in a live system with
the older OpenEXR version installed. Bug report filed to upstream Github
at https://github.com/openexr/openexr/issues/130
Couple OpenEXR more tightly to ilmbase and require its exact .so
version.
Add UPDATING note, and bump PORTREVISION of all dependent ports.
Proto-STAGE hugin-devel, and mark it IGNORE because hugin is newer.
Approved by: portmgr (implicit for bumping PORTREVISION on unstaged ports)
exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la. So everything that subsequently links with libA will also
link to these extra libraries. This causes too much overlinking.
This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging. However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.
So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).
PORTREVISION is bumped on all ports with USES=libtool that install .la
libraries. Most ports are also changed to add :keepla because .la
libraries have to be kept around as long as there are dependent ports with
.la libraries that refer to them in their dependency_libs field. In most
cases :keepla can be removed again as soon as all dependent ports that
install .la libraries have some form of USES=libtool added to their
Makefile.
PR: ports/188759
Exp-run: bdrewery
Approved by: portmgr (bdrewery)
- Fix build on FreeBSD 8.x by adding compiler:c++11-lang.
(Use same compiler/linker as Boost.) [1]
- Chase library version change.
- Consistently use OPENRAW as option name.
PR: ports/186779 [1]
- Update to 2.0.1
- Change master sites to SAVANNAH
- Change maintainer email to @FreeBSD.org
- Remove conflict with non existent Port
- USES pathfix pkgconfig
- Add executable
- Add DOCS Option
- Support STAGEDIR and add OPTIONS_SUB
- Use pathfix instead of simple patches
- Adjust patches
- Change WWW
graphics/OpenEXR
- Update to 2.0.1
- Change master sites to SAVANNAH
- Change maintainer email to @FreeBSD.org
- Use the new format for LIB_DEPENDS
- USES gmake pathfix pkgconfig
- Add DOCS and EXAMPLES Options
- Support STAGEDIR and add OPTIONS_SUB
- Change REINPLACE_CMD
- Add extra patch for EXAMPLES
- Remove obsolete patches
- Bump dependent ports' revisions
Approved by: pawel / wg (mentors)
Remove Obsolete reinplace lines.
Make sure we have ruby and bash available for building docs and not depend
on others to supply it.
Don't install docs double.
PR: ports/179531 [1]
Submitted by: bar@
Use USE_PKGCONFIG instead of USE_GNOME=pkgconfig [2]
Switch to OptionsNG. This renames the RSVG->LIBRSVG2 and GDK->PIXBUF options[2]
Remove shlib version in lib_DEPENDS lines [2]
Trim Makefile Header while here
Bump portrevision since default depends changed.
PR: ports/168464 (reported by) [1]
Submitted by: Jan Beich <jbeich@tormail.org> [1]
Obtained from: GNOME staging area [2]