Navigation Menu

Skip to content

Latest commit

 

History

History
121 lines (121 loc) · 3.79 KB

libogg-1.3.2.patch

File metadata and controls

121 lines (121 loc) · 3.79 KB
 
Oct 22, 2017
Oct 22, 2017
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
diff -ruN libogg-1.3.2.orig/android/ogg/config_types.h libogg-1.3.2/android/ogg/config_types.h
--- libogg-1.3.2.orig/android/ogg/config_types.h 1969-12-31 16:00:00.000000000 -0800
+++ libogg-1.3.2/android/ogg/config_types.h 2017-10-12 20:31:47.848694044 -0700
@@ -0,0 +1,25 @@
+#ifndef __CONFIG_TYPES_H__
+#define __CONFIG_TYPES_H__
+
+/* these are filled in by configure */
+#define INCLUDE_INTTYPES_H 1
+#define INCLUDE_STDINT_H 1
+#define INCLUDE_SYS_TYPES_H 1
+
+#if INCLUDE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#if INCLUDE_STDINT_H
+# include <stdint.h>
+#endif
+#if INCLUDE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+
+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;
+
+#endif
diff -ruN libogg-1.3.2.orig/Android.mk libogg-1.3.2/Android.mk
--- libogg-1.3.2.orig/Android.mk 1969-12-31 16:00:00.000000000 -0800
+++ libogg-1.3.2/Android.mk 2017-10-22 11:48:30.793339994 -0700
@@ -0,0 +1,17 @@
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := ogg
+
+LOCAL_C_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/android
+
+LOCAL_CFLAGS :=
+
+LOCAL_SRC_FILES += \
+ src/framing.c \
+ src/bitwise.c
+
+LOCAL_EXPORT_C_INCLUDES += $(LOCAL_C_INCLUDES)
+
+include $(BUILD_STATIC_LIBRARY)
diff -ruN libogg-1.3.2.orig/macosx/Ogg.xcodeproj/project.pbxproj libogg-1.3.2/macosx/Ogg.xcodeproj/project.pbxproj
--- libogg-1.3.2.orig/macosx/Ogg.xcodeproj/project.pbxproj 2014-05-27 12:52:34.000000000 -0700
+++ libogg-1.3.2/macosx/Ogg.xcodeproj/project.pbxproj 2017-10-22 11:30:36.440344213 -0700
@@ -168,11 +168,19 @@
55
56
57
58
59
60
/* Begin PBXProject section */
0867D690FE84028FC02AAC07 /* Project object */ = {
isa = PBXProject;
+ attributes = {
+ };
buildConfigurationList = 730F235809181A3A00AB638C /* Build configuration list for PBXProject "Ogg" */;
Oct 22, 2017
Oct 22, 2017
61
+ compatibilityVersion = "Xcode 2.4";
62
63
+ developmentRegion = en;
hasScannedForEncodings = 1;
Oct 22, 2017
Oct 22, 2017
64
65
66
67
68
69
70
71
72
73
74
+ knownRegions = (
+ en,
+ );
mainGroup = 0867D691FE84028FC02AAC07 /* Ogg */;
productRefGroup = 034768DDFF38A45A11DB9C8B /* Products */;
projectDirPath = "";
+ projectRoot = "";
targets = (
8D07F2BC0486CC7A007CD1D0 /* Ogg */,
734FB2E40B18B33E00D561D7 /* libogg (static) */,
@@ -237,9 +245,10 @@
75
76
77
78
79
730F235509181A3A00AB638C /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
COPY_PHASE_STRIP = NO;
Oct 22, 2017
Oct 22, 2017
80
81
82
- DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 1;
+ DYLIB_COMPATIBILITY_VERSION = 9.0.0;
83
84
85
86
+ DYLIB_CURRENT_VERSION = 9.2.0;
FRAMEWORK_VERSION = A;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
Oct 22, 2017
Oct 22, 2017
87
88
@@ -248,7 +257,10 @@
GCC_PREFIX_HEADER = Ogg_Prefix.pch;
89
90
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = /Library/Frameworks;
Oct 22, 2017
Oct 22, 2017
91
+ LD_DYLIB_INSTALL_NAME = "@rpath/$(EXECUTABLE_PATH)";
92
93
+ MACOSX_DEPLOYMENT_TARGET = 10.6;
PRODUCT_NAME = Ogg;
Oct 22, 2017
Oct 22, 2017
94
+ SDKROOT = macosx;
95
WRAPPER_EXTENSION = framework;
Oct 22, 2017
Oct 22, 2017
96
97
98
ZERO_LINK = YES;
};
@@ -257,9 +269,10 @@
99
100
101
102
103
730F235609181A3A00AB638C /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
COPY_PHASE_STRIP = YES;
Oct 22, 2017
Oct 22, 2017
104
105
106
- DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 1;
+ DYLIB_COMPATIBILITY_VERSION = 9.0.0;
107
108
109
110
+ DYLIB_CURRENT_VERSION = 9.2.0;
FRAMEWORK_VERSION = A;
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
Oct 22, 2017
Oct 22, 2017
111
112
@@ -267,7 +280,10 @@
GCC_PREFIX_HEADER = Ogg_Prefix.pch;
113
114
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = /Library/Frameworks;
Oct 22, 2017
Oct 22, 2017
115
+ LD_DYLIB_INSTALL_NAME = "@rpath/$(EXECUTABLE_PATH)";
116
117
+ MACOSX_DEPLOYMENT_TARGET = 10.6;
PRODUCT_NAME = Ogg;
Oct 22, 2017
Oct 22, 2017
118
+ SDKROOT = macosx;
119
WRAPPER_EXTENSION = framework;
Oct 22, 2017
Oct 22, 2017
120
121
ZERO_LINK = NO;
};