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 17)
Currently displaying revision
17
,
Show latest
diff -Nur faad2-2.8.5/configure.ac faad2-2.8.5-new/configure.ac --- faad2-2.8.5/configure.ac 2017-09-30 15:42:38.000000000 +0800 +++ faad2-2.8.5-new/configure.ac 2017-10-09 16:21:20.093673596 +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,43 +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 -CFLAGS="-O -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 - -]) - -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.8.5/include/neaacdec.h faad2-2.8.5-new/include/neaacdec.h --- faad2-2.8.5/include/neaacdec.h 2017-07-20 18:12:08.000000000 +0800 +++ faad2-2.8.5-new/include/neaacdec.h 2017-10-09 16:18:42.381314655 +0800 @@ -31,6 +31,8 @@ #ifndef __NEAACDEC_H__ #define __NEAACDEC_H__ +#pragma GCC visibility push(default) + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ @@ -262,5 +264,6 @@ #ifdef __cplusplus } #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
.