non port: multimedia/smpeg/files/patch-configure |
Number of commits found: 5 |
Thursday, 18 May 2023
|
11:34 Dimitry Andric (dim)
multimedia/smpeg: fix build with clang 16
Since clang 16 (and gcc 11) the default C++ standard is now gnu++17.
Because multimedia/smpeg's configure scripts and Makefiles do not
explicitly set the C++ standard, this leads to several errors:
In file included from MPEGaudio.cpp:24:
../MPEGaudio.h:129:7: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
register int r=(buffer[bitindex>>3]>>(7-(bitindex&7)))&1;
^~~~~~~~~
../MPEGaudio.h:135:7: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
register unsigned short a;
^~~~~~~~~
MPEGaudio.cpp:317:3: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
register int r=(_buffer[bitindex>>3]>>(7-(bitindex&7)))&1;
^~~~~~~~~
MPEGaudio.cpp:326:3: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
register unsigned short a;
^~~~~~~~~
MPEGaudio.cpp:339:3: error: ISO C++17 does not allow 'register' storage class
specifier [-Wregister]
register unsigned short a;
^~~~~~~~~
Because smpeg uses a rather strange configure script, it does not
process CXXFLAGS correctly, so set CXX to include -std=gnu++98.
Also remove the REAL_CC patch which is no longer necessary.
PR: 271353
Approved by: portmgr (build fix blanket)
MFH: 2023Q2
967c804 |
Saturday, 18 Jun 2022
|
06:28 Jose Alonso Cardenas Marquez (acm)
multimedia/smpeg: Revert configure patch file
* Commit 87624aab for PR #231524 has accidentally introduced two
additional patches to the configure script, breaking parts of
its workings. Revert these changes to fix the configuration.
* Bump PORTREVISION
PR: 263023
Reported by: Robert Clausecker <fuz _at_ fuz.su>
907bea9 |
Tuesday, 20 Nov 2018
|
18:03 acm
- Fix LLD for i386
- Correct order variables, while here
- Regenerate patches with makepatch
- Bump PORTREVISION
PR: 231524
Submitted by: Nathan <ndowens _at_ yahoo.com>
|
Friday, 22 May 2015
|
20:34 mat
Remove $FreeBSD$ from patches files everywhere.
With hat: portmgr
Sponsored by: Absolight
|
Friday, 9 Sep 2011
|
03:33 amdmi3
- Fix build with clang
PR: 159270
Submitted by: myself
Approved by: acm (maintainer via private email)
|
Number of commits found: 5 |