diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-12-03 14:23:57 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-12-03 14:23:57 +0000 |
commit | 1d44b340b67f0150fbb72bcb21d868677663e782 (patch) | |
tree | d0fbc581edc63b095322d28557ab38e07e3431a6 /media-plugins/vdr-softdevice/files | |
parent | SRC_URI-fix (diff) | |
download | historical-1d44b340b67f0150fbb72bcb21d868677663e782.tar.gz historical-1d44b340b67f0150fbb72bcb21d868677663e782.tar.bz2 historical-1d44b340b67f0150fbb72bcb21d868677663e782.zip |
Added patch to compile also with vdr-1.4.4_p1.
Package-Manager: portage-2.1.2_rc2-r4
Diffstat (limited to 'media-plugins/vdr-softdevice/files')
-rw-r--r-- | media-plugins/vdr-softdevice/files/vdr-softdevice-0.3.1-uint64.diff | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/media-plugins/vdr-softdevice/files/vdr-softdevice-0.3.1-uint64.diff b/media-plugins/vdr-softdevice/files/vdr-softdevice-0.3.1-uint64.diff new file mode 100644 index 000000000000..d169dad73bc2 --- /dev/null +++ b/media-plugins/vdr-softdevice/files/vdr-softdevice-0.3.1-uint64.diff @@ -0,0 +1,54 @@ +diff -ru softdevice-cvs-20061124-orig/setup-softdevice.c softdevice-cvs-20061124/setup-softdevice.c +--- softdevice-cvs-20061124-orig/setup-softdevice.c 2006-12-03 15:09:47.474358718 +0100 ++++ softdevice-cvs-20061124/setup-softdevice.c 2006-12-03 15:10:34.685649821 +0100 +@@ -417,13 +417,13 @@ + + /* --------------------------------------------------------------------------- + */ +-bool cSetupStore::CatchRemoteKey(const char *remoteName, uint64 key) ++bool cSetupStore::CatchRemoteKey(const char *remoteName, uint64_t key) + { + #ifndef STAND_ALONE + char buffer[32]; + eKeys keySym; + +- snprintf(buffer, sizeof(buffer), "%016LX", (uint64) key); ++ snprintf(buffer, sizeof(buffer), "%016LX", (uint64_t) key); + keySym = Keys.Get(remoteName, buffer); + if (keySym >= kUser1 && keySym <= kUser9) + { +diff -ru softdevice-cvs-20061124-orig/setup-softdevice.h softdevice-cvs-20061124/setup-softdevice.h +--- softdevice-cvs-20061124-orig/setup-softdevice.h 2006-12-03 15:09:47.478359677 +0100 ++++ softdevice-cvs-20061124/setup-softdevice.h 2006-12-03 15:10:09.871715782 +0100 +@@ -121,7 +121,7 @@ + char *getPPValue(void); + void CropModeNext(void); + +- virtual bool CatchRemoteKey(const char *remoteName, uint64 key); ++ virtual bool CatchRemoteKey(const char *remoteName, uint64_t key); + + int xvAspect; + int xvMaxArea; +diff -ru softdevice-cvs-20061124-orig/VdrReplacements.h softdevice-cvs-20061124/VdrReplacements.h +--- softdevice-cvs-20061124-orig/VdrReplacements.h 2006-12-03 15:09:47.478359677 +0100 ++++ softdevice-cvs-20061124/VdrReplacements.h 2006-12-03 15:10:43.715809044 +0100 +@@ -30,7 +30,6 @@ + + #define tr(out) out + +-typedef unsigned long long int uint64; + typedef int eKeys; + + class cSoftRemote { +diff -ru softdevice-cvs-20061124-orig/video.h softdevice-cvs-20061124/video.h +--- softdevice-cvs-20061124-orig/video.h 2006-12-03 15:09:47.474358718 +0100 ++++ softdevice-cvs-20061124/video.h 2006-12-03 15:09:58.953104351 +0100 +@@ -39,7 +39,7 @@ + public: + cSoftRemote(const char *Name) : cRemote(Name) {}; + virtual ~cSoftRemote() {}; +- virtual bool PutKey(uint64 Code, bool Repeat = false, ++ virtual bool PutKey(uint64_t Code, bool Repeat = false, + bool Release = false) + { return Put(Code,Repeat,Release); }; + }; |