diff options
author | Daniel Drake <dsd@gentoo.org> | 2005-11-26 20:58:56 +0000 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2005-11-26 20:58:56 +0000 |
commit | 2daa2a6473a9bd4083259dc1346b2d3a3cc56d31 (patch) | |
tree | d4635ff41d570fc8cfd1f3e51a691001a78e3580 /sys-fs/udftools/files | |
parent | Fix some minor stuff to be consistent with other PHP packages. (diff) | |
download | gentoo-2-2daa2a6473a9bd4083259dc1346b2d3a3cc56d31.tar.gz gentoo-2-2daa2a6473a9bd4083259dc1346b2d3a3cc56d31.tar.bz2 gentoo-2-2daa2a6473a9bd4083259dc1346b2d3a3cc56d31.zip |
gcc4 compile fix, thanks to Dario Birtic <dariobirtic@gmx.net> in bug #112122
(Portage version: 1.589-cvs)
Diffstat (limited to 'sys-fs/udftools/files')
-rw-r--r-- | sys-fs/udftools/files/udftools-1.0.0b-gcc4.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-fs/udftools/files/udftools-1.0.0b-gcc4.patch b/sys-fs/udftools/files/udftools-1.0.0b-gcc4.patch new file mode 100644 index 000000000000..4ffa51826490 --- /dev/null +++ b/sys-fs/udftools/files/udftools-1.0.0b-gcc4.patch @@ -0,0 +1,12 @@ +diff -urN ../tmp-orig/udftools-1.0.0b3/wrudf/wrudf.c ./wrudf/wrudf.c +--- ../tmp-orig/udftools-1.0.0b3/wrudf/wrudf.c 2002-11-26 08:18:51.000000000 +0100 ++++ ./wrudf/wrudf.c 2005-01-04 16:56:49.394078200 +0100 +@@ -245,7 +245,7 @@ + } 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 ) { |