packages: audacious-plugins/audacious-plugins-libmtp.patch - up to fit 2.1.0

duddits duddits at pld-linux.org
Thu Aug 27 15:06:12 CEST 2009


Author: duddits                      Date: Thu Aug 27 13:06:12 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to fit 2.1.0

---- Files affected:
packages/audacious-plugins:
   audacious-plugins-libmtp.patch (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/audacious-plugins/audacious-plugins-libmtp.patch
diff -u packages/audacious-plugins/audacious-plugins-libmtp.patch:1.6 packages/audacious-plugins/audacious-plugins-libmtp.patch:1.7
--- packages/audacious-plugins/audacious-plugins-libmtp.patch:1.6	Mon Aug  4 11:59:42 2008
+++ packages/audacious-plugins/audacious-plugins-libmtp.patch	Thu Aug 27 15:06:06 2009
@@ -1,17 +1,11 @@
-diff -ur audacious-plugins-1.5.1.orig/src/mtp_up/mtp.c audacious-plugins-1.5.1/src/mtp_up/mtp.c
---- audacious-plugins-1.5.1.orig/src/mtp_up/mtp.c	2008-05-24 00:44:20.000000000 +0200
-+++ audacious-plugins-1.5.1/src/mtp_up/mtp.c	2008-08-04 09:38:35.000000000 +0200
-@@ -193,11 +193,12 @@
-     g_free(from_path);
-     g_free(tmp);
-     parent_id = mtp_device->default_music_folder;
-+    gentrack->parent_id = parent_id;
- 
- #if DEBUG
+diff -burNp audacious-plugins-2.1/src/mtp_up/mtp.c audacious-plugins-2.1-dud/src/mtp_up/mtp.c
+--- audacious-plugins-2.1/src/mtp_up/mtp.c	2009-07-07 00:40:36.000000000 +0200
++++ audacious-plugins-2.1-dud/src/mtp_up/mtp.c	2009-08-23 13:29:56.601303553 +0200
+@@ -197,6 +197,7 @@ gint upload_file(Tuple *from_tuple)
      g_print("Uploading track '%s'\n",filename);
  #endif
--    ret = LIBMTP_Send_Track_From_File(mtp_device, filename , gentrack, NULL , NULL, parent_id);
-+    ret = LIBMTP_Send_Track_From_File(mtp_device, filename , gentrack, NULL , NULL);
+     gentrack->parent_id = mtp_device->default_music_folder;
++    gentrack->parent_id = parent_id;
+     ret = LIBMTP_Send_Track_From_File(mtp_device, filename , gentrack, NULL , NULL);
      LIBMTP_destroy_track_t(gentrack);
      if (ret == 0) 
-         g_print("Track upload finished!\n");
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/audacious-plugins/audacious-plugins-libmtp.patch?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list