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
13101dca
Commit
13101dca
authored
Feb 17, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contrib: Flac 1.1.4, patch for MingW32 compiling that was broken. Still issues on include/
parent
19460e5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+3
-0
extras/contrib/src/Patches/flac-mingw32.patch
extras/contrib/src/Patches/flac-mingw32.patch
+24
-0
No files found.
extras/contrib/src/Makefile
View file @
13101dca
...
...
@@ -701,6 +701,9 @@ flac-$(FLAC_VERSION).tar.gz:
flac
:
flac-$(FLAC_VERSION).tar.gz
$(EXTRACT_GZ)
ifdef
HAVE_WIN32
patch
-p0
< Patches/flac-mingw32.patch
endif
ifneq
($(HOST),$(BUILD))
(
patch
-p0
< Patches/flac-cross.patch
&&
cd
$@
&&
autoconf
)
endif
...
...
extras/contrib/src/Patches/flac-mingw32.patch
0 → 100644
View file @
13101dca
diff -ruN flac.old/src/libFLAC/bitreader.c flac/src/libFLAC/bitreader.c
--- flac.old/src/libFLAC/bitreader.c 2007-02-17 04:34:31.000000000 +0100
+++ flac/src/libFLAC/bitreader.c 2007-02-17 04:35:31.000000000 +0100
@@ -37,6 +37,8 @@
#include <string.h> /* for memcpy(), memset() */
#if defined(_MSC_VER) && _MSC_VER <= 1200
#include <winsock.h> /* for ntohl() */
+#elif defined(__MINGW32__)
+#include <winsock.h> /* for ntohl() */
#elif defined FLAC__SYS_DARWIN
#include <machine/endian.h> /* for ntohl() */
#else
diff -ruN flac.old/src/libFLAC/bitwriter.c flac/src/libFLAC/bitwriter.c
--- flac.old/src/libFLAC/bitwriter.c 2007-02-17 04:34:31.000000000 +0100
+++ flac/src/libFLAC/bitwriter.c 2007-02-17 04:35:39.000000000 +0100
@@ -37,6 +37,8 @@
#include <string.h> /* for memcpy(), memset() */
#if defined(_MSC_VER) && _MSC_VER <= 1200
#include <winsock.h> /* for ntohl() */
+#elif defined(__MINGW32__)
+#include <winsock.h> /* for ntohl() */
#elif defined FLAC__SYS_DARWIN
#include <machine/endian.h> /* for ntohl() */
#else
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