Commit Graph

69 Commits

Author SHA1 Message Date
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Thomas Zander
84b6aee905 Bump PORTREVISION to chase update of multimedia/v4l_compat and libv4l 2018-09-29 08:04:27 +00:00
Tobias Kortkamp
7b5106f284 */vdr-plugin-*: Attempt to fix build with Clang 6 2018-09-04 13:42:13 +00:00
Gerald Pfeifer
09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00
Gerald Pfeifer
c2a92a1aea Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
2018-03-10 17:46:04 +00:00
Jan Beich
92058b7121 multimedia/vdr: unbreak build with Clang 6 (C++14 by default)
dvbsubtitle.c:854:43: error: invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
           dbgconverter("Converter PTS: %"PRId64"\n", pts);
                                          ^

dvbsubtitle.c:890:43: error: invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
           dbgconverter("Converter PTS: %"PRId64"\n", pts);
                                          ^

dvbsubtitle.c:949:45: error: invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
                       dbgconverter("PTS: %"PRId64"  STC: %"PRId64" (%"PRId64") timeout: %d\n", sb->Pts()...
                                            ^

dvbsubtitle.c:949:61: error: invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
                       dbgconverter("PTS: %"PRId64"  STC: %"PRId64" (%"PRId64") timeout: %d\n", sb->Pts()...
                                                            ^

dvbsubtitle.c:949:72: error: invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
                       dbgconverter("PTS: %"PRId64"  STC: %"PRId64" (%"PRId64") timeout: %d\n", sb->Pts()...
                                                                       ^

dvbsubtitle.c:1047:58: error: invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
            dbgpages("Update page id %d version %d pts %"PRId64" timeout %d state %d\n", pageId, page->Ver...
                                                         ^

6 errors generated.
recording.c:1646:52: error: invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
              esyslog("ERROR: invalid file size (%"PRId64") in '%s'", buf.st_size, *fileName);
                                                   ^

1 error generated.
remote.c:127:42: error: invalid suffix on literal; C++11 requires a space between literal and identifier
      [-Wreserved-user-defined-literal]
  snprintf(buffer, sizeof(buffer), "%016"PRIX64, Code);
                                         ^

ci.c:854:40: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char')
      in initializer list [-Wc++11-narrowing]
     tTime T = { mjd : htons(MJD), h : DEC2BCD(tm_gmt.tm_hour), m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm...
                                       ^~~~~~~~~~~~~~~~~~~~~~~
ci.c:852:20: note: expanded from macro 'DEC2BCD'
 #define DEC2BCD(d) (((d / 10) << 4) + (d % 10))
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ci.c:854:40: note: insert an explicit cast to silence this issue
     tTime T = { mjd : htons(MJD), h : DEC2BCD(tm_gmt.tm_hour), m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm...
                                       ^~~~~~~~~~~~~~~~~~~~~~~
                                       static_cast<uint8_t>(  )
ci.c:852:20: note: expanded from macro 'DEC2BCD'
 #define DEC2BCD(d) (((d / 10) << 4) + (d % 10))
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ci.c:854:69: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char')
      in initializer list [-Wc++11-narrowing]
     tTime T = { mjd : htons(MJD), h : DEC2BCD(tm_gmt.tm_hour), m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm...
                                                                    ^~~~~~~~~~~~~~~~~~~~~~
ci.c:852:20: note: expanded from macro 'DEC2BCD'
 #define DEC2BCD(d) (((d / 10) << 4) + (d % 10))
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ci.c:854:69: note: insert an explicit cast to silence this issue
     tTime T = { mjd : htons(MJD), h : DEC2BCD(tm_gmt.tm_hour), m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm...
                                                                    ^~~~~~~~~~~~~~~~~~~~~~
                                                                    static_cast<uint8_t>( )
ci.c:852:20: note: expanded from macro 'DEC2BCD'
 #define DEC2BCD(d) (((d / 10) << 4) + (d % 10))
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ci.c:854:97: error: non-constant-expression cannot be narrowed from type 'int' to 'uint8_t' (aka 'unsigned char')
      in initializer list [-Wc++11-narrowing]
  ...htons(MJD), h : DEC2BCD(tm_gmt.tm_hour), m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm_gmt.tm_sec), offset : ...
                                                                              ^~~~~~~~~~~~~~~~~~~~~~
ci.c:852:20: note: expanded from macro 'DEC2BCD'
 #define DEC2BCD(d) (((d / 10) << 4) + (d % 10))
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ci.c:854:97: note: insert an explicit cast to silence this issue
  ...htons(MJD), h : DEC2BCD(tm_gmt.tm_hour), m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm_gmt.tm_sec), offset : ...
                                                                              ^~~~~~~~~~~~~~~~~~~~~~
                                                                              static_cast<uint8_t>( )
ci.c:852:20: note: expanded from macro 'DEC2BCD'
 #define DEC2BCD(d) (((d / 10) << 4) + (d % 10))
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ci.c:854:130: error: non-constant-expression cannot be narrowed from type '__uint16_t' (aka 'unsigned short') to
      'short' in initializer list [-Wc++11-narrowing]
  ...m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm_gmt.tm_sec), offset : htons(tm_loc.tm_gmtoff / 60) };
                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/arpa/inet.h:173:18: note: expanded from macro 'htons'
 #define htons(x)        __htons(x)
                         ^~~~~~~~~~
/usr/include/x86/endian.h:129:20: note: expanded from macro '__htons'
 #define __htons(x)      __bswap16(x)
                         ^~~~~~~~~~~~
/usr/include/x86/endian.h:76:2: note: expanded from macro '__bswap16'
        ((__uint16_t)(__builtin_constant_p(x) ? \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ci.c:854:130: note: insert an explicit cast to silence this issue
  ...m : DEC2BCD(tm_gmt.tm_min), s : DEC2BCD(tm_gmt.tm_sec), offset : htons(tm_loc.tm_gmtoff / 60) };
                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                      static_cast<short>(         )
/usr/include/arpa/inet.h:173:18: note: expanded from macro 'htons'
 #define htons(x)        __htons(x)
                         ^~~~~~~~~~
/usr/include/x86/endian.h:129:20: note: expanded from macro '__htons'
 #define __htons(x)      __bswap16(x)
                         ^~~~~~~~~~~~
/usr/include/x86/endian.h:76:2: note: expanded from macro '__bswap16'
        ((__uint16_t)(__builtin_constant_p(x) ? \
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reported by:	antoine (via bug 224669)
2018-01-06 05:07:24 +00:00
Gerald Pfeifer
e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Gerald Pfeifer
04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00
Jan Beich
9a4668667e multimedia/vdr: unbreak with clang 4.0
recording.c:2090:17: error: ordered comparison between pointer and zero ('cUnbufferedFile *' and 'int')
     if (Open() >= 0) {
         ~~~~~~ ^  ~

PR:		216058
Reported by:	antoine (via exp-run)
2017-02-01 05:24:48 +00:00
Dmitry Marakasov
b6f258b78a - Pet portlint
- Switch to options helpers
- Cosmetic fixes
- Remove broken extra patch
- Turn non-optional extra patch to regular patch
- Fix Makefile.plugins to not override PLIST_SUB
2016-12-13 12:15:33 +00:00
Gerald Pfeifer
89f8b05214 Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
2016-11-20 09:38:08 +00:00
Mathieu Arnold
e50dc2a336 Cleanup $() variables in ports Makefiles.
Mostly replace with ${}, but sometime, replace with $$() because it is
what was intended in the first place. (I think.)

Sponsored by:	Absolight
2016-07-20 15:33:20 +00:00
Thomas Zander
03bfaeff95 Fix build with libc++ 3.8.0
PR:		208468
Submitted by:	dim
MFH:		2016Q2 (build fix blanket)
2016-04-09 10:14:49 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Dmitry Marakasov
b9398223bd Convert LICENSE= "GPLxx # or later" to "GPLxx+"
Approved by:	portmgr blanket
2016-01-12 16:20:31 +00:00
Eitan Adler
fe6465bb1b Reset maintainer 2015-12-14 02:52:14 +00:00
Antoine Brodin
6e5719ca80 Convert to USES=jpeg 2015-06-22 18:33:20 +00:00
Dmitry Marakasov
f3d887bae9 - Add CPE info
- Add LICENSE

Approved by:	portmgr blanket
2015-05-16 08:09:27 +00:00
Tijl Coosemans
074ea5282a converters/libiconv:
- Remove const qualifier from iconv(3) to match POSIX:
  http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
- Patch iconv.h to expose more GNU extensions when LIBICONV_PLUG is
  defined because the base system iconv supports these extensions too.

Add/remove patches to/from ports to call iconv with non-const arguments.

This breaks some ports on FreeBSD 10 because base system iconv.h still has
the const qualifier.  Fix this by letting USES=iconv add a build dependency
on converters/libiconv so ports can use its iconv.h (with LIBICONV_PLUG
defined) instead of the base system iconv.h.

This exposed some ports that link with libiconv when it is available instead
of using libc iconv.  In these cases one of the following changes has been
made:
- patch configure scripts to test for libc iconv first
- add ac_cv_lib_iconv_libiconv=no or similar to CONFIGURE_ARGS to disable
  some configure tests
- converters/wkhtmltopdf: this includes Qt4 so add a patch from devel/qt4
- lang/gcc5-aux: respect CFLAGS and friends during configure such that
  LIBICONV_PLUG is defined in the iconv test, also switch to external
  gettext
- mail/gnarwl: replace patches with CPPFLAGS/LIBS
- multimedia/ffmpeg2theora: remove iconv test from SConstruct and use
  ICONV_LIB in port Makefile instead, also fix a bug in subtitles.c
- net-im/licq: finish conversion to cmake
- net-mgmt/bandwidthd, net-mgmt/icinga, net-mgmt/nagios, net-mgmt/nagios4:
  don't need iconv
- textproc/p5-XML-TinyXML: finish conversion to USES=perl5

Other changes:
- databases/qdbm and slaves: respect CFLAGS and friends, also enable bzip2
  and lzo support
- games/ldmud: respect CFLAGS and friends
- graphics/inventor: replace some patches with MAKE_ARGS/MAKE_ENV to respect
  CFLAGS and friends, also remove FreeBSD/alpha patch and add missing xorg
  dependencies

PR:		199099
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2015-04-15 08:20:27 +00:00
Juergen Lock
a1d282c7ca Fix build with the upcoming v4l_compat update. [1]
https://reviews.freebsd.org/D1482 [1]
2015-01-24 19:36:30 +00:00
Baptiste Daroussin
fc348f20d8 Simplify plist 2014-10-31 23:29:54 +00:00
John Marino
4df8f5845a multimedia/vdr: IGNORE on DragonFly which is missing some drivers 2014-10-23 08:57:18 +00:00
Juergen Lock
fddd67a540 - Turns out the 10.0-R clang crashes I couldn't reproduce (on amd64) were
in fact on i386 - since this was the first report I got of this kind
  (and I don't have an i386 box anymore myself) let's assume it's an
  i386 issue.  So change the USE_GCC=any to be i386-only.
- Bump PORTREVISION.

PR:		192583
2014-08-12 16:47:48 +00:00
Juergen Lock
ecef389230 - Add USE_GCC=any to fix crashes on 10.0 . (which I cannot reproduce tho)
- Bump PORTREVISION.

PR:		192583
Submitted by:	martin.dieringer@gmx.de
2014-08-12 16:07:26 +00:00
Adam Weinberger
eb87f41c94 Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. 2014-07-15 16:27:54 +00:00
Tijl Coosemans
f191d6b887 Quote ${CC} and similar variables in MAKE_ARGS.
Reported by:	Dominic Fandrey <kamikaze@bsdforen.de>
2014-05-20 19:32:39 +00:00
Juergen Lock
2ce54071b7 - Add RUN_DEPENDS on x11-fonts/xorg-fonts-truetype.
- Add USES= shebangfix for svdrpsend.
- Use @sample.
- Pet check-plist.
- Bump PORTREVISION.
2014-05-11 16:04:28 +00:00
Juergen Lock
587837f8ba Switch my ports to USES= tar:... 2014-03-15 15:35:59 +00:00
Juergen Lock
33b3e14dbf Really depend on libiconv. (fixes packaging, doh!) 2014-03-13 17:28:09 +00:00
Juergen Lock
2a7652f200 Somehow multimedia/vdr itself was list in the previous commit. Sorry... :( 2014-03-01 23:15:14 +00:00
Baptiste Daroussin
855fb638fb Add NO_STAGE all over the place in preparation for the staging support (cat: multimedia) 2013-09-20 20:57:48 +00:00
Guido Falsi
642be1b81d - Make ports use the libc provided iconv implementation on 10-CURRENT
after r254273
- Fix a bunch of ports to properly work after this
- Mark converters/libiconv as IGNORE for systems with iconv in libc

Reviewed by:	bapt
Approved by:	portmgr (bapt)
Discussed with:	bapt, bsam (who both contributed ideas and code)
2013-09-04 18:06:07 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Juergen Lock
9b7a8fe71c - Fix multimedia/vdr-plugin-markad build by fixing .include order.
- Switch to USES= gmake.
- Remove 7.x cruft.

Submitted by:	pointyhat via miwi
2013-07-10 17:44:45 +00:00
Baptiste Daroussin
5494f0472e Make post-patch-plugin target compatible with both bmake and make 2013-05-04 21:44:33 +00:00
Juergen Lock
09b9dd6fc5 (Attempt to) fix build on recent head.
Submitted by:	pointyhat via bapt
2013-05-03 18:03:28 +00:00
Baptiste Daroussin
ad4a53167e include <bsd.port.options.mk> in Makefile.plugins because it has been converted to new options framework so all plugins needs it. 2013-05-01 18:33:16 +00:00
Jason Helfman
b946e6f7a6 - adoption of USES
Approved by:	portmgr (bapt@)
2013-05-01 18:17:36 +00:00
Marcus von Appen
a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +00:00
Alex Kozlov
83f02b963c - Convert USE_GETTEXT to USES (part 4)
Approved by:	portmgr (bapt)
2013-04-26 10:44:28 +00:00
Baptiste Daroussin
992586fa08 Finish converting the whole ports tree to USES=pkgconfig 2013-04-23 14:20:25 +00:00
Juergen Lock
e0a98cf5c8 - Add fix for crashes when cutting. [1]
- Convert Makefile header.
- Bump PORTREVISION.

Reported by:	gb+ML-2011@derbrauer.homelinux.net (Gerhard Brauer) [1]
2013-03-19 18:03:02 +00:00
Juergen Lock
912175354a Add two fixes for device bonding. (locking and OSD LNB setup menu)
Obtained from:	upstream author via vdr mailinglist
2013-02-20 20:20:23 +00:00
Juergen Lock
9b534e5c9e Convert to USE_PKGCONFIG. 2012-07-28 09:00:18 +00:00
Juergen Lock
3e613ab153 - Update multimedia/vdr to 1.7.29 .
- Bump PORTREVISION for all plugins.
2012-07-22 09:25:07 +00:00
Juergen Lock
ef16d2e450 - Fix two linux/dvb ioctls in multimedia/v4l_compat , multimedia/webcamd ,
and multimedia/linux_dvbwrapper : CA_GET_SLOT_INFO and CA_GET_MSG
  need to be _IOWR not _IOR.
- Bump PORTREVISION for multimedia/vdr too since it uses one of the ioctls.
  (This fixes the CI slot of at last the TT CT-3650 DVB-C/T tuner.)

Approved by:	hselasky (maintainer of multimedia/webcamd)
2012-06-28 17:49:51 +00:00
Juergen Lock
06a1a754bf - Update multimedia/vdr and multimedia/vdr-plugins to 1.7.28 .
- Update xineliboutput XKeySym.Pause key in example remote.conf.
  ("space" instead of "Space")
- Add multimedia/vdr-plugin-extrecmenu 1.2.2 to vdr-plugins metaport.
- Update multimedia/vdr-plugin-skinenigmang to 0.1.2s20120606 git snapshot.
- Update www/vdr-plugin-live to 0.2.0s20120325 git snapshot.
- Bump PORTREVISION for all other plugins and add api fixes where necessary.
- Add HISTORY to PORTDOCS for most plugins. (those that have it)
- Remove shlib major versions from LIB_DEPENDS to pet portlint.
2012-06-19 18:42:12 +00:00
Juergen Lock
21ba80a544 - Convert this to OPTIONng too.
- Pet portlint.
2012-06-03 11:33:30 +00:00
Juergen Lock
0d57638020 - Add fix for fontconfig 2.9.0 .
- Bump PORTREVISION.
2012-05-23 20:02:47 +00:00