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
2cd8dae3
Commit
2cd8dae3
authored
Jun 08, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contrib: update zlib to 1.2.5
And patch it again and again...
parent
d933c542
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
30 deletions
+29
-30
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+4
-3
extras/contrib/src/Patches/zlib-static.patch
extras/contrib/src/Patches/zlib-static.patch
+11
-0
extras/contrib/src/Patches/zlib-wince.patch
extras/contrib/src/Patches/zlib-wince.patch
+13
-0
extras/contrib/src/Patches/zlib.patch
extras/contrib/src/Patches/zlib.patch
+0
-26
extras/contrib/src/packages.mak
extras/contrib/src/packages.mak
+1
-1
No files found.
extras/contrib/src/Makefile
View file @
2cd8dae3
...
...
@@ -1112,7 +1112,7 @@ else
ifdef
HAVE_UCLIBC
.ffmpeg
:
ffmpeg
else
.ffmpeg
:
ffmpeg .lame .gsm .libvpx
.ffmpeg
:
ffmpeg .lame .gsm .libvpx
.zlib
endif
endif
(
cd
$<
;
$(HOSTCC)
./configure
--prefix
=
$(PREFIX)
--extra-cflags
=
"
$(CFLAGS)
$(FFMPEG_CFLAGS)
-DHAVE_STDINT_H"
--extra-ldflags
=
"
$(LDFLAGS)
"
$(FFMPEGCONF)
--disable-shared
--enable-static
&&
make
&&
make install-libs install-headers
)
...
...
@@ -1614,10 +1614,11 @@ zlib-$(ZLIB_VERSION).tar.gz:
zlib
:
zlib-$(ZLIB_VERSION).tar.gz
$(EXTRACT_GZ)
patch
-p0
< Patches/zlib.patch
patch
-p0
< Patches/zlib-wince.patch
patch
-p0
< Patches/zlib-static.patch
.zlib
:
zlib
(
cd
zlib
;
$(HOSTCC
2)
./configure
--prefix
=
$(PREFIX)
&&
make
install
)
(
cd
zlib
;
$(HOSTCC
)
./configure
--prefix
=
$(PREFIX)
--static
&&
make
install
)
$(INSTALL_NAME)
touch
$@
...
...
extras/contrib/src/Patches/zlib-static.patch
0 → 100644
View file @
2cd8dae3
--- zlib/Makefile.in 2010-04-20 06:12:21.000000000 +0200
+++ zlib.new/Makefile.in 2010-06-08 14:02:43.000000000 +0200
@@ -168,7 +168,7 @@
-@if [ ! -d $(DESTDIR)$(man3dir) ]; then mkdir -p $(DESTDIR)$(man3dir); fi
-@if [ ! -d $(DESTDIR)$(pkgconfigdir) ]; then mkdir -p $(DESTDIR)$(pkgconfigdir); fi
cp $(STATICLIB) $(DESTDIR)$(libdir)
- cp $(SHAREDLIBV) $(DESTDIR)$(sharedlibdir)
+ cp $(SHAREDLIBV) $(DESTDIR)$(sharedlibdir) || true >/dev/null 2>&1
cd $(DESTDIR)$(libdir); chmod u=rw,go=r $(STATICLIB)
-@(cd $(DESTDIR)$(libdir); $(RANLIB) libz.a || true) >/dev/null 2>&1
-@cd $(DESTDIR)$(sharedlibdir); if test "$(SHAREDLIBV)" -a -f $(SHAREDLIBV); then \
extras/contrib/src/Patches/zlib-wince.patch
0 → 100644
View file @
2cd8dae3
--- zlib/zutil.h 2010-04-18 21:29:24.000000000 +0200
+++ zlib.new/zutil.h 2010-06-08 13:53:03.000000000 +0200
@@ -153,6 +153,10 @@
# endif
#endif
+#if defined(_WIN32_WCE)
+# define fdopen(fd,mode) NULL /* No fdopen() */
+#endif
+
#if defined(__BORLANDC__)
#pragma warn -8004
#pragma warn -8008
extras/contrib/src/Patches/zlib.patch
deleted
100644 → 0
View file @
d933c542
--- zlib/gzio.c 2005-07-11 21:31:48.000000000 +0100
+++ zlib/gzio.c 2005-11-22 22:26:26.000000000 +0000
@@ -35,6 +35,10 @@
FILE *fdopen(int, const char *);
#endif
+#ifdef UNDER_CE
+# define fdopen(fd, fmode) 0
+#endif
+
#ifndef STDC
extern voidp malloc OF((uInt size));
extern void free OF((voidpf ptr));
===================================================================
--- zlib/zutil.h 2005-11-27 20:05:31.000000000 +0000
+++ zlib/zutil.h 2005-11-27 20:06:16.000000000 +0000
@@ -36,6 +36,9 @@
#else
# ifndef _WIN32_WCE
# include <errno.h>
+# else
+# define errno z_errno
+ extern int errno;
# endif
#endif
extras/contrib/src/packages.mak
View file @
2cd8dae3
...
...
@@ -178,7 +178,7 @@ QT4_MAC_VERSION=4.5.2
QT4_MAC_URL
=
http://get.qtsoftware.com/qt/source/qt-mac-opensource-src-
$(QT4_MAC_VERSION)
.tar.gz
QT4T_VERSION
=
4.3.2
QT4T_URL
=
ftp://ftp.trolltech.com/pub/qt/source/qt-win-opensource-
$(QT4T_VERSION)
-mingw
.exe
ZLIB_VERSION
=
1.2.
3
ZLIB_VERSION
=
1.2.
5
ZLIB_URL
=
$(SF)
/libpng/zlib-
$(ZLIB_VERSION)
.tar.gz
XML_VERSION
=
2.7.7
#XML_URL=$(CONTRIB_VIDEOLAN)/libxml2-$(XML_VERSION).tar.gz
...
...
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