diff --git a/README.develop b/README.develop index 41537a53..cf90a7de 100644 --- a/README.develop +++ b/README.develop @@ -1,5 +1,6 @@ Software you'll need to build a development version libcdio - git + - GNU make (or even better "remake") - autoconf (which contains programs autoconf and autoreconf) - automake - libtool (for building shared libraries) diff --git a/example/sample3.c b/example/sample3.c index a4b85835..56ceb422 100644 --- a/example/sample3.c +++ b/example/sample3.c @@ -1,7 +1,5 @@ /* - $Id: sample3.c,v 1.10 2008/03/24 15:30:56 karl Exp $ - - Copyright (C) 2003, 2005, 2008 Rocky Bernstein + Copyright (C) 2003, 2005, 2008, 2011 Rocky Bernstein This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/include/cdio++/iso9660.hpp b/include/cdio++/iso9660.hpp index b62cbca3..da04455b 100644 --- a/include/cdio++/iso9660.hpp +++ b/include/cdio++/iso9660.hpp @@ -1,7 +1,5 @@ /* - $Id: iso9660.hpp,v 1.13 2008/06/13 15:58:50 flameeyes Exp $ - - Copyright (C) 2006, 2008 Rocky Bernstein + Copyright (C) 2006, 2008, 2011 Rocky Bernstein This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -148,6 +146,9 @@ public: }; +#ifdef FS + #undef FS +#endif class FS : public CdioDevice // ISO 9660 Filesystem on a CD or CD-image { public: diff --git a/src/cd-drive.c b/src/cd-drive.c index 1b66677c..c179da93 100644 --- a/src/cd-drive.c +++ b/src/cd-drive.c @@ -1,6 +1,5 @@ /* - $Id: cd-drive.c,v 1.29 2008/06/19 15:44:10 flameeyes Exp $ - + Copyright (C) 2011 Rocky Bernstein This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or @@ -15,7 +14,7 @@ along with this program. If not, see . */ -/* Program to show drivers installed and capibilites of CD drives. */ +/* Program to show drivers installed and capabilities of CD drives. */ #include "util.h" @@ -95,7 +94,7 @@ parse_options (int argc, char *argv[]) break; case 'i': - if (opts.source_image != DRIVER_UNKNOWN) { + if (opts.source_image != (source_image_t) DRIVER_UNKNOWN) { /* NOTE: The libpopt version already set source_name by this time. To restore this behavior, fall through to the else{} block. */ @@ -153,7 +152,7 @@ parse_options (int argc, char *argv[]) exit (EXIT_FAILURE); } - if (opts.source_image == DRIVER_DEVICE) + if (opts.source_image == (source_image_t) DRIVER_DEVICE) source_name = fillout_device_name(remaining_arg); else source_name = strdup(remaining_arg); diff --git a/src/cd-paranoia/Makefile.am b/src/cd-paranoia/Makefile.am index 676dc587..ccf62daa 100644 --- a/src/cd-paranoia/Makefile.am +++ b/src/cd-paranoia/Makefile.am @@ -47,7 +47,7 @@ cd-paranoia.$(OBJEXT): usage.h if HAVE_PERL usage.h: usage.txt $(srcdir)/pod2c.pl - $(PERL) $(srcdir)/pod2c.pl usage.txt >$@ + $(PERL) $(srcdir)/pod2c.pl usage.txt >usage.h else usage.h: usage-copy.h cp usage-copy.h $@ diff --git a/test/check_legal.regex b/test/check_legal.regex new file mode 100644 index 00000000..c308ba79 --- /dev/null +++ b/test/check_legal.regex @@ -0,0 +1,6 @@ +cd-info version [0-9] +^Copyright (c) 2003 +Bernstein +^This is free software; see the source for copying conditions\.$ +^There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A$ +^PARTICULAR PURPOSE\.$