Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
cf10ebe4
Commit
cf10ebe4
authored
Sep 06, 2007
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contribs: fixed mpcdec cross-compilation
parent
ced63b09
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
17 deletions
+17
-17
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+1
-1
extras/contrib/src/Patches/mpcdec.patch
extras/contrib/src/Patches/mpcdec.patch
+16
-16
No files found.
extras/contrib/src/Makefile
View file @
cf10ebe4
...
...
@@ -2009,7 +2009,7 @@ libmpcdec-$(MUSE_VERSION).tar.bz2:
mpcdec
:
libmpcdec-$(MUSE_VERSION).tar.bz2
$(EXTRACT_BZ2)
patch
-p0
< Patches/mpcdec.patch
(
cd
$@
;
auto
conf
-vi
f
)
(
cd
$@
;
auto
recon
f
)
.mpcdec
:
mpcdec
ifdef
HAVE_WIN32
...
...
extras/contrib/src/Patches/mpcdec.patch
View file @
cf10ebe4
Index: mpcdec/configure.ac
===================================================================
--- mpcdec/configure.ac (revision 276)
+++ mpcdec/configure.ac (revision 289)
@@ -59,11 +59,6 @@
--- mpcdec/configure.ac 2007-04-17 21:05:32.000000000 +0200
+++ mpcdec/configure.ac 2007-09-06 23:52:09.000000000 +0200
@@ -58,10 +58,15 @@
ac_cv_c_int64_t=int64_t
fi
-AC_FUNC_MEMCMP
-if test "x$ac_cv_func_memcmp_working" = "xno" ; then
- AC_MSG_ERROR([working memcmp is not available.])
-fi
-
-AC_CHECK_FUNCS([memmove memset], [],
- AC_MSG_ERROR([memset or memmove is missing.]))
+AC_CHECK_FUNCS([memmove memset memcmp], [],
+ AC_MSG_ERROR([memmove memset or memcmp is missing.]))
dnl Make substitutions
+if test "x$cross_compiling" = "xyes" ; then
+AC_CHECK_FUNCS([memcmp], [],
+ AC_MSG_ERROR([memcmp is missing.]))
+else
AC_FUNC_MEMCMP
if test "x$ac_cv_func_memcmp_working" = "xno" ; then
AC_MSG_ERROR([working memcmp is not available.])
fi
+fi
AC_CHECK_FUNCS([memmove memset], [],
AC_MSG_ERROR([memset or memmove is missing.]))
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