Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
a690954e
Commit
a690954e
authored
Jun 10, 2008
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix libdvdnav compilation
parent
b5983c97
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
23 deletions
+9
-23
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+2
-0
extras/contrib/src/Patches/libdvdnav.patch
extras/contrib/src/Patches/libdvdnav.patch
+5
-23
extras/contrib/src/packages.mak
extras/contrib/src/packages.mak
+2
-0
No files found.
extras/contrib/src/Makefile
View file @
a690954e
...
...
@@ -1174,6 +1174,8 @@ ifdef SVN
libdvdnav
:
$(SVN)
co
$(LIBDVDNAV_SVN)
libdvdnav
patch
-d
libdvdnav
-p1
< Patches/libdvdnav.patch
$(WGET)
$(LIBDVDREAD_URL)
(
cd
$@
/src
;
tar
xf ../../libdvdread-
$(LIBDVDREAD_VERSION)
.tar.gz
;
mv
libdvdread-
$(LIBDVDREAD_VERSION)
/dvdread libdvdread
)
(
cd
$@
;
./autogen.sh noconfig
)
else
libdvdnav-$(LIBDVDNAV_VERSION).tar.gz
:
...
...
extras/contrib/src/Patches/libdvdnav.patch
View file @
a690954e
...
...
@@ -82,35 +82,17 @@ index e5ee5c4..b381093 100644
dnl ---------------------------------------------
dnl cflags
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 3cfda2f..3015dd5 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -8,7 +8,7 @@
noinst_PROGRAMS = menus
--- a/examples/Makefile.am.orig 2008-06-10 01:56:16.000000000 +0200
+++ b/examples/Makefile.am 2008-06-10 01:57:04.000000000 +0200
@@ -8,7 +8,7 @@
menus_SOURCES = menus.c
menus_LDFLAGS = -L$(top_srcdir)/src/
menus_LDFLAGS = -L$(top_srcdir)/src/
-ldvdread
-menus_LDADD = $(DVDNAV_LIB)
+menus_LDADD = $(DVDNAV_LIB) $(CSS_LIBS)
$(DVDNAV_LIB):
@cd $(top_builddir)/src/ && $(MAKE) libdvdnav.la
diff --git a/src/libdvdread/dvd_input.c b/src/libdvdread/dvd_input.c
index d55aac7..63b416f 100644
--- a/src/libdvdread/dvd_input.c
+++ b/src/libdvdread/dvd_input.c
@@ -27,6 +27,11 @@
#include "dvd_reader.h"
#include "dvd_input.h"
+#ifdef WIN32
+# define lseek _lseeki64
+# undef off_t
+# define off_t int64_t
+#endif
/* The function pointers that is the exported interface of this file. */
dvd_input_t (*dvdinput_open) (const char *);
diff --git a/src/vm/vm.c b/src/vm/vm.c
index 53bef88..db855c7 100644
--- a/src/vm/vm.c
...
...
extras/contrib/src/packages.mak
View file @
a690954e
...
...
@@ -109,6 +109,8 @@ LIBDVDCSS_URL=$(VIDEOLAN)/libdvdcss/$(LIBDVDCSS_VERSION)/libdvdcss-$(LIBDVDCSS_V
LIBDVDNAV_VERSION
=
4.1.1
LIBDVDNAV_URL
=
http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/libdvdnav-
$(LIBDVDNAV_VERSION)
.tar.gz
LIBDVDNAV_SVN
=
svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav
LIBDVDREAD_VERSION
=
0.9.4
LIBDVDREAD_URL
=
$(VIDEOLAN)
/libdvdread/
$(LIBDVDREAD_VERSION)
/libdvdread-
$(LIBDVDREAD_VERSION)
.tar.gz
LIBDVBPSI_VERSION
=
0.1.6
LIBDVBPSI_URL
=
$(VIDEOLAN)
/libdvbpsi/
$(LIBDVBPSI_VERSION)
/libdvbpsi5-
$(LIBDVBPSI_VERSION)
.tar.gz
LIVEDOTCOM_VERSION
=
latest
...
...
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