Skip to content

Instantly share code, notes, and snippets.

iMac-TMP:~ joe$ brew install [email protected] node
==> Installing dependencies for node: gdbm, openssl, readline, sqlite, python@2, pkg-config, icu4c, [email protected]
==> Installing node dependency: gdbm
==> Downloading https://homebrew.bintray.com/bottles/gdbm-1.14.1_1.el_capitan.bottle.tar.gz
Already downloaded: /Users/joe/Library/Caches/Homebrew/gdbm-1.14.1_1.el_capitan.bottle.tar.gz
==> Pouring gdbm-1.14.1_1.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/gdbm/1.14.1_1: 20 files, 556.2KB
==> Installing node dependency: openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2o_1.el_capitan.bottle.tar.gz
Already downloaded: /Users/joe/Library/Caches/Homebrew/openssl-1.0.2o_1.el_capitan.bottle.tar.gz
bash-3.2$ mvn -X clean package
Picked up _JAVA_OPTIONS: -Duser.home=/private/tmp/pmd-20180430-23910-ywwrrw/pmd-src-6.3.0/java_user_home
Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T11:49:05-08:00)
Maven home: /usr/local/Cellar/maven/3.5.3/libexec
Java version: 10.0.1, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
diff --git a/decoder_plugins/ffmpeg/ffmpeg.c b/decoder_plugins/ffmpeg/ffmpeg.c
index f26afab..834967f 100644
--- a/decoder_plugins/ffmpeg/ffmpeg.c
+++ b/decoder_plugins/ffmpeg/ffmpeg.c
@@ -1246,6 +1246,9 @@ static AVPacket *get_packet (struct ffmpeg_data *data)
return NULL;
}
+#ifdef HAVE_AVCODEC_RECEIVE_FRAME
+ GCC_DIAG_OFF(deprecated-declarations)
diff --git a/decoder_plugins/ffmpeg/ffmpeg.c b/decoder_plugins/ffmpeg/ffmpeg.c
index 4ea635a..f26afab 100644
--- a/decoder_plugins/ffmpeg/ffmpeg.c
+++ b/decoder_plugins/ffmpeg/ffmpeg.c
@@ -430,7 +430,7 @@ static void load_video_extns (lists_t_strs *list)
}
/* Handle FFmpeg's locking requirements. */
-#ifdef HAVE_LOCKMGR_REGISTER
+#if HAVE_LIBAV || LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58,9,100)
diff --git a/decoder_plugins/ffmpeg/ffmpeg.c b/decoder_plugins/ffmpeg/ffmpeg.c
index 93ac7e7..4ea635a 100644
--- a/decoder_plugins/ffmpeg/ffmpeg.c
+++ b/decoder_plugins/ffmpeg/ffmpeg.c
@@ -96,6 +96,16 @@ GCC_DIAG_ON(deprecated-declarations)
#include "files.h"
#include "lists.h"
+#ifndef AV_CODEC_CAP_DELAY
+# define AV_CODEC_CAP_DELAY CODEC_CAP_DELAY
diff --git a/decoder_plugins/ffmpeg/ffmpeg.c b/decoder_plugins/ffmpeg/ffmpeg.c
index f1db552..93ac7e7 100644
--- a/decoder_plugins/ffmpeg/ffmpeg.c
+++ b/decoder_plugins/ffmpeg/ffmpeg.c
@@ -309,11 +309,15 @@ static unsigned int find_first_audio (AVFormatContext *ic)
assert (ic);
for (result = 0; result < ic->nb_streams; result += 1) {
-#if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(50,15,1)
- if (ic->streams[result]->codec->codec_type == CODEC_TYPE_AUDIO)
diff --git a/decoder_plugins/ffmpeg/ffmpeg.c b/decoder_plugins/ffmpeg/ffmpeg.c
index 7b90493..f1db552 100644
--- a/decoder_plugins/ffmpeg/ffmpeg.c
+++ b/decoder_plugins/ffmpeg/ffmpeg.c
@@ -965,7 +965,20 @@ static void *ffmpeg_open (const char *file)
}
data->stream = data->ic->streams[audio_ix];
- data->enc = data->stream->codec;
+
Started by upstream project "Homebrew Core Pull Requests" build number 22857
originally caused by:
GitHub pull request #27017 of commit 84c468b7babe5723c99d9ca51c81d781d7484f11, no merge conflicts.
[EnvInject] - Loading node environment variables.
Building remotely on high_sierra_stadium_1 (high_sierra macos) in workspace /Users/brew/Jenkins/workspace/Homebrew Core Pull Requests/version/high_sierra
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/Homebrew/homebrew-core/ # timeout=10
Fetching upstream changes from https://github.com/Homebrew/homebrew-core/
> git --version # timeout=10
Started by upstream project "Homebrew Core Pull Requests" build number 22882
originally caused by:
GitHub pull request #27045 of commit 70b88a959eee6f17338c7ff32b1677f9ee8efe93, no merge conflicts.
[EnvInject] - Loading node environment variables.
Building remotely on high_sierra_stadium_1 (high_sierra macos) in workspace /Users/brew/Jenkins/workspace/Homebrew Core Pull Requests/version/high_sierra
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/Homebrew/homebrew-core/ # timeout=10
Fetching upstream changes from https://github.com/Homebrew/homebrew-core/
> git --version # timeout=10
bash-3.2$ cat ~/colossal-fuck-up.txt |sort|uniq|while read f; do cat Formula/$f.rb|grep -q 'test do' || echo $f; done
at-spi2-atk
avro-cpp
bastet
bokken
chocolate-doom
collada-dom
cpansearch
curlftpfs
ddar