patches/f-spot-01-solaris.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 415 719739929d2d
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
415
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     1
--- f-spot/dbus-sharp/UnixNativeTransport.cs.orig	2007年  2月 12日 一 15:50:56
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     2
+++ f-spot/dbus-sharp/UnixNativeTransport.cs	2007年  8月 10日 五 17:20:14
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     3
@@ -22,20 +22,20 @@
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     4
 	{
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     5
 		public const short AF_UNIX = 1;
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     6
 		//TODO: SOCK_STREAM is 2 on Solaris
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     7
-		public const short SOCK_STREAM = 1;
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     8
+		public const short SOCK_STREAM = 2;
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     9
 
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    10
 		//TODO: some of these are provided by libsocket instead of libc on Solaris
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    11
 
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    12
-		[DllImport ("libc", SetLastError=true)]
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    13
+		[DllImport ("libsocket", SetLastError=true)]
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    14
 			protected static extern int socket (int domain, int type, int protocol);
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    15
 
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    16
-		[DllImport ("libc", SetLastError=true)]
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    17
+		[DllImport ("libsocket", SetLastError=true)]
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    18
 			protected static extern int connect (int sockfd, byte[] serv_addr, uint addrlen);
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    19
 
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    20
-		[DllImport ("libc", SetLastError=true)]
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    21
+		[DllImport ("libsocket", SetLastError=true)]
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    22
 			protected static extern int bind (int sockfd, byte[] my_addr, uint addrlen);
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    23
 
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    24
-		[DllImport ("libc", SetLastError=true)]
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    25
+		[DllImport ("libsocket", SetLastError=true)]
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    26
 			protected static extern int listen (int sockfd, int backlog);
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    27
 
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    28
 		//TODO: this prototype is probably wrong, fix it
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    29
--- f-spot-0.3.5/src/f-spot.exe.config.in.orig	2007年  2月  5日 一 11:32:46
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    30
+++ f-spot-0.3.5/src/f-spot.exe.config.in	2007年  8月 10日 五 17:30:55
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    31
@@ -9,7 +9,7 @@
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    32
   <dllmap dll="libfspot" target="@expanded_libdir@/f-spot/libfspot.so.0"/>
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    33
   <dllmap dll="libfspoteog" target="@expanded_libdir@/f-spot/libfspoteog.so.0"/>
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    34
   <dllmap dll="libfspotjpeg" target="@expanded_libdir@/f-spot/libfspotjpg.so.0"/>
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    35
-  <dllmap dll="X11" target="libX11.so.6"/>
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    36
+  <dllmap dll="X11" target="libX11.so.5"/>
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    37
   <dllmap dll="GL" target="libGL.so.1"/>
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    38
   <dllmap dll="libXcomposite.dll" target="libXcomposite.so.1"/>
719739929d2d 2007-08-18 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    39
   <dllmap dll="liblcms-1.0.0.dll" target="liblcms.so.1"/>