Commit a21ad9f0 authored by Felix Paul Kühne's avatar Felix Paul Kühne

* added DJ's 10.2-patch again. Fixes the compilation of libcddb on the xserve.

* macosx.m: renamed "Stretch Aspect ratio" to "Stretch video to fill window" to make the option's meaning a bit more clear (thanks to Jonas for the hint)
parent 2e242de3
......@@ -1014,6 +1014,7 @@ libcddb-$(CDDB_VERSION).tar.gz:
libcddb: libcddb-$(CDDB_VERSION).tar.gz
$(EXTRACT_GZ)
patch -p 0 < Patches/libcddb.patch
.cddb: libcddb
(cd $<; ./configure --prefix=$(PREFIX) --disable-shared --enable-static CFLAGS="$(CFLAGS) -D_BSD_SOCKLEN_T_=int" LDFLAGS="$(LDFLAGS) -liconv" && make && make install)
......
diff -ruN libcddb.orig/include/cddb/cddb_regex.h libcddb/include/cddb/cddb_regex.h
--- libcddb.orig/include/cddb/cddb_regex.h Fri Oct 15 21:42:08 2004
+++ libcddb/include/cddb/cddb_regex.h Tue Jan 18 01:57:50 2005
@@ -30,9 +30,7 @@
#include <cddb/cddb_config.h>
#include <stdlib.h>
-#ifdef CDDB_NEED_UNISTD_H
#include <unistd.h>
-#endif
#include <regex.h>
/**
......@@ -57,7 +57,7 @@ void E_(CloseVideoGL) ( vlc_object_t * );
"Set the transparency of the video output. 1 is non-transparent (default) " \
"0 is fully transparent.")
#define STRETCH_TEXT N_("Stretch Aspect Ratio")
#define STRETCH_TEXT N_("Stretch video to fill window")
#define STRETCH_LONGTEXT N_("Instead of keeping the aspect ratio " \
"of the movie when resizing the video, stretch the video " \
"to fill the entire window." )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment