Author: dnicholson
Date: 2006-04-18 21:01:44 -0600 (Tue, 18 Apr 2006)
New Revision: 1490

Added:
   trunk/udftools/udftools-1.0.0b3-gcc4-1.patch
Log:
Added udftools patch for building with gcc-4

Added: trunk/udftools/udftools-1.0.0b3-gcc4-1.patch
===================================================================
--- trunk/udftools/udftools-1.0.0b3-gcc4-1.patch                                
(rev 0)
+++ trunk/udftools/udftools-1.0.0b3-gcc4-1.patch        2006-04-19 03:01:44 UTC 
(rev 1490)
@@ -0,0 +1,21 @@
+Submitted By:            Dan Nicholson <dnicholson_at_linuxfromscratch_dot_org>
+Date:                    2006-04-19
+Initial Package Version: 1.0.0b3
+Upstream Status:         Sent
+                         
http://sourceforge.net/tracker/index.php?func=detail&aid=1472713&group_id=295&atid=300295
+Origin:                  Debian
+                         
ftp://ftp.debian.org/debian/pool/main/u/udftools/udftools_1.0.0b3-11.diff.gz
+Description:             Fixes a compilation issue with gcc-4:
+                         wrudf.c:248: error: invalid lvalue in assignment
+
+--- udftools-1.0.0b3.orig/wrudf/wrudf.c        2002-11-25 23:18:51.000000000 
-0800
++++ udftools-1.0.0b3/wrudf/wrudf.c     2006-04-18 10:34:59.177536143 -0700
+@@ -245,7 +245,7 @@ initialise(char *devicename) 
+           } else if( strncmp( spm->partIdent.ident, UDF_ID_VIRTUAL, 
strlen(UDF_ID_VIRTUAL)) == 0 )
+               virtualPartitionNum = i;
+       }
+-      (char*)spm += spm->partitionMapLength;
++      spm = (char*)spm + spm->partitionMapLength;
+     }
+ 
+     if( medium == CDR ) {

-- 
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to