1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
Commit Graph

434716 Commits

Author SHA1 Message Date
Jan Beich
59eb10ff95 net/libutp: unbreak build with Clang 6 (C++14 by default)
c++  -O2 -pipe -fstack-protector -fno-strict-aliasing  -fno-exceptions -fno-rtti -I/wrkdirs/usr/ports/net/libutp/work/libutp-7c4f19a -I/wrkdirs/usr/ports/net/libutp/work/libutp-7c4f19a/utp_config_lib -DPOSIX -Wall  -Wno-c++11-extensions  -c utp.cpp -o utp.o
utp.cpp:1708:91: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
                        "scaled_gain:%f rtt:%u rate:%u quota:%d wnduser:%u rto:%u timeout:%d get_microseconds:"I64u" "
                                                                                                               ^

utp.cpp:1793:79: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
        LOG_UTPV("0x%08x: Got %s. seq_nr:%u ack_nr:%u state:%s version:%u timestamp:"I64u" reply_micro:%u",
                                                                                     ^

Reported by:	antoine (via bug 224669)
2018-01-06 05:38:43 +00:00
Sunpoet Po-Chuan Hsieh
9b2557a579 Fix typo 2018-01-06 05:38:41 +00:00
Sunpoet Po-Chuan Hsieh
79b9350121 Document the removal of devel/p5-Test-Block 2018-01-06 05:34:06 +00:00
Sunpoet Po-Chuan Hsieh
7c39e8c842 Remove devel/p5-Test-Block 2018-01-06 05:34:01 +00:00
Sunpoet Po-Chuan Hsieh
f1104f7554 Update {BUILD,RUN}_DEPENDS: remove deprecated p5-Test-Block
- While I'm here:
  - Move test-only dependencies to TEST_DEPENDS
  - Sort TEST_DEPENDS
- Bump PORTREVISION for dependency change
2018-01-06 05:33:56 +00:00
Sunpoet Po-Chuan Hsieh
cf51f1a8a8 Update {BUILD,RUN}_DEPENDS: remove deprecated (and unused) p5-Test-Block
- While I'm here:
  - Move test-only dependencies to TEST_DEPENDS
  - Clean up unused TEST_DEPENDS
- Bump PORTREVISION for dependency change
2018-01-06 05:33:51 +00:00
Sunpoet Po-Chuan Hsieh
bdedbb0a58 Update {BUILD,RUN}_DEPENDS: remove deprecated p5-Test-Block
- While I'm here:
  - Move test-only dependencies to TEST_DEPENDS
  - Clean up TEST_DEPENDS:
    - p5-Test-Spelling is unused
    - p5-Test-Dependencies, p5-Test-Distribution, p5-Test-Pod and p5-Test-Strict are used for author test
  - Sort TEST_DEPENDS
- Bump PORTREVISION for dependency change
2018-01-06 05:33:46 +00:00
David Naylor
a4c7b76c23 emulators/i386-wine-devel: update to 3.0.r4
Mark i386-wine-staging as BROKEN as those patches are no longer available
(and now several months of unavailability).
2018-01-06 05:31:43 +00:00
Jan Beich
1b096ffd34 math/py-matplotlib: unbreak build with Clang 6 (C++14 by default)
extern/ttconv/pprdrv_tt.cpp:245:41: error: cast from pointer to smaller type 'char' loses information
                font->Copyright[length]=(char)NULL;
                                        ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:261:42: error: cast from pointer to smaller type 'char' loses information
                font->FamilyName[length]=(char)NULL;
                                         ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:277:37: error: cast from pointer to smaller type 'char' loses information
                font->Style[length]=(char)NULL;
                                    ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:293:40: error: cast from pointer to smaller type 'char' loses information
                font->FullName[length]=(char)NULL;
                                       ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:309:39: error: cast from pointer to smaller type 'char' loses information
                font->Version[length]=(char)NULL;
                                      ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:325:40: error: cast from pointer to smaller type 'char' loses information
                font->PostName[length]=(char)NULL;
                                       ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:340:42: error: cast from pointer to smaller type 'char' loses information
                font->PostName[length/2]=(char)NULL;
                                         ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:355:41: error: cast from pointer to smaller type 'char' loses information
                font->Trademark[length]=(char)NULL;
                                        ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:1041:19: error: cast from pointer to smaller type 'char' loses information
        temp[len]=(char)NULL;   /* a buffer and make it ASCIIz. */
                  ^~~~~~~~~~

Reported by:	antoine (via bug 224669)
2018-01-06 05:24:09 +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
Sunpoet Po-Chuan Hsieh
4f148d733b Update to 2.10.112
Changes:	https://github.com/aws/aws-sdk-ruby/releases
2018-01-06 04:45:19 +00:00
Sunpoet Po-Chuan Hsieh
d3db03748e Update to 2.10.112
Changes:	https://github.com/aws/aws-sdk-ruby/releases
2018-01-06 04:45:14 +00:00
Sunpoet Po-Chuan Hsieh
6a2418b2c2 Update to 2.10.112
Changes:	https://github.com/aws/aws-sdk-ruby/releases
2018-01-06 04:45:08 +00:00
Sunpoet Po-Chuan Hsieh
d1c05cf2c3 Update to 4.6
Changes:	https://github.com/xolox/python-humanfriendly/commits/master
2018-01-06 04:45:03 +00:00
Sunpoet Po-Chuan Hsieh
b92d18d935 Document the removal of devel/p5-MooseX-Role-WithOverloading 2018-01-06 04:34:06 +00:00
Sunpoet Po-Chuan Hsieh
c1b3722efa Remove devel/p5-MooseX-Role-WithOverloading 2018-01-06 04:34:02 +00:00
Sunpoet Po-Chuan Hsieh
c9e1c1b8a8 Update TEST_DEPENDS: remove deprecated p5-MooseX-Role-WithOverloading 2018-01-06 04:33:56 +00:00
Sunpoet Po-Chuan Hsieh
fc20770917 Update TEST_DEPENDS: remove deprecated p5-MooseX-Role-WithOverloading 2018-01-06 04:33:51 +00:00
Sunpoet Po-Chuan Hsieh
e22a88831d Update to 3.2.1
Changes:	https://github.com/bblimke/webmock/blob/master/CHANGELOG.md
2018-01-06 04:33:46 +00:00
Sunpoet Po-Chuan Hsieh
23f185fa3d Update to 3.5.5
Changes:	https://github.com/sass/sass/blob/stable/doc-src/SASS_CHANGELOG.md
2018-01-06 04:33:41 +00:00
Sunpoet Po-Chuan Hsieh
6ba8c8d453 Update to 4.4.2
Changes:	https://github.com/xolox/python-humanfriendly/commits/master
2018-01-06 04:33:36 +00:00
Sunpoet Po-Chuan Hsieh
27197985ef Update to 7.3.2
Changes:	https://github.com/xolox/python-coloredlogs/commits/master
2018-01-06 04:33:31 +00:00
Sunpoet Po-Chuan Hsieh
2cd794d36b Update to 4.0
Changes:	http://search.cpan.org/dist/Math-MPFR/CHANGES
2018-01-06 04:33:25 +00:00
Sunpoet Po-Chuan Hsieh
2f2225eb69 Update to 0.09
Changes:	http://search.cpan.org/dist/Class-Base/Changes
2018-01-06 04:33:21 +00:00
Sunpoet Po-Chuan Hsieh
d3e83ad248 Update to 0.66.0
Changes:	https://gitlab.com/gitlab-org/gitaly-proto/commits/master
2018-01-06 04:33:15 +00:00
Sunpoet Po-Chuan Hsieh
33b3550fed Update to 0.7.2
Changes:	https://github.com/fluent/fluent-logger-ruby/blob/master/ChangeLog
2018-01-06 04:33:10 +00:00
Sunpoet Po-Chuan Hsieh
d318407231 Update to 0.6.1
Changes:	https://github.com/GoogleCloudPlatform/container-diff/releases
2018-01-06 04:33:05 +00:00
Jan Beich
bace63c8b1 textproc/exempi: unbreak build with Clang 6 (C++14 by default)
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:703:81: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
                        if ( meta->GetLocalizedText( kXMP_NS_DC, "title", "", "x-default", 0, &utf8, kXMP_NoOptions ))
                                                                                                     ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:1232:28: note: passing argument to parameter 'options' here
                                                    XMP_OptionBits * options ) const;
                                                                     ^
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:710:57: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
                        if ( meta->GetProperty( kXMP_NS_DM, "artist", &utf8, kXMP_NoOptions ))
                                                                             ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:717:56: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
                        if ( meta->GetProperty( kXMP_NS_DM, "album", &utf8, kXMP_NoOptions ))
                                                                            ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:724:62: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
                        if ( meta->GetProperty( kXMP_NS_XMP, "CreateDate", &utf8, kXMP_NoOptions ))
                                                                                  ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:736:61: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
                        if ( meta->GetProperty( kXMP_NS_DM, "logComment", &utf8, kXMP_NoOptions ))
                                                                                 ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:743:56: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
                        if ( meta->GetProperty( kXMP_NS_DM, "genre", &utf8, kXMP_NoOptions ))
                                                                            ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
In file included from MP3_Handler.cpp:11:
In file included from ./MP3_Handler.hpp:15:
./../FormatSupport/ID3_Support.hpp:763:62: error: cannot initialize a parameter of type 'XMP_OptionBits *' (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
                        if ( meta->GetProperty( kXMP_NS_DM, "trackNumber", &utf8, kXMP_NoOptions ))
                                                                                  ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
RIFF_Support.cpp:607:79: error: cannot initialize a parameter of type 'XMP_OptionBits *'
      (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
  ...( xmp->GetProperty( bextCodingHistory.ns, bextCodingHistory.prop, &value, kXMP_NoOptions ))
                                                                               ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
RIFF_Support.cpp:619:75: error: cannot initialize a parameter of type 'XMP_OptionBits *'
      (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
        if ( xmp->GetProperty( bextDescription.ns, bextDescription.prop, &value, kXMP_NoOptions ) )
                                                                                 ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
RIFF_Support.cpp:626:74: error: cannot initialize a parameter of type 'XMP_OptionBits *'
      (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
        if ( xmp->GetProperty( bextOriginator.ns , bextOriginator.prop, &value, kXMP_NoOptions ) )
                                                                                ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
RIFF_Support.cpp:633:80: error: cannot initialize a parameter of type 'XMP_OptionBits *'
      (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
  ...( xmp->GetProperty( bextOriginatorRef.ns , bextOriginatorRef.prop, &value, kXMP_NoOptions ) )
                                                                                ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
RIFF_Support.cpp:640:84: error: cannot initialize a parameter of type 'XMP_OptionBits *'
      (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
  ...bextOriginationDate.ns , bextOriginationDate.prop, &value, kXMP_NoOptions ) )
                                                                ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
RIFF_Support.cpp:647:84: error: cannot initialize a parameter of type 'XMP_OptionBits *'
      (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
  ...bextOriginationTime.ns , bextOriginationTime.prop, &value, kXMP_NoOptions ) )
                                                                ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
RIFF_Support.cpp:655:79: error: cannot initialize a parameter of type 'XMP_OptionBits *'
      (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
  ...( xmp->GetProperty( bextTimeReference.ns, bextTimeReference.prop, &value, kXMP_NoOptions ) )
                                                                               ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
RIFF_Support.cpp:678:61: error: cannot initialize a parameter of type 'XMP_OptionBits *'
      (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
        if ( xmp->GetProperty( bextUMID.ns, bextUMID.prop, &value, kXMP_NoOptions ) )
                                                                   ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^
RIFF_Support.cpp:697:79: error: cannot initialize a parameter of type 'XMP_OptionBits *'
      (aka 'unsigned int *') with an rvalue of type 'XMP_OptionBits' (aka 'unsigned int')
  ...( xmp->GetProperty( bextCodingHistory.ns, bextCodingHistory.prop, &value, kXMP_NoOptions ) )
                                                                               ^~~~~~~~~~~~~~
../../../public/include/XMP_Const.h:421:33: note: expanded from macro 'kXMP_NoOptions'
 #define kXMP_NoOptions          ((XMP_OptionBits)0UL)
                                 ^~~~~~~~~~~~~~~~~~~~~
../../../public/include/TXMPMeta.hpp:384:40: note: passing argument to parameter 'options' here
                           XMP_OptionBits * options ) const;
                                            ^

Reported by:	antoine (via bug 224669)
Obtained from:	upstream (exempi 2.4.0)
2018-01-06 04:13:11 +00:00
Jan Beich
c93db19487 textproc/scim: unbreak build with Clang 6 (C++14 by default)
In file included from scim_backend.cpp:33:
In file included from ./scim.h:193:
In file included from /usr/include/c++/v1/iostream:38:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:15:
In file included from /usr/include/c++/v1/string:477:
In file included from /usr/include/c++/v1/string_view:176:
In file included from /usr/include/c++/v1/__string:56:
In file included from /usr/include/c++/v1/algorithm:642:
/usr/include/c++/v1/utility:324:5: error: the parameter for this explicitly-defaulted copy constructor is const, but a member or base requires it to be non-const
    pair(pair const&) = default;
    ^
/usr/include/c++/v1/map:624:16: note: in instantiation of template class 'std::__1::pair<const std::__1::basic_string<char>, scim::Pointer<scim::IMEngineFactoryBase> >' requested here
    value_type __cc;
               ^
scim_backend.cpp:117:53: note: in instantiation of template class 'std::__1::__value_type<std::__1::basic_string<char>, scim::Pointer<scim::IMEngineFactoryBase> >' requested here
        for (it = m_factory_repository.begin (); it != m_factory_repository.end (); ++it) {
                                                    ^
In file included from scim_backend.cpp:33:
In file included from ./scim.h:193:
In file included from /usr/include/c++/v1/iostream:38:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:15:
In file included from /usr/include/c++/v1/string:477:
In file included from /usr/include/c++/v1/string_view:176:
In file included from /usr/include/c++/v1/__string:56:
In file included from /usr/include/c++/v1/algorithm:642:
/usr/include/c++/v1/utility:324:5: error: the parameter for this explicitly-defaulted copy constructor is const, but a member or base requires it to be non-const
    pair(pair const&) = default;
    ^
/usr/include/c++/v1/map:625:21: note: in instantiation of template class 'std::__1::pair<std::__1::basic_string<char>, scim::Pointer<scim::IMEngineFactoryBase> >' requested here
    __nc_value_type __nc;
                    ^
scim_backend.cpp:117:53: note: in instantiation of template class 'std::__1::__value_type<std::__1::basic_string<char>, scim::Pointer<scim::IMEngineFactoryBase> >' requested here
        for (it = m_factory_repository.begin (); it != m_factory_repository.end (); ++it) {
                                                    ^
scim_debug.cpp:41:6: error: constant expression evaluates to -1 which cannot be narrowed to type
      'scim::uint32' (aka 'unsigned int') [-Wc++11-narrowing]
    {SCIM_DEBUG_AllMask,        "all"},
     ^~~~~~~~~~~~~~~~~~
./scim_debug.h:44:37: note: expanded from macro 'SCIM_DEBUG_AllMask'
 #define SCIM_DEBUG_AllMask          (~0) /**< Show all messages. */
                                     ^~~~
scim_debug.cpp:41:6: note: insert an explicit cast to silence this issue
    {SCIM_DEBUG_AllMask,        "all"},
     ^~~~~~~~~~~~~~~~~~
     static_cast<uint32>( )
./scim_debug.h:44:37: note: expanded from macro 'SCIM_DEBUG_AllMask'
 #define SCIM_DEBUG_AllMask          (~0) /**< Show all messages. */
                                     ^~~~

Reported by:	antoine (via bug 224669)
Obtained from:	upstream (SCIM 1.4.16)
2018-01-06 03:03:42 +00:00
Jan Beich
9c1afe1f60 graphics/freeimage: unbreak build with Clang 6 (C++14 by default)
Source/LibRawLite/./internal/dcraw_common.cpp:3786:19: error: constant expression evaluates to 128 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
    -1,-2,-1,+0,0,0x80, -1,-2,+0,-1,0,0x01, -1,-2,+1,-1,0,0x01,
                  ^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3786:19: note: insert an explicit cast to silence this issue
    -1,-2,-1,+0,0,0x80, -1,-2,+0,-1,0,0x01, -1,-2,+1,-1,0,0x01,
                  ^~~~
                  static_cast<signed char>( )
Source/LibRawLite/./internal/dcraw_common.cpp:3787:39: error: constant expression evaluates to 136 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
    -1,-2,+1,+0,1,0x01, -1,-1,-1,+1,0,0x88, -1,-1,+1,-2,0,0x40,
                                      ^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3787:39: note: insert an explicit cast to silence this issue
    -1,-2,+1,+0,1,0x01, -1,-1,-1,+1,0,0x88, -1,-1,+1,-2,0,0x40,
                                      ^~~~
                                      static_cast<signed char>( )
Source/LibRawLite/./internal/dcraw_common.cpp:3794:19: error: constant expression evaluates to 128 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
    +0,-2,+0,+0,1,0x80, +0,-1,+0,+1,1,0x88, +0,-1,+1,-2,0,0x40,
                  ^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3794:19: note: insert an explicit cast to silence this issue
    +0,-2,+0,+0,1,0x80, +0,-1,+0,+1,1,0x88, +0,-1,+1,-2,0,0x40,
                  ^~~~
                  static_cast<signed char>( )
Source/LibRawLite/./internal/dcraw_common.cpp:3794:39: error: constant expression evaluates to 136 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
    +0,-2,+0,+0,1,0x80, +0,-1,+0,+1,1,0x88, +0,-1,+1,-2,0,0x40,
                                      ^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3794:39: note: insert an explicit cast to silence this issue
    +0,-2,+0,+0,1,0x80, +0,-1,+0,+1,1,0x88, +0,-1,+1,-2,0,0x40,
                                      ^~~~
                                      static_cast<signed char>( )
Source/LibRawLite/./internal/dcraw_common.cpp:3800:59: error: constant expression evaluates to 128 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
    +0,+1,+2,+1,0,0x20, +0,+1,+2,+2,0,0x10, +1,-2,+1,+0,0,0x80,
                                                          ^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3800:59: note: insert an explicit cast to silence this issue
    +0,+1,+2,+1,0,0x20, +0,+1,+2,+2,0,0x10, +1,-2,+1,+0,0,0x80,
                                                          ^~~~
                                                          static_cast<signed char>( )
Source/LibRawLite/./internal/dcraw_common.cpp:3801:19: error: constant expression evaluates to 136 which cannot be narrowed to type 'signed char' [-Wc++11-narrowing]
    +1,-1,+1,+1,0,0x88, +1,+0,+1,+2,0,0x08, +1,+0,+2,-1,0,0x40,
                  ^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:3801:19: note: insert an explicit cast to silence this issue
    +1,-1,+1,+1,0,0x88, +1,+0,+1,+2,0,0x08, +1,+0,+2,-1,0,0x40,
                  ^~~~
                  static_cast<signed char>( )
Source/LibRawLite/./internal/dcraw_common.cpp:7384:23: error: constant expression evaluates to 65535 which cannot be narrowed to type 'short' [-Wc++11-narrowing]
    { "Red One", 704, 0xffff,           /* DJC */
                      ^~~~~~
Source/LibRawLite/./internal/dcraw_common.cpp:7384:23: note: insert an explicit cast to silence this issue
    { "Red One", 704, 0xffff,           /* DJC */
                      ^~~~~~
                      static_cast<short>( )
Source/LibRawLite/./internal/dcraw_common.cpp:7943:30: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
      is_raw += (i = get4()) && 1;
                             ^  ~
Source/LibRawLite/./internal/dcraw_common.cpp:7943:30: note: use '&' for a bitwise operation
      is_raw += (i = get4()) && 1;
                             ^~
                             &
Source/LibRawLite/./internal/dcraw_common.cpp:7943:30: note: remove constant to silence this warning
      is_raw += (i = get4()) && 1;
                            ~^~~~
Source/LibRawLite/./internal/dcraw_common.cpp:9239:30: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
  strcpy (th->soft, "dcraw v"DCRAW_VERSION);
                             ^

Reported by:	antoine (via bug 224669)
Obtained from:	upstream (LibRaw 0.17.0)
2018-01-06 02:14:57 +00:00
Jan Beich
51a32afec7 www/py-flexget: update to 2.11.20
Changes:	https://github.com/Flexget/Flexget/compare/2.11.18...2.11.20
2018-01-06 00:49:36 +00:00
Jan Beich
5dc16740ee emulators/citra: update to s20180104
Changes:	e203c10c...a66e4585
2018-01-06 00:49:27 +00:00
Jan Beich
5a31259e7b emulators/rpcs3: update to 0.0.4.225
Changes:	198e9dce1...19d181fa4
2018-01-06 00:49:18 +00:00
Wen Heping
0ba2371304 - Update to 0.35
Changes: http://search.cpan.org/src/EXODIST/Test-SharedFork-0.35/Changes

PR:		223484
Submitted by:	svysh.fbsd@gmail.com
Approved by:	maintainer(timeout, > 50 days)
2018-01-06 00:25:25 +00:00
Jean-Sébastien Pédron
3f6cb8de16 lang/rust: Skip .cargo-checksum.json update when it's missing
Currently we need to update `.cargo-checksum.json` in several patched
crates. But those crates are missing from the sources if they come from
GitHub instead of a proper released source archive. This change makes
`post-patch` and `do-configure` recipes fine in both cases.
2018-01-05 23:33:42 +00:00
Jean-Sébastien Pédron
a5fce162f8 lang/rust: Always replace bootstrap versions in stage0.txt
This simplifies the `Makefile`. The condition was fragile anyway because
it was based solely on the Makefile and not the actual content of
`stage0.txt`.
2018-01-05 23:28:16 +00:00
Jean-Sébastien Pédron
f29ef5baf9 lang/rust: Find libstd's suffix at runtime
... instead of hard-coding all values in the Makefile.

This eases the update of Rust.
2018-01-05 23:20:50 +00:00
Jung-uk Kim
87477b872a Update to 20180105.
https://acpica.org/node/152
2018-01-05 22:47:53 +00:00
Raphael Kubo da Costa
f09d9797d5 Backport and adapt patch to fix `make install' with Qt 5.9:
/usr/local/lib/qt5/bin/qmake -install qinstall /wrkdirs/usr/ports/games/tanglet/work/tanglet-1.4.0/translations/*.qm /wrkdirs/usr/ports/games/tanglet/work/stage/usr/local/share/tanglet/translations/*.qm
    Error: usage: [-exe] source target
    *** Error code 3 (ignored)

PR:		224849
2018-01-05 22:22:16 +00:00
Raphael Kubo da Costa
4db659e138 Backport patch that fixes `make install' with Qt 5.9.
/usr/local/lib/qt5/bin/qmake -install qinstall /wrkdirs/usr/ports/games/gottet/work/gottet-1.1.3/translations/*.qm /wrkdirs/usr/ports/games/gottet/work/stage/usr/local/share/gottet/translations/*.qm
    Error: usage: [-exe] source target
    *** Error code 3 (ignored)

PR:		224849
2018-01-05 22:17:49 +00:00
Rene Ladan
7f85a02b1e Remove expired port:
2018-01-04 audio/beast: 4.5 years old version, six versions behind, requires old toolchain, and unmaintained.
2018-01-05 22:00:56 +00:00
Raphael Kubo da Costa
191e95b340 Add a patch to fix the build with Clang 6.0.
../../../../CPP/Windows/ErrorMsg.cpp:24:10: error: case value evaluates to -2147024809, which cannot be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]
        case E_INVALIDARG          : txt = "E_INVALIDARG"; break ;
             ^
    ../../../../CPP/Common/MyWindows.h:89:22: note: expanded from macro 'E_INVALIDARG'
    #define E_INVALIDARG ((HRESULT)0x80070057L)
                         ^

HRESULT causes the macro to be parsed as a signed long, so we need to force it
to be checked as an unsigned long instead.

PR:		224930
2018-01-05 21:45:13 +00:00
Sergey A. Osokin
959feda615 Upgrade from 0.2 to 0.3.
<ChangeLog>

*) Change: the Go package name changed to "nginx/unit".

*) Change: in the "limits.timeout" application option: application start
   time and time in queue now are not accounted.

*) Feature: the "limits.requests" application option.

*) Feature: application request processing latency optimization.

*) Feature: HTTP keep-alive connections support.

*) Feature: the "home" Python virtual environment configuration option.

*) Feature: Python atexit hook support.

*) Feature: various Go package improvements.

*) Bugfix: various crashes fixed.

</ChangeLog>
2018-01-05 21:09:27 +00:00
Bryan Drewery
9a32077e0d Update to 3.2.3-85-g190c9bef
- testport: Fix assertion from 0a756b606 to only fire if a FLAVOR is given.
2018-01-05 20:50:33 +00:00
Sean Bruno
0045c0c71f sysutils/devcpu-data with Intel microcode update 20171117.
PR:	224901
Approved by:	portmgr@ (antoine)
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D13771
2018-01-05 20:37:57 +00:00
Sergey A. Osokin
4638df3d43 Upgrade from 1.13.7 to 1.13.8.
While I'm here remove needless patch.

<ChangeLog>

*) Feature: now nginx automatically preserves the CAP_NET_RAW capability
   in worker processes when using the "transparent" parameter of the
   "proxy_bind", "fastcgi_bind", "memcached_bind", "scgi_bind", and
   "uwsgi_bind" directives.

*) Feature: improved CPU cache line size detection.
   Thanks to Debayan Ghosh.

*) Feature: new directives in vim syntax highlighting scripts.
   Thanks to Gena Makhomed.

*) Bugfix: binary upgrade refused to work if nginx was re-parented to a
   process with PID different from 1 after its parent process has
   finished.

*) Bugfix: the ngx_http_autoindex_module incorrectly handled requests
   with bodies.

*) Bugfix: in the "proxy_limit_rate" directive when used with the
   "keepalive" directive.

*) Bugfix: some parts of a response might be buffered when using
   "proxy_buffering off" if the client connection used SSL.
   Thanks to Patryk Lesiewicz.

*) Bugfix: in the "proxy_cache_background_update" directive.

*) Bugfix: it was not possible to start a parameter with a variable in
   the "${name}" form with the name in curly brackets without enclosing
   the parameter into single or double quotes.

</ChangeLog>
2018-01-05 20:03:34 +00:00
Yuri Victorovich
2c43c07183 Corrected shared library names that got the .abi3 suffix for python-36 and up after devel/py-cffi upgrade to 1.11.2
This is the followup for the r457997 commit that updated devel/py-cffi to 1.11.2.
As it turned out, the shared object names built by py-cffi has changed in python 36.
Dependent ports can choose between installing such shared object as part of their plist, or
generating them in the runtime and placing them into ~/.cache/{port-name}/ The former ones,
that include the shared objects in their plist, got affected.

4 of the ports were failing explicitly in their py36 flavor during the strip phase.
The other 6 were either missing strip entirely, or performed the strip operation without
using explicit shared object names. These 6 ports didn't trigger any build errors, and were
failing silently during the runtime, making the problem very hard to detect.

Precisely, .abi3 suffix is now added for the py36 flavor of relevant ports.

Here are the 10 ports that got affected and are now corrected:
databases/py-psycopg2cffi devel/py-pygit2 devel/py-xattr devel/py-pyopencl devel/py-atomiclong
multimedia/py-librtmp net/py-nnpy security/py-bcrypt security/py-cryptography security/py-pynacl

All of them got the * in the stripped shared object name, and a PORTREVISION bump.
2018-01-05 20:02:03 +00:00
Tobias Kortkamp
dfce33f470 www/links: Update to 2.14
While here:

- Remove redundant option descriptions
- Add LICENSE_FILE

Changes:	http://links.twibright.com/download/ChangeLog
PR:		224938
Submitted by:	portmaster@BSDforge.com (maintainer)
2018-01-05 19:37:51 +00:00
Guido Falsi
2e3c22209d Fix conditional in flavoring.
I missed this change when I committed the approved review.

Reviewed by:		portmgr (mat)
Approved by:		portmgr (mat)
MFH:			2018Q1
Differential Revision:	https://reviews.freebsd.org/D13478
2018-01-05 19:20:35 +00:00
Danilo Egea Gondolfo
310045a784 - Update to 0.20180104 2018-01-05 19:18:07 +00:00