Some SlackBuild scripts for Slackware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
slackbuilds/a/udftools/udftools-1.0.0b3-slack14.diff

34 lines
1.2 KiB

diff -Naur udftools-1.0.0b3.orig/cdrwtool/cdrwtool.c udftools-1.0.0b3/cdrwtool/cdrwtool.c
--- udftools-1.0.0b3.orig/cdrwtool/cdrwtool.c 2002-12-28 05:48:51.000000000 +0100
+++ udftools-1.0.0b3/cdrwtool/cdrwtool.c 2013-06-19 17:41:07.127825958 +0200
@@ -27,6 +27,7 @@
#include <unistd.h>
#include <getopt.h>
#include <signal.h>
+#include <limits.h>
#include <sys/ioctl.h>
#include <asm/param.h>
diff -Naur udftools-1.0.0b3.orig/pktsetup/pktsetup.c udftools-1.0.0b3/pktsetup/pktsetup.c
--- udftools-1.0.0b3.orig/pktsetup/pktsetup.c 2002-11-26 08:18:51.000000000 +0100
+++ udftools-1.0.0b3/pktsetup/pktsetup.c 2013-06-19 17:40:53.335967096 +0200
@@ -23,6 +23,7 @@
#include <getopt.h>
#include <bits/types.h>
#include <sys/types.h>
+#include <limits.h>
#include <linux/cdrom.h>
diff -Naur udftools-1.0.0b3.orig/wrudf/wrudf.c udftools-1.0.0b3/wrudf/wrudf.c
--- udftools-1.0.0b3.orig/wrudf/wrudf.c 2002-11-26 08:18:51.000000000 +0100
+++ udftools-1.0.0b3/wrudf/wrudf.c 2013-06-19 17:41:12.585770104 +0200
@@ -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 += spm->partitionMapLength;
}
if( medium == CDR ) {