Projects
Essentials
faad2
faad2-visibility.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File faad2-visibility.patch of Package faad2 (Revision 24)
Currently displaying revision
24
,
Show latest
diff -Nur faad2-2_9_1/configure.ac faad2-2_9_1-new/configure.ac --- faad2-2_9_1/configure.ac 2019-11-04 18:22:03.000000000 +0800 +++ faad2-2_9_1-new/configure.ac 2020-02-13 16:49:34.294512000 +0800 @@ -16,7 +16,9 @@ AC_SUBST(LIBTOOL_DEPS) dnl Checks for programs. -AC_PROG_CC +AC_PROG_CC_STDC +AC_USE_SYSTEM_EXTENSIONS +AC_SYS_LARGEFILE AM_PROG_CC_C_O AC_PROG_CPP dnl disable for mpeg4ip plugin @@ -75,46 +77,7 @@ fi ]) -dnl @synopsis AC_C99_FUNC_LRINTF -dnl -dnl Check whether C99's lrintf function is available. -dnl @version 1.3 Feb 12 2002 -dnl @author Erik de Castro Lopo <erikd AT mega-nerd DOT com> -dnl -dnl Permission to use, copy, modify, distribute, and sell this file for any -dnl purpose is hereby granted without fee, provided that the above copyright -dnl and this permission notice appear in all copies. No representations are -dnl made about the suitability of this software for any purpose. It is -dnl provided "as is" without express or implied warranty. -dnl -AC_DEFUN([AC_C99_FUNC_LRINTF], -[AC_CACHE_CHECK(for lrintf, - ac_cv_c99_lrintf, -[ -lrintf_save_CFLAGS=$CFLAGS -lrintf_save_LIBS=$LIBS -CFLAGS="-O" -LIBS="-lm" -AC_TRY_LINK([ -#define _ISOC9X_SOURCE 1 -#define _ISOC99_SOURCE 1 -#define __USE_ISOC99 1 -#define __USE_ISOC9X 1 - -#include <math.h> -], if (!lrintf(3.14159)) lrintf(2.7183);, ac_cv_c99_lrintf=yes, ac_cv_c99_lrintf=no) - -CFLAGS=$lrintf_save_CFLAGS -LIBS=$lrintf_save_LIBS - -]) - -if test "$ac_cv_c99_lrintf" = yes; then - AC_DEFINE(HAVE_LRINTF, 1, - [Define if you have C99's lrintf function.]) -fi -])# AC_C99_FUNC_LRINTF -AC_C99_FUNC_LRINTF +AC_SEARCH_LIBS([lrintf], [m], [AC_DEFINE([HAVE_LRINTF], [1], [Define if you have C99 lrintf function])]) MY_CHECK_TYPEDEF_FROM_INCLUDE([float32_t temp], [#include <sys/types.h>, diff -Nur faad2-2_9_1/include/neaacdec.h faad2-2_9_1-new/include/neaacdec.h --- faad2-2_9_1/include/neaacdec.h 2019-11-04 18:22:03.000000000 +0800 +++ faad2-2_9_1-new/include/neaacdec.h 2020-02-13 16:50:25.338189000 +0800 @@ -31,6 +31,8 @@ #ifndef __NEAACDEC_H__ #define __NEAACDEC_H__ +#pragma GCC visibility push(default) + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ @@ -257,4 +259,6 @@ } #endif /* __cplusplus */ +#pragma GCC visibility pop + #endif
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.