Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
be0c8c64
Commit
be0c8c64
authored
Dec 10, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contribs: fix zvbi compilation for Android
parent
20429146
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
3 deletions
+42
-3
contrib/src/zvbi/rules.mak
contrib/src/zvbi/rules.mak
+5
-3
contrib/src/zvbi/zvbi-android.patch
contrib/src/zvbi/zvbi-android.patch
+37
-0
No files found.
contrib/src/zvbi/rules.mak
View file @
be0c8c64
...
@@ -22,6 +22,9 @@ ifdef HAVE_WIN32
...
@@ -22,6 +22,9 @@ ifdef HAVE_WIN32
endif
endif
ifdef
HAVE_DARWIN_OS
ifdef
HAVE_DARWIN_OS
$(APPLY)
$(SRC)
/zvbi/zvbi-fix-clang-support.patch
$(APPLY)
$(SRC)
/zvbi/zvbi-fix-clang-support.patch
endif
ifdef
HAVE_ANDROID
$(APPLY)
$(SRC)
/zvbi/zvbi-android.patch
endif
endif
$(MOVE)
$(MOVE)
...
@@ -33,6 +36,7 @@ ZVBICONF := \
...
@@ -33,6 +36,7 @@ ZVBICONF := \
--disable-nls
--disable-proxy
\
--disable-nls
--disable-proxy
\
--without-doxygen
\
--without-doxygen
\
$(HOSTCONF)
$(HOSTCONF)
ifdef
HAVE_MACOSX
ifdef
HAVE_MACOSX
ZVBI_CFLAGS
+=
-fnested-functions
ZVBI_CFLAGS
+=
-fnested-functions
endif
endif
...
@@ -41,10 +45,8 @@ ZVBI_CFLAGS += -DPTW32_STATIC_LIB
...
@@ -41,10 +45,8 @@ ZVBI_CFLAGS += -DPTW32_STATIC_LIB
endif
endif
.zvbi
:
zvbi
.zvbi
:
zvbi
$(UPDATE_AUTOCONFIG)
$(UPDATE_AUTOCONFIG)
ifdef
HAVE_WIN32
$(RECONF)
$(RECONF)
endif
cd
$<
&&
$(HOSTVARS)
CFLAGS
=
"
$(ZVBI_CFLAGS)
"
./configure
$(ZVBICONF)
cd
$<
&&
$(HOSTVARS)
CFLAGS
=
"
$(ZVBI_CFLAGS)
"
./configure
$(ZVBICONF)
cd
$<
/src
&&
$(MAKE)
install
cd
$<
/src
&&
$(MAKE)
install
cd
$<
&&
$(MAKE)
SUBDIRS
=
.
install
cd
$<
&&
$(MAKE)
SUBDIRS
=
.
install
...
...
contrib/src/zvbi/zvbi-android.patch
0 → 100644
View file @
be0c8c64
--- zvbi/src/conv.c 2013-08-28 14:10:16.000000000 +0200
+++ zvbi-new/src/conv.c 2014-12-09 11:14:36.948231282 +0100
@@ -26,7 +26,9 @@
#endif
#include <errno.h>
-#include <langinfo.h>
+#ifdef HAVE_LANGINFO_H
+# include <langinfo.h>
+#endif
#include "misc.h"
#include "conv.h"
@@ -1234,9 +1236,12 @@
const char *dst_format;
dst_format = bind_textdomain_codeset (vbi_intl_domainname, NULL);
-
+#ifdef HAVE_LANGINFO_H
if (NULL == dst_format)
dst_format = nl_langinfo (CODESET);
+#else
+ dst_format = "UTF-8";
+#endif
return dst_format; /* may be NULL */
}
--- zvbi/src/Makefile.am 2013-07-10 11:14:47.000000000 +0200
+++ zvbi-new/src/Makefile.am 2014-12-10 22:09:27.410157237 +0100
@@ -94,7 +94,6 @@
page_table.c page_table.h \
pdc.c pdc.h \
pfc_demux.c pfc_demux.h \
- proxy-client.c proxy-client.h \
raw_decoder.c raw_decoder.h \
sampling_par.c sampling_par.h \
search.c search.h ure.c ure.h \
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment