diff options
author | Antonio Hernández Blas <hba.nihilismus@gmail.com> | 2010-05-13 00:20:55 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:20:55 +0200 |
commit | 8a1544b5582de3f411c4bcdaa283d00ca2a13859 (patch) | |
tree | 35a523b3d9b0d65775dd5680d50bfeebb5b4f4c7 /audio/cmus/patches | |
parent | cdc3be92f9f13bf2b2aad8a3dbbe527de2a1e377 (diff) | |
download | slackbuilds-8a1544b5582de3f411c4bcdaa283d00ca2a13859.tar.gz |
audio/cmus: Updated for version 2.2.0
Diffstat (limited to 'audio/cmus/patches')
-rw-r--r-- | audio/cmus/patches/cmus-2.2.0-new-ffmpeg.patch | 15 | ||||
-rw-r--r-- | audio/cmus/patches/cmus-2.2.0-symlink_attack.patch | 12 |
2 files changed, 27 insertions, 0 deletions
diff --git a/audio/cmus/patches/cmus-2.2.0-new-ffmpeg.patch b/audio/cmus/patches/cmus-2.2.0-new-ffmpeg.patch new file mode 100644 index 0000000000..89812b21b1 --- /dev/null +++ b/audio/cmus/patches/cmus-2.2.0-new-ffmpeg.patch @@ -0,0 +1,15 @@ +--- cmus-2.2.0-orig/ffmpeg.c 2007-07-27 16:52:13.000000000 +0200 ++++ cmus-2.2.0/ffmpeg.c 2008-04-25 16:32:40.000000000 +0200 +@@ -18,9 +18,9 @@ + */ + + #include <stdio.h> +-#include <ffmpeg/avcodec.h> +-#include <ffmpeg/avformat.h> +-#include <ffmpeg/avio.h> ++#include <libavcodec/avcodec.h> ++#include <libavformat/avformat.h> ++#include <libavformat/avio.h> + + #include "ip.h" + #include "xmalloc.h" diff --git a/audio/cmus/patches/cmus-2.2.0-symlink_attack.patch b/audio/cmus/patches/cmus-2.2.0-symlink_attack.patch new file mode 100644 index 0000000000..3c3e09c55c --- /dev/null +++ b/audio/cmus/patches/cmus-2.2.0-symlink_attack.patch @@ -0,0 +1,12 @@ +diff -ur cmus-2.2.0.orig/cmus-status-display cmus-2.2.0/cmus-status-display +--- cmus-2.2.0.orig/cmus-status-display 2007-07-27 17:52:13.000000000 +0300 ++++ cmus-2.2.0/cmus-status-display 2009-05-12 09:12:56.000000000 +0300 +@@ -19,7 +19,7 @@ + output() + { + # write status to /tmp/cmus-status (not very useful though) +- echo "$*" >> /tmp/cmus-status 2>&1 ++ echo "$*" >> ~/.cmus-status 2>&1 + + # WMI (http://wmi.modprobe.de/) + #wmiremote -t "$*" &> /dev/null |