From a56a601fb46cfd3726c90e6e56792fab561243b5 Mon Sep 17 00:00:00 2001 From: Packit Date: Sep 14 2020 13:28:43 +0000 Subject: Apply patch liboggz-1.1.1-multilib.patch patch_name: liboggz-1.1.1-multilib.patch present_in_specfile: true --- diff --git a/include/oggz/oggz_off_t_generated.h.in b/include/oggz/oggz_off_t_generated.h.in index 0163773..c5cde29 100644 --- a/include/oggz/oggz_off_t_generated.h.in +++ b/include/oggz/oggz_off_t_generated.h.in @@ -59,7 +59,7 @@ #include -typedef @TYPEOF_OGGZ_OFF_T@ oggz_off_t; +typedef loff_t oggz_off_t; #define PRI_OGGZ_OFF_T "@PRI_OGGZ_OFF_T@" diff --git a/include/oggz/oggz_off_t_generated.h.in.multilib b/include/oggz/oggz_off_t_generated.h.in.multilib new file mode 100644 index 0000000..0163773 --- /dev/null +++ b/include/oggz/oggz_off_t_generated.h.in.multilib @@ -0,0 +1,66 @@ +/* + Copyright (C) 2007 Commonwealth Scientific and Industrial Research + Organisation (CSIRO) Australia + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + - Neither the name of CSIRO Australia nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef __OGGZ_OFF_T_GENERATED_H__ +#define __OGGZ_OFF_T_GENERATED_H__ + +/** \file + * Architecture-dependent type for oggz_off_t. + * + * This file should never be included directly by user code. Please include + * either of or instead. + * + * This file was generated when liboggz was built. + * + * Note that this file is only generated when using GNU autoconf. + * This file is not used on Win32 systems. + */ + +/** + * This typedef was determined on the system on which the documentation + * was generated. + * + * To query this on your system, do eg. + * +
+   echo "gcc -E oggz.h | grep oggz_off_t
+ 
+ * + */ + +#include + +typedef @TYPEOF_OGGZ_OFF_T@ oggz_off_t; + +#define PRI_OGGZ_OFF_T "@PRI_OGGZ_OFF_T@" + +#endif /* __OGGZ_OFF_T_GENERATED__ */