diff options
author | Olivier Crête <tester@gentoo.org> | 2004-02-27 13:47:43 +0000 |
---|---|---|
committer | Olivier Crête <tester@gentoo.org> | 2004-02-27 13:47:43 +0000 |
commit | 87e4af47183390eba82f0f54d80101f7410bc083 (patch) | |
tree | d2f07d43ee4c1ac62c069e1e5b3af374eaeb5615 /app-pda/gtkpod/files | |
parent | unmasking for x86 (Manifest recommit) (diff) | |
download | gentoo-2-87e4af47183390eba82f0f54d80101f7410bc083.tar.gz gentoo-2-87e4af47183390eba82f0f54d80101f7410bc083.tar.bz2 gentoo-2-87e4af47183390eba82f0f54d80101f7410bc083.zip |
Add patch to make gtkpod compile against faad2 too, make the dependency a ||. Also clean up version 0.60
Diffstat (limited to 'app-pda/gtkpod/files')
-rw-r--r-- | app-pda/gtkpod/files/digest-gtkpod-0.60 | 1 | ||||
-rw-r--r-- | app-pda/gtkpod/files/gtkpod-0.72-faad2.patch | 26 |
2 files changed, 26 insertions, 1 deletions
diff --git a/app-pda/gtkpod/files/digest-gtkpod-0.60 b/app-pda/gtkpod/files/digest-gtkpod-0.60 deleted file mode 100644 index df3169e60c49..000000000000 --- a/app-pda/gtkpod/files/digest-gtkpod-0.60 +++ /dev/null @@ -1 +0,0 @@ -MD5 4108e065a6865b98ae677b031426b945 gtkpod-0.60.tar.gz 536755 diff --git a/app-pda/gtkpod/files/gtkpod-0.72-faad2.patch b/app-pda/gtkpod/files/gtkpod-0.72-faad2.patch new file mode 100644 index 000000000000..1c7c7a4343b8 --- /dev/null +++ b/app-pda/gtkpod/files/gtkpod-0.72-faad2.patch @@ -0,0 +1,26 @@ +--- src/mp4file.c.orig 2004-01-17 10:37:49.000000000 +0100 ++++ src/mp4file.c 2004-02-27 12:30:05.469188568 +0100 +@@ -107,6 +107,10 @@ + /* define metadata bug is present (see note at file_write_mp4_info()) */ + #define MP4V2_HAS_METADATA_BUG TRUE + ++#include <sys/types.h> ++#include <stdint.h> ++#include <stdlib.h> ++#include <string.h> + #include "mp4.h" + + Track *file_get_mp4_info (gchar *mp4FileName) +@@ -126,9 +130,9 @@ + gchar *value; + uint16_t numvalue, numvalue2; + MP4Duration trackDuration = MP4GetTrackDuration(mp4File, trackId); +- double msDuration = UINT64_TO_DOUBLE( +- MP4ConvertFromTrackDuration(mp4File, trackId, +- trackDuration, MP4_MSECS_TIME_SCALE)); ++ double msDuration = (double) MP4ConvertFromTrackDuration(mp4File, ++ trackId, ++ trackDuration, MP4_MSECS_TIME_SCALE); + u_int32_t avgBitRate = MP4GetTrackBitRate(mp4File, trackId); + + track = g_malloc0 (sizeof (Track)); |