Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
1cd0908c
Commit
1cd0908c
authored
Jul 07, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contribs: unbreak libxml compilation on Darwin
parent
b78ee38b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
22 deletions
+0
-22
contrib/src/libxml2/osx-threads.patch
contrib/src/libxml2/osx-threads.patch
+0
-19
contrib/src/libxml2/rules.mak
contrib/src/libxml2/rules.mak
+0
-3
No files found.
contrib/src/libxml2/osx-threads.patch
deleted
100644 → 0
View file @
b78ee38b
--- libxml2-2.9.0/threads.c.orig 2012-11-10 08:11:05.000000000 -0500
+++ libxml2-2.9.0/threads.c 2012-11-10 08:12:30.000000000 -0500
@@ -146,6 +146,7 @@
static pthread_key_t globalkey;
static pthread_t mainthread;
static pthread_once_t once_control = PTHREAD_ONCE_INIT;
+static pthread_once_t once_control_init = PTHREAD_ONCE_INIT;
static pthread_mutex_t global_init_lock = PTHREAD_MUTEX_INITIALIZER;
#elif defined HAVE_WIN32_THREADS
#if defined(HAVE_COMPILER_TLS)
@@ -915,7 +916,7 @@
#ifdef HAVE_PTHREAD_H
if ((libxml_is_threaded) && (pthread_key_delete != NULL))
pthread_key_delete(globalkey);
- once_control = PTHREAD_ONCE_INIT;
+ once_control = once_control_init;
#elif defined(HAVE_WIN32_THREADS) && !defined(HAVE_COMPILER_TLS) && (!defined(LIBXML_STATIC) || defined(LIBXML_STATIC_FOR_DLL))
if (globalkey != TLS_OUT_OF_INDEXES) {
xmlGlobalStateCleanupHelperParams *p;
contrib/src/libxml2/rules.mak
View file @
1cd0908c
...
...
@@ -17,9 +17,6 @@ XMLCONF = --with-minimal --with-catalog --with-reader --with-tree --with-push --
libxml2
:
libxml2-$(LIBXML2_VERSION).tar.gz .sum-libxml2
$(UNPACK)
ifdef
HAVE_DARWIN_OS
$(APPLY)
$(SRC)
/libxml2/osx-threads.patch
endif
$(APPLY)
$(SRC)
/libxml2/no-tests.patch
$(APPLY)
$(SRC)
/libxml2/win32.patch
$(APPLY)
$(SRC)
/libxml2/pthread.patch
...
...
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