libgpod/libgpod-0.8.0-x86-32.patch
2010-10-25 08:46:02 -04:00

70 lines
3.1 KiB
Diff

diff -uNr libgpod-0.8.0.old/bindings/mono/libgpod-sharp/Artwork.cs libgpod-0.8.0/bindings/mono/libgpod-sharp/Artwork.cs
--- libgpod-0.8.0.old/bindings/mono/libgpod-sharp/Artwork.cs 2010-10-09 22:46:03.000000000 +0200
+++ libgpod-0.8.0/bindings/mono/libgpod-sharp/Artwork.cs 2010-10-21 00:23:46.000000000 +0200
@@ -24,7 +24,7 @@
using native;
namespace native {
- [StructLayout (LayoutKind.Sequential)]
+ [StructLayout (LayoutKind.Sequential, Pack=1)]
internal struct Itdb_Artwork {
public IntPtr thumbnail;
public uint id;
diff -uNr libgpod-0.8.0.old/bindings/mono/libgpod-sharp/Chapter.cs libgpod-0.8.0/bindings/mono/libgpod-sharp/Chapter.cs
--- libgpod-0.8.0.old/bindings/mono/libgpod-sharp/Chapter.cs 2010-10-09 22:46:03.000000000 +0200
+++ libgpod-0.8.0/bindings/mono/libgpod-sharp/Chapter.cs 2010-10-21 00:23:46.000000000 +0200
@@ -22,7 +22,7 @@
using native;
namespace native {
- [StructLayout (LayoutKind.Sequential)]
+ [StructLayout (LayoutKind.Sequential, Pack=1)]
internal struct Itdb_Chapter {
public uint startpos;
public IntPtr chaptertitle;
diff -uNr libgpod-0.8.0.old/bindings/mono/libgpod-sharp/IpodInfo.cs libgpod-0.8.0/bindings/mono/libgpod-sharp/IpodInfo.cs
--- libgpod-0.8.0.old/bindings/mono/libgpod-sharp/IpodInfo.cs 2010-10-09 22:46:03.000000000 +0200
+++ libgpod-0.8.0/bindings/mono/libgpod-sharp/IpodInfo.cs 2010-10-21 00:23:46.000000000 +0200
@@ -23,6 +23,7 @@
using System.Collections.Generic;
namespace native {
+ [StructLayout (LayoutKind.Sequential, Pack=1) ]
internal struct Itdb_IpodInfo {
public IntPtr model_number;
public double capacity;
diff -uNr libgpod-0.8.0.old/bindings/mono/libgpod-sharp/PhotoAlbum.cs libgpod-0.8.0/bindings/mono/libgpod-sharp/PhotoAlbum.cs
--- libgpod-0.8.0.old/bindings/mono/libgpod-sharp/PhotoAlbum.cs 2010-10-09 22:46:03.000000000 +0200
+++ libgpod-0.8.0/bindings/mono/libgpod-sharp/PhotoAlbum.cs 2010-10-21 00:23:46.000000000 +0200
@@ -24,6 +24,7 @@
using native;
namespace native {
+ [StructLayout (LayoutKind.Sequential, Pack=1) ]
internal struct Itdb_PhotoAlbum {
public IntPtr photodb;
public IntPtr name;
diff -uNr libgpod-0.8.0.old/bindings/mono/libgpod-sharp/Playlist.cs libgpod-0.8.0/bindings/mono/libgpod-sharp/Playlist.cs
--- libgpod-0.8.0.old/bindings/mono/libgpod-sharp/Playlist.cs 2010-10-09 22:46:03.000000000 +0200
+++ libgpod-0.8.0/bindings/mono/libgpod-sharp/Playlist.cs 2010-10-21 00:23:46.000000000 +0200
@@ -24,6 +24,7 @@
using native;
namespace native {
+ [StructLayout (LayoutKind.Sequential, Pack=1) ]
internal struct Itdb_Playlist {
public IntPtr itdb;
public IntPtr name;
diff -uNr libgpod-0.8.0.old/bindings/mono/libgpod-sharp/Track.cs libgpod-0.8.0/bindings/mono/libgpod-sharp/Track.cs
--- libgpod-0.8.0.old/bindings/mono/libgpod-sharp/Track.cs 2010-10-09 22:46:03.000000000 +0200
+++ libgpod-0.8.0/bindings/mono/libgpod-sharp/Track.cs 2010-10-21 00:23:46.000000000 +0200
@@ -24,7 +24,7 @@
namespace native {
- [StructLayout (LayoutKind.Sequential)]
+ [StructLayout (LayoutKind.Sequential, Pack=1)]
internal struct Itdb_Track {
public IntPtr itdb;
public IntPtr title;