diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2017-01-26 18:10:31 +0100 |
---|---|---|
committer | Ian Whyman <thev00d00@gentoo.org> | 2017-01-26 21:51:53 +0000 |
commit | 025e2ca0f78b674016a48b590a80be1437e415e0 (patch) | |
tree | 7db71fae9d13c91f70e7b08b1d648a98aba3cca2 /net-misc/mediatomb | |
parent | Fine tune the gcc USE=gcj mask so we can have gcj-5.4.0 to bootstrap icedtea (diff) | |
download | gentoo-025e2ca0f78b674016a48b590a80be1437e415e0.tar.gz gentoo-025e2ca0f78b674016a48b590a80be1437e415e0.tar.bz2 gentoo-025e2ca0f78b674016a48b590a80be1437e415e0.zip |
net-misc/mediatomb: remove unused patches/file
Closes: https://github.com/gentoo/gentoo/pull/3664
Diffstat (limited to 'net-misc/mediatomb')
3 files changed, 0 insertions, 83 deletions
diff --git a/net-misc/mediatomb/files/mediatomb-0.12.0.initd b/net-misc/mediatomb/files/mediatomb-0.12.0.initd deleted file mode 100644 index acc23a09a33b..000000000000 --- a/net-misc/mediatomb/files/mediatomb-0.12.0.initd +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/openrc-run - -depend() { - need net #MYSQL# -} - -start() { - ebegin "Starting MediaTomb" - start-stop-daemon --start --quiet --exec /usr/bin/mediatomb \ - --pidfile ${MEDIATOMB_PIDFILE} -- --daemon \ - --pidfile ${MEDIATOMB_PIDFILE} --user ${MEDIATOMB_USER} \ - --group ${MEDIATOMB_GROUP} --logfile ${MEDIATOMB_LOGFILE} \ - --config ${MEDIATOMB_CONFIG} --port ${MEDIATOMB_PORT} \ - ${MEDIATOMB_OPTIONS} - eend $? -} - -stop () { - ebegin "Stopping MediaTomb" - start-stop-daemon --stop --retry 10 --quiet --pidfile ${MEDIATOMB_PIDFILE} - eend $? -} diff --git a/net-misc/mediatomb/files/mediatomb-0.12.1-avformatcontext-pointer.patch b/net-misc/mediatomb/files/mediatomb-0.12.1-avformatcontext-pointer.patch deleted file mode 100644 index ab3e7cf7e17d..000000000000 --- a/net-misc/mediatomb/files/mediatomb-0.12.1-avformatcontext-pointer.patch +++ /dev/null @@ -1,19 +0,0 @@ -When opening a file to check its avformat, the AVFormatContext pointer was -not initialized to NULL before it was passed by reference to the open -function. - -Patch by Bradley Broom <bmbroom@gmail.com> - -https://bugs.gentoo.org/show_bug.cgi?id=446922 - ---- mediatomb-0.12.1/src/metadata/ffmpeg_handler.cc -+++ mediatomb-0.12.1/src/metadata/ffmpeg_handler.cc -@@ -281,7 +281,7 @@ - int x = 0; - int y = 0; - -- AVFormatContext *pFormatCtx; -+ AVFormatContext *pFormatCtx = NULL; - - // Suppress all log messages - av_log_set_callback(FfmpegNoOutputStub); diff --git a/net-misc/mediatomb/files/mediatomb-0.12.1-libav9.patch b/net-misc/mediatomb/files/mediatomb-0.12.1-libav9.patch deleted file mode 100644 index 7193b7c03cd4..000000000000 --- a/net-misc/mediatomb/files/mediatomb-0.12.1-libav9.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff -burN mediatomb-0.12.1.old//src/metadata/ffmpeg_handler.cc mediatomb-0.12.1/src/metadata/ffmpeg_handler.cc ---- mediatomb-0.12.1.old//src/metadata/ffmpeg_handler.cc 2012-11-25 14:55:05.335753129 +0100 -+++ mediatomb-0.12.1/src/metadata/ffmpeg_handler.cc 2012-11-25 15:29:42.840677486 +0100 -@@ -110,8 +110,8 @@ - return; - for (const mapping_t *m = mapping; m->avname != NULL; m++) - { -- AVMetadataTag *tag = NULL; -- tag = av_metadata_get(pFormatCtx->metadata, m->avname, NULL, 0); -+ AVDictionaryEntry *tag = NULL; -+ tag = av_dict_get(pFormatCtx->metadata, m->avname, NULL, 0); - if (tag && tag->value && tag->value[0]) - { - log_debug("Added metadata %s: %s\n", m->avname, tag->value); -@@ -290,14 +290,14 @@ - av_register_all(); - - // Open video file -- if (av_open_input_file(&pFormatCtx, -- item->getLocation().c_str(), NULL, 0, NULL) != 0) -+ if (avformat_open_input(&pFormatCtx, -+ item->getLocation().c_str(), NULL, NULL) != 0) - return; // Couldn't open file - - // Retrieve stream information -- if (av_find_stream_info(pFormatCtx) < 0) -+ if (avformat_find_stream_info(pFormatCtx, NULL) < 0) - { -- av_close_input_file(pFormatCtx); -+ avformat_close_input(&pFormatCtx); - return; // Couldn't find stream information - } - // Add metadata using ffmpeg library calls -@@ -306,7 +306,7 @@ - addFfmpegResourceFields(item, pFormatCtx, &x, &y); - - // Close the video file -- av_close_input_file(pFormatCtx); -+ avformat_close_input(&pFormatCtx); - } - - static bool _mkdir(const char *path) |