mirror of
https://git.freebsd.org/ports.git
synced 2025-07-02 10:00:37 -04:00
- Cleanup options - Enable IMAGEMAGICK by default - Make DVB support optional but leave it enabled by default - Add SNDIO option - Properly order pkg-plist - Unbreak on aarch64 - Bump revision of dependent ports [1] Changes: https://sourceforge.net/projects/xine/files/xine-lib/1.2.9/README.txt/view ABI: https://abi-laboratory.pro/tracker/timeline/xine-lib/ [1] PR: 219921 Reported by: emorrasg@yahoo.es Submitted by: w.schwarzenfeld@utanet.at (initial version), Nathan <ndowens@yahoo.com> Reviewed by: mat, tobik Differential Revision: https://reviews.freebsd.org/D16840
22 lines
792 B
C
22 lines
792 B
C
Unbreak build of phonon-xine
|
|
|
|
In file included from xine/plugins.c:23:
|
|
In file included from /usr/local/include/xine/input_plugin.h:27:
|
|
/usr/local/include/xine/xineutils.h:197:8: error: unknown type name 'inline'
|
|
static inline void _x_freep(void *ptr) {
|
|
^
|
|
/usr/local/include/xine/xineutils.h:197:15: error: expected identifier or '('
|
|
static inline void _x_freep(void *ptr) {
|
|
^
|
|
|
|
--- include/xine/xineutils.h.orig
|
|
+++ include/xine/xineutils.h
|
|
@@ -146,7 +146,7 @@ void *xine_xcalloc(size_t nmemb, size_t
|
|
* Free allocated memory and set pointer to NULL
|
|
* @param ptr Pointer to the pointer to the memory block which should be freed.
|
|
*/
|
|
-static inline void _x_freep(void *ptr) {
|
|
+static void _x_freep(void *ptr) {
|
|
void **p = (void **)ptr;
|
|
free (*p);
|
|
*p = NULL;
|