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
9365e5b0
Commit
9365e5b0
authored
Aug 13, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contrib: one step further on the Win32 upnp port to compile vlc plugin
parent
9998fd24
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
19 deletions
+30
-19
extras/contrib/src/Patches/libupnp-configure.patch
extras/contrib/src/Patches/libupnp-configure.patch
+30
-19
No files found.
extras/contrib/src/Patches/libupnp-configure.patch
View file @
9365e5b0
--- libupnp.old/configure.ac 2008-04-25 13:41:16.000000000 +0200
+++ libupnp/configure.ac 2010-08-11 00:41:04.000000000 +0200
@@ -332,19 +332,13 @@
--- libupnp/configure.ac 2008-04-25 13:41:16.000000000 +0200
+++ libupnp_new/configure.ac 2010-08-13 23:21:00.000000000 +0200
@@ -286,7 +286,6 @@
AC_PROG_MAKE_SET
AC_PROG_EGREP
-#
# Default compilation flags
#
echo "--------------------- Default compilation flags -------------------------------"
@@ -332,19 +331,13 @@
# so just abort if a header file is not found.
AC_CHECK_HEADERS(
[ \
...
...
@@ -20,7 +28,16 @@
unistd.h \
],
[],
@@ -370,39 +364,39 @@
@@ -355,7 +348,7 @@
# Checks for typedefs, structures, and compiler characteristics
#
AC_C_CONST
-TYPE_SOCKLEN_T
+#TYPE_SOCKLEN_T
#
@@ -370,39 +363,46 @@
# Checks for POSIX Threads
#
echo "--------------------------- pthread stuff -------------------------------------"
...
...
@@ -31,14 +48,19 @@
+# [],
+# [AC_MSG_ERROR([POSIX threads are required to build this program])])
#
+PTHREAD_LIBS=" -lpthreadGC2"
+PTHREAD_CFLAGS=" -DPTW32_STATIC_LIB -DUPNP_STATIC_LIB"
# Update environment variables for pthreads
#
-CC="$PTHREAD_CC"
-CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
-LIBS="$PTHREAD_LIBS $LIBS"
+#CC="$PTHREAD_CC"
+#CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
+#LIBS="$PTHREAD_LIBS $LIBS"
CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
LIBS="$PTHREAD_LIBS $LIBS"
+
+AC_SUBST(PTHREAD_LIBS)
+AC_SUBST(PTHREAD_CFLAGS)
+AC_SUBST(PTHREAD_CC)
+
#
# Determine if pthread_rwlock_t is available
#
...
...
@@ -87,14 +109,3 @@
AC_CONFIG_FILES([
--- libupnp.old/configure.ac 2010-08-11 00:41:04.000000000 +0200
+++ libupnp/configure.ac 2010-08-11 12:32:48.000000000 +0200
@@ -349,7 +349,7 @@
# Checks for typedefs, structures, and compiler characteristics
#
AC_C_CONST
-TYPE_SOCKLEN_T
+#TYPE_SOCKLEN_T
#
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