Bug 1859227 - Remove obsolete ogg solaris-types.patch to fix Solaris build. r=media-playback-reviewers,padenot

Compiling ogg on Solaris no longer requires solaris-types.patch because
the ogg typedefs defined using std int types in os_types.h are adequate.

Differential Revision: https://phabricator.services.mozilla.com/D191265
This commit is contained in:
Chris Peterson 2023-10-18 15:05:51 +00:00
Родитель 426a8dd5e2
Коммит f0fc75a765
3 изменённых файлов: 0 добавлений и 33 удалений

Просмотреть файл

@ -99,16 +99,6 @@ extern ogg_free_function_type *ogg_free_func;
typedef int64_t ogg_int64_t;
typedef u_int64_t ogg_uint64_t;
#elif defined(__sun__)
/* Solaris and derivatives */
# include <inttypes.h>
typedef int16_t ogg_int16_t;
typedef uint16_t ogg_uint16_t;
typedef int32_t ogg_int32_t;
typedef uint32_t ogg_uint32_t;
typedef int64_t ogg_int64_t;
#elif defined(__HAIKU__)
/* Haiku */

Просмотреть файл

@ -96,7 +96,6 @@ vendoring:
to: '{vendor_dir}/include/ogg/config_types.h'
patches:
- solaris-types.patch
- memory-reporting.patch
updatebot:

Просмотреть файл

@ -1,22 +0,0 @@
Index: include/ogg/os_types.h
===================================================================
--- a/include/ogg/os_types.h (revision 18100)
+++ b/include/ogg/os_types.h (working copy)
@@ -75,6 +75,16 @@
typedef uint32_t ogg_uint32_t;
typedef int64_t ogg_int64_t;
+#elif defined(__sun__)
+
+ /* Solaris and derivatives */
+# include <inttypes.h>
+ typedef int16_t ogg_int16_t;
+ typedef uint16_t ogg_uint16_t;
+ typedef int32_t ogg_int32_t;
+ typedef uint32_t ogg_uint32_t;
+ typedef int64_t ogg_int64_t;
+
#elif defined(__HAIKU__)
/* Haiku */