diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-plugins/vdr-picselshow/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-plugins/vdr-picselshow/files')
3 files changed, 85 insertions, 0 deletions
diff --git a/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gcc-4.4.diff b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gcc-4.4.diff new file mode 100644 index 000000000000..de72e9e5b31e --- /dev/null +++ b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gcc-4.4.diff @@ -0,0 +1,23 @@ +diff -ru picselshow-0.0.2-orig/data.c picselshow-0.0.2/data.c +--- picselshow-0.0.2-orig/data.c 2009-08-10 10:56:14.657708090 +0200 ++++ picselshow-0.0.2/data.c 2009-08-10 11:02:12.287665408 +0200 +@@ -453,7 +453,7 @@ + + bool cFileSource::Action(eAction act) + { +- static char *str[] = { "mount", "unmount", "eject", "status" }; ++ static const char *str[] = { "mount", "unmount", "eject", "status" }; + + char *cmd = 0; + asprintf(&cmd, "%s %s %s", g_szMountScript, str[act], basedir); +diff -ru picselshow-0.0.2-orig/imagecache.h picselshow-0.0.2/imagecache.h +--- picselshow-0.0.2-orig/imagecache.h 2009-08-10 10:56:14.654371019 +0200 ++++ picselshow-0.0.2/imagecache.h 2009-08-10 11:01:18.421003775 +0200 +@@ -5,6 +5,7 @@ + #ifndef VDR_IMAGECACHE_HPP + #define VDR_IMAGECACHE_HPP + ++#include <sys/types.h> + #include <map> + #include <vector> + #include <string> diff --git a/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gentoo.diff b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gentoo.diff new file mode 100644 index 000000000000..a7f50817e069 --- /dev/null +++ b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gentoo.diff @@ -0,0 +1,11 @@ +--- picselshow-0.0.2-orig/picselshow.c 2007-05-17 23:25:57.000000000 +0200 ++++ picselshow-0.0.2/picselshow.c 2007-08-01 08:52:36.000000000 +0200 +@@ -58,7 +58,7 @@ + return ImageSetup.SetupParse(szName,szValue); + } + +-const char *g_szConfigDirectory = NULL; ++const char *g_szConfigDirectory = "picselshow"; + + const char *cPluginImage::CommandLineHelp(void) + { diff --git a/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-vdr-1.5.x.diff b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-vdr-1.5.x.diff new file mode 100644 index 000000000000..f6c112f36b0b --- /dev/null +++ b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-vdr-1.5.x.diff @@ -0,0 +1,51 @@ +--- control-image.c~ 2007-05-18 12:00:59.000000000 +0200 ++++ control-image.c 2007-06-11 15:38:54.000000000 +0200 +@@ -194,7 +194,11 @@ + + void cImageControl::FadeIn(void) + { +-needsFastResponse = true; ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(true); ++#else ++ needsFastResponse = true; ++#endif + int i; + int alpha = 0; + +@@ -237,13 +241,21 @@ + fd--; + } + +-needsFastResponse = false; ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(false); ++#else ++ needsFastResponse = false; ++#endif + } + + + void cImageControl::FadeOut(void) + { +-needsFastResponse = true; ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(true); ++#else ++ needsFastResponse = true; ++#endif + int i; + int alpha = 255; + int fd = 16; +@@ -283,7 +295,11 @@ + fd--; + } + ++#if VDRVERSNUM >= 10500 ++ SetNeedsFastResponse(false); ++#else + needsFastResponse = false; ++#endif + } + + |