diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-01-22 18:26:00 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-01-22 18:26:00 +0000 |
commit | 4dfeb7b1f551d194dc90daf779dd47d5986e906b (patch) | |
tree | 8c0e10978e08872c2597ae8391cb384bc5be7143 /audio/gtkpod/files | |
parent | a50678312b89b40cda804b933b4678b78bec80fb (diff) |
Notes
Diffstat (limited to 'audio/gtkpod/files')
-rw-r--r-- | audio/gtkpod/files/patch-configure | 27 | ||||
-rw-r--r-- | audio/gtkpod/files/patch-src::mp3file.c | 19 | ||||
-rw-r--r-- | audio/gtkpod/files/patch-src::mp4file.c | 11 |
3 files changed, 57 insertions, 0 deletions
diff --git a/audio/gtkpod/files/patch-configure b/audio/gtkpod/files/patch-configure new file mode 100644 index 000000000000..6b7e1e014e9e --- /dev/null +++ b/audio/gtkpod/files/patch-configure @@ -0,0 +1,27 @@ +--- configure.old Mon Jan 19 13:54:37 2004 ++++ configure Tue Jan 20 00:27:43 2004 +@@ -6409,7 +6409,6 @@ + conftest$ac_exeext conftest.$ac_ext + if test "$ac_cv_search_MP4FileInfo" = no; then + for ac_lib in "mp4v2" "mp4v2 -lstdc++" "mp4v2 -lz" "mp4v2 -lz -lstdc++"; do +- LIBS="-l$ac_lib $ac_func_search_save_LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -6468,16 +6467,7 @@ + fi + echo "$as_me:$LINENO: result: $ac_cv_search_MP4FileInfo" >&5 + echo "${ECHO_T}$ac_cv_search_MP4FileInfo" >&6 +-if test "$ac_cv_search_MP4FileInfo" != no; then +- test "$ac_cv_search_MP4FileInfo" = "none required" || LIBS="$ac_cv_search_MP4FileInfo $LIBS" +- have_mp4v2="yes -- will build with aac support" +-cat >>confdefs.h <<_ACEOF +-#define HAVE_LIBMP4V2 1 +-_ACEOF +- +-else + have_mp4v2="***no -- will build without aac support" +-fi + + + diff --git a/audio/gtkpod/files/patch-src::mp3file.c b/audio/gtkpod/files/patch-src::mp3file.c new file mode 100644 index 000000000000..b178d0c877ce --- /dev/null +++ b/audio/gtkpod/files/patch-src::mp3file.c @@ -0,0 +1,19 @@ +--- src/mp3file.c.orig Thu Jan 22 19:20:45 2004 ++++ src/mp3file.c Thu Jan 22 19:21:41 2004 +@@ -1296,6 +1296,7 @@ + { + Track *track = NULL; + File_Tag filetag; ++ mp3info *mp3info; + + track = g_malloc0 (sizeof (Track)); + +@@ -1370,7 +1371,7 @@ + } + + /* Get additional info (play time and bitrate */ +- mp3info *mp3info = mp3file_get_info (name); ++ mp3info = mp3file_get_info (name); + if (mp3info) + { + track->tracklen = mp3info->milliseconds; diff --git a/audio/gtkpod/files/patch-src::mp4file.c b/audio/gtkpod/files/patch-src::mp4file.c new file mode 100644 index 000000000000..56f67b658f3e --- /dev/null +++ b/audio/gtkpod/files/patch-src::mp4file.c @@ -0,0 +1,11 @@ +--- src/mp4file.c.old Sat Jan 17 10:37:49 2004 ++++ src/mp4file.c Tue Jan 20 21:33:20 2004 +@@ -342,7 +342,7 @@ + return NULL; + } + +-gboolean file_write_mp4_info (gchar *filename, Track *track, T_item tag_id) ++gboolean file_write_mp4_info (gchar *filename, Track *track) + { + gtkpod_warning (_("m4a/m4p metadata update for '%s' failed: m4a/m4p not supported without the mp4v2 library. You must compile the gtkpod source together with the mp4v2 library.\n"), filename); + return FALSE; |