Add patch to remove broken solaris system check. Bump PKGREVISION.

This commit is contained in:
wiedi 2014-02-07 14:25:15 +00:00
parent 2ae5f46b77
commit 03ac819bdb
3 changed files with 31 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.39 2014/01/29 20:13:54 tron Exp $
# $NetBSD: Makefile,v 1.40 2014/02/07 14:25:15 wiedi Exp $
DISTNAME= mediatomb-0.12.1
PKGREVISION= 19
PKGREVISION= 20
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mediatomb/}

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.14 2013/10/24 10:53:28 jperkin Exp $
$NetBSD: distinfo,v 1.15 2014/02/07 14:25:15 wiedi Exp $
SHA1 (mediatomb-0.12.1.tar.gz) = 86e880584cc9c8aaf3926d56048510d1d06e76b4
RMD160 (mediatomb-0.12.1.tar.gz) = ecb61ca2483f76421beef1036ac442b8f805fa96
@ -16,6 +16,7 @@ SHA1 (patch-src_hash_dbo_hash.h) = a5d951dc6887273188b3d41b8076000857b92431
SHA1 (patch-src_hash_dbr_hash.h) = e98a4ce19f25f7e556c2c13e170aee21e57fc5cc
SHA1 (patch-src_hash_dso_hash.h) = c229373ea25b4c49708cb2d8555a9e13f5d8bb4f
SHA1 (patch-src_io__handler__buffer__helper.cc) = f1c88fab9379c322492ebf27840c20689bd8ac76
SHA1 (patch-src_main.cc) = 2fc7fffd67ccd9739512d2eaa2bc12e5baca5f2d
SHA1 (patch-src_metadata_ffmpeg__handler.cc) = 7bee7b6b8f4a8d5c55475c2e342b724d14d8c55d
SHA1 (patch-src_tools.cc) = dddb50c51786cbb6a7c77ff5e60c22c3a57dc0fa
SHA1 (patch-src_transcoding_transcode__ext__handler.cc) = 6fe899f6b40de69561f568e1f976f6994e029260

View file

@ -0,0 +1,27 @@
$NetBSD: patch-src_main.cc,v 1.1 2014/02/07 14:25:15 wiedi Exp $
remove broken system check
--- src/main.cc.orig 2010-03-25 15:47:02.000000000 +0000
+++ src/main.cc
@@ -141,21 +141,6 @@ int main(int argc, char **argv, char **e
Ref<Array<StringBase> > addFile(new Array<StringBase>());
-#ifdef SOLARIS
- String ld_preload;
- char *preload = getenv("LD_PRELOAD");
- if (preload != NULL)
- ld_preload = String(preload);
-
- if ((preload == NULL) || (ld_preload.find("0@0") == -1))
- {
- printf("MediaTomb: Solaris check failed!\n");
- printf("Please set the environment to match glibc behaviour!\n");
- printf("LD_PRELOAD=/usr/lib/0@0.so.1\n");
- exit(EXIT_FAILURE);
- }
-#endif
-
#ifdef HAVE_GETOPT_LONG
while (1)
{