Hello community,
here is the log from the commit of package cdrtools for openSUSE:Factory checked in at 2015-08-17 15:33:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cdrtools (Old)
and /work/SRC/openSUSE:Factory/.cdrtools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cdrtools"
Changes:
--------
--- /work/SRC/openSUSE:Factory/cdrtools/cdrtools.changes 2015-07-16 17:15:14.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cdrtools.new/cdrtools.changes 2015-08-17 15:33:09.000000000 +0200
@@ -1,0 +2,7 @@
+Wed Aug 5 07:49:48 UTC 2015 - jengelh@inai.de
+
+- Update to new upstream release 3.01~a31
+* Added compile support for Win-10 using non-automake-aware make
+ implementations. Add some workarounds for MinGW32 compilation.
+
+-------------------------------------------------------------------
schily-libs.changes: same change
Old:
----
cdrtools-3.01a30.tar.bz2
New:
----
cdrtools-3.01a31.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cdrtools.spec ++++++
--- /var/tmp/diff_new_pack.EmcX4c/_old 2015-08-17 15:33:10.000000000 +0200
+++ /var/tmp/diff_new_pack.EmcX4c/_new 2015-08-17 15:33:10.000000000 +0200
@@ -17,7 +17,7 @@
Name: cdrtools
-Version: 3.01~a30
+Version: 3.01~a31
Release: 0
# Upstream confirms that 3.01aNN is intended to sort before 3.01
%define sversion 3.01
@@ -26,7 +26,7 @@
Group: Productivity/Multimedia/CD/Record
Url: http://cdrtools.sourceforge.net/private/cdrecord.html
-Source: http://downloads.sf.net/cdrtools/cdrtools-3.01a30.tar.bz2
+Source: http://downloads.sf.net/cdrtools/cdrtools-3.01a31.tar.bz2
Source1: cdrecord.easy
Source2: cdrecord.secure
Source3: cdrecord.paranoid
++++++ schily-libs.spec ++++++
--- /var/tmp/diff_new_pack.EmcX4c/_old 2015-08-17 15:33:10.000000000 +0200
+++ /var/tmp/diff_new_pack.EmcX4c/_new 2015-08-17 15:33:10.000000000 +0200
@@ -17,7 +17,7 @@
Name: schily-libs
-Version: 3.01~a30
+Version: 3.01~a31
Release: 0
%define sversion 3.01
Summary: A collection of libraries to support cdrtools
@@ -25,7 +25,7 @@
Group: Development/Libraries/C and C++
Url: http://cdrtools.sourceforge.net/private/cdrecord.html
-Source: http://downloads.sf.net/cdrtools/cdrtools-3.01a30.tar.bz2
+Source: http://downloads.sf.net/cdrtools/cdrtools-3.01a31.tar.bz2
Source7: pre_checkin.sh
Patch1: gcc48wa.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ cdrtools-3.01a30.tar.bz2 -> cdrtools-3.01a31.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdrtools-3.01/AN-3.01 new/cdrtools-3.01/AN-3.01
--- old/cdrtools-3.01/AN-3.01 2015-06-04 19:20:58.000000000 +0200
+++ new/cdrtools-3.01/AN-3.01 2015-08-04 12:16:27.000000000 +0200
@@ -896,7 +896,97 @@
- TEMPLATES/MKLINKS now creates a dummy link to allow it to recognise
whether the links already exist.
+- include/schily/sysexits.h adopts to the recent changes on Haiku that
+ prevent usual autoconf tests as #include works but symbols
+ are only defined with #define _BSD_SOURCE
+- include/schily/wait.h now knows about the Haiku specific macro
+ WIFCORED() and #defines WCOREDUMP() to WIFCORED().
+
+- Support for x86_64-haiku-cc.rul and x86_64-haiku-gcc.rul was added
+ to the makefile system.
+
+- The file RULES/r-gmake.dep was modified to make sure that the
+ dependency files (*.d) depend from the include files as well.
+ Previous versions included xxx.d instead of $(ARCHDIR)/xxx.d
+
+- Makefile system: two new targets have been added:
+
+ man creates localized versions of the man pages in the
+ OBJ directory
+
+ installman installs only the manual pages
+
+- include/schily/signal.h now includes siginfo.h to make sure it
+ compiles even on very old Solaris versions where signal.h did not
+ yet include siginfo.h.
+
+- include/schily/wait.h add a missing closing bracket for Haiku
+
+- include/schily/wait.h added CLD_* macros and the enum idtype_t in case
+ they are missing. This allows to implement a waitid() emulation.
+
+- include/schily/wait.h now includes schily/signal.h in case that
+ the local /usrinclude/sys/wait.h is non-POSIX and does not
+ define siginfo_t. This is e.g. the case on FreeBSD.
+
+- The configure tests now include test that correctly identify Mac OS X as
+ non-POSIX with respect to waitid(). This prevents potential users of
+ waitid() from the unusable implementation on Mac OS X.
+
+ The rule for accepting an existing waitid() is the following:
+
+ - si.si_pid is set to be equal to the awaited pid
+
+ - si.si_code == CLD_EXITED for a chilt terminated by exit(2)
+
+ - si.si_status contains at least 16 bits from the exit(2)
+ code. This is still not POSIX but better than what we would
+ get from a historical wait*() call.
+
+- The configure tests now check for the new FreeBSD wait6() and for
+ idtype_t.
+
+- A new symlink for x86_64-cygwin32_nt-gcc.rul was added
+
+- Added support for cygwin32_wow (not the already present cygwin32_wow64).
+
+- The makefile system now allows to use:
+
+ COPTX=-DNO_PRAGMA_WEAK
+
+ to disable the use of #pragma weak. This may help to debug some
+ oddities of the GNU linker.
+
+- The makefile system now includes a new test that needs constraints
+ that are not really supported by autoconf: it checks whether the
+ linker supports to link against external weak symbols in another
+ file. For this reason, a handcrafted complest was written.
+ This (currently) should fail on Cygwin due to a Cygwin bug.
+ A platform that allows to link against weak symbols defines
+ HAVE_LINK_WEAK. This permits the system to automatically detect
+ usability once e.g. linking on Cygwin will be fixed.
+
+ Thanks to Thomas Plank for reporting the known #pragma weak problem
+ in a new source file (libschily/error.c). Note that error() is a
+ UNIX (UNOS) libc function that exists since 1980 but some libc
+ implementors do not follow the rule not to introduce incompatible
+ interfaces for existing names. So we need to find a workaround
+ on these platforms.
+
+- autoconf now checks for the type rlim_t in sys/resource.h
+
+- README.compile now includes an example on how to cross compile
+ on Linux for Android.
+
+- include/schily/find.h modified to avoid a GCC warning from
+ using libfind in the Bourne Shell.
+
+- include/schily/dlfcn.h modified to avoid a GCC warning from
+ the new builtin management code in the Bourne Shell.
+
+- Support for Win-10 when compiling with no automake-aware
+ make implementations like "gmake" was added.
Libschily:
@@ -1222,6 +1312,49 @@
does not null-terminate the buffer.
+- New function j_error() works where error() is to generic.
+
+- make strlcatl() and wcslcatl() work with K&R compilers
+
+- libschily/getargs.c now is more careful with calling va_arg()
+ and only calls it as many times as a related format is found in the
+ format string.
+
+- libschily now contains a getdelim() implementation and always uses
+ getdelim() to implement the fgetaline() function.
+
+- libschily: the *mem.c implementations now include new *mexval()
+ functions to set the exit code on failure to a static value instead
+ of the default "errno" value for the failure.
+
+- libschily: the linker map file now also lists the forgotten new entries:
+ strlcatl() and wcslcatl()
+
+- libschily/spawn.c:wait_chld() no longer returns 0 if the child process
+ was killed by a signal.
+
+- libschily now adds some of the existing (old) man pages for various
+ functions from libschily.
+
+- libschily/comerr.c and libschily/fcomerr.c now have better
+ comment.
+
+- libschily now uses the test:
+
+ #if defined(HAVE_PRAGMA_WEAK) && defined(HAVE_LINK_WEAK)
+
+ to prevent assuming that is suffucuent when the compiler supports
+ #pragma weak. We also need to have a linker that links against
+ weak symbols in libraries. HAVE_LINK_WEAK is e.g. not defined
+ on Cygwin...
+
+- libschily/resolvepath.c now #define's lstat stat if lstat()
+ is missing.
+
+- libschily/error.c now allows to be compiled without weak
+ symbols by using -DNO_WEAK_SYMBOLS
+
+
Libedc (Optimized by J�rg Schilling, originated by Heiko Ei�feldt heiko@hexco.de):
- Some cstyle changes
@@ -1274,6 +1407,12 @@
- Libfind now allows to check for -type P (Solaris event port).
A missing "case 'P':" was added to the parser.
+- libfind/idcache.c now saves uname/gname as long as possible and uses
+ strlcpy() instead of strncpy().
+
+- libfind: the forgotten entries find_hasexec() and find_hasprint()
+ have been added to the linker map file
+
Libhfs_iso:
@@ -1288,6 +1427,15 @@
- CSTYLED comment added
+- libmdigest now uses the test:
+
+ #if defined(HAVE_PRAGMA_WEAK) && defined(HAVE_LINK_WEAK)
+
+ to prevent assuming that is suffucuent when the compiler supports
+ #pragma weak. We also need to have a linker that links against
+ weak symbols in libraries. HAVE_LINK_WEAK is e.g. not defined
+ on Cygwin...
+
Libparanoia (Ported/enhanced by J�rg Schilling, originated by Monty xiphmont@mit.edu):
- memset() call in i_silence_match() now uses the correct size
@@ -1314,6 +1462,8 @@
the current directory but only if the name contains a slash.
Thanks to a report from Vladimir Marek
+- libsiconv: the forgotten sic_base() was added to the linker map file
+
Libscg:
@@ -1482,6 +1632,11 @@
Thanks to a hint from Donald R Laster Jr from Slackware.
+- The programs cdrecord adopts to the recent Haiku
+ changes with a randomized address space and now use B_EXACT_ADDRESS
+ instead of B_ANY_ADDRESS for the clone_area() call to get shared memory
+ for a FIFO.
+
Cdda2wav (Maintained/enhanced by J�rg Schilling, originated by Heiko Ei�feldt heiko@hexco.de):
@@ -1612,6 +1767,11 @@
for a Linux libc bug (stderr must be unbuffered acording to the
standard).
+- The programs cdda2wav adopts to the recent Haiku
+ changes with a randomized address space and now use B_EXACT_ADDRESS
+ instead of B_ANY_ADDRESS for the clone_area() call to get shared memory
+ for a FIFO.
+
Readcd:
@@ -1939,6 +2099,9 @@
- mkisofs: isodump did not compile on non c99 compilers.
+- mkisofs/diag/isoinfo.c now test for HAVE_MKNOD in order to avoid
+ calling mknod() on MINGW32.
+
HELIOS TODO:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdrtools-3.01/AN-3.01a31 new/cdrtools-3.01/AN-3.01a31
--- old/cdrtools-3.01/AN-3.01a31 1970-01-01 01:00:00.000000000 +0100
+++ new/cdrtools-3.01/AN-3.01a31 2015-08-04 11:10:40.000000000 +0200
@@ -0,0 +1,172 @@
+***************** Important news ****************************
+
+For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM
+
+***************** Please Test *********************************
+
+NEW features of cdrtools-3.01a31:
+
+This is the first localization step for cdrtools. All programs now (hopefully)
+call gettext() for all strings that need localization.
+
+- The next step will include dgettext() calls for the libraries.
+
+- The following step will include the extracted strings
+
+- The last step will include German translations and install support
+ for the resulting binary message object files.
+
+----------> Please test and report compilation problems! <---------
+
+***** NOTE: As mentioned since 2004, frontends to cdrtools should *****
+***** call all programs from cdrtools in the "C" locale *****
+***** by e.g. calling: LC_ALL=C cdrecord .... *****
+***** unless these frontends support localized strings *****
+***** used by the cdrtools with NLS support. *****
+
+This version compiles on Win-DOS using the Microsoft compiler cl.exe but
+warning: due to missing POSIX compliance with basic features (e.g. stat()
+does not return inode numbers), there are many problems with the resulting
+code and thus it is recommended to better use a POSIX layer on top of
+WIN-DOS.
+
+ *** WARNING ***
+ *** Need new smake ***
+
+ *** Due to the fact that schily-2014-04-03 introduced to use new macro
+ *** expansions and a related bug fix in smake, you need a new smake
+ *** to compile this source. To ensure this, get a recent "schily"
+ *** tarball from http://sourceforge.net/projects/schilytools/files/
+ *** and call:
+
+ cd ./psmake
+ ./MAKE-all
+ cd ..
+ psmake/smake
+ psmake/smake install
+
+ The new smake version mentioned above is smake-1.2.4.
+ Note that smake-1.2.5 exists and is preferrable.
+
+ Now you have a new smake that is able to compile this source.
+
+ Note that the major makefile restructuring introduced in
+ schily-2014-04-03 is now more than one month ago and thus seems
+ to work without problems.
+
+ WARNING: the new version of the isoinfo program makes use of the
+ *at() series of functions that have been introduced by Sun
+ in August 2001 and added to POSIX.1-2008. For older platforms,
+ libschily now includes emulations for these functions but
+ these emulations have not yet been tested thoroughly.
+ Please report problems!
+
+****************
+This is the final release candidate for cdrtools-3.01-final
+****************
+
+All:
+
+- README.compile now includes an example on how to cross compile
+ on Linux for Android.
+
+- include/schily/find.h modified to avoid a GCC warning from
+ using libfind in the Bourne Shell.
+
+- include/schily/dlfcn.h modified to avoid a GCC warning from
+ the new builtin management code in the Bourne Shell.
+
+- Support for Win-10 when compiling with no automake-aware
+ make implementations like "gmake" was added.
+
+Libschily:
+
+- libschily/resolvepath.c now #define's lstat stat if lstat()
+ is missing.
+
+- libschily/error.c now allows to be compiled without weak
+ symbols by using -DNO_WEAK_SYMBOLS
+
+Libcdrdeflt:
+
+Libdeflt:
+
+Libedc (Optimized by J�rg Schilling, originated by Heiko Ei�feldt heiko@hexco.de):
+
+Libfile:
+
+Libfind:
+
+Libhfs_iso:
+
+Libmdigest:
+
+Libparanoia (Ported/enhanced by J�rg Schilling, originated by Monty xiphmont@mit.edu):
+
+Libscg:
+
+Libscgcmd:
+
+Libsiconv:
+
+Rscsi:
+
+Cdrecord:
+
+Cdda2wav (Maintained/enhanced by J�rg Schilling, originated by Heiko Ei�feldt heiko@hexco.de):
+
+Readcd:
+
+Scgcheck:
+
+Scgskeleton:
+
+Btcflash:
+
+Mkisofs (Maintained/enhanced by J�rg Schilling since 1997, originated by Eric Youngdale):
+
+- mkisofs/diag/isoinfo.c now test for HAVE_MKNOD in order to avoid
+ calling mknod() on MINGW32.
+
+
+HELIOS TODO:
+
+ - Add the HELIOS UNICODE mapping code. This needs to be done
+ at UCS-2 level for Joliet and UDF (instead of UTF-8) and only
+ for Rock Ridge (in case of a UTF-8 based target locale) using
+ UTF-8 based translations.
+
+ - Make the Apple extensions work again with "mkisofs -find"
+
+TODO:
+
+ - read Joliet filenames with multi-session if no TRANS.TBL
+ or RR is present. I am looking for a volunteer for this task!
+
+ Note that this can never be 100% correct as there is no relation
+ between the names on the master (UNIX) filesystem, the ISO-9660
+ names and the Joliet names. Only the Rock Ridge names are
+ untranslated with respect to the original files on the
+ master (UNIX) filesystem.
+
+ - add libecc/edc for CDI and similar.
+
+
+CYGWIN NT-4.0 NOTES:
+
+To compile on Cygwin32, get Cygwin and install it.
+For more information read README.win32
+
+The files are located on:
+
+http://sourceforge.net/projects/cdrtools/files/alpha/ ...
+
+NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some
+ minor trouble. If you like a 100% POSIX compliant tar, get star from
+ http://sourceforge.net/projects/s-tar/files/ of from the schily-*
+ tarball at: http://sourceforge.net/projects/schilytools/files/
+
+WARNING: Do not use 'winzip' to extract the tar file!
+ Winzip cannot extract symbolic links correctly.
+
+Joerg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdrtools-3.01/BUILD new/cdrtools-3.01/BUILD
--- old/cdrtools-3.01/BUILD 2015-03-25 20:14:54.000000000 +0100
+++ new/cdrtools-3.01/BUILD 2015-07-28 22:01:36.000000000 +0200
@@ -596,7 +596,16 @@
If you are on Linux and like to compile for Android, do the following:
1) set up CC acording to the instructions from the cross compiler
- tool chain
+ tool chain. Important: you need to read the information for your
+ tool chain. A working setup may look similar to:
+
+ NDK=/home/joerg/android-ndk-r7
+ SYSROOT=\$NDK/platforms/android-14/arch-arm
+ CC="\$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=\$SYSROOT"
+ export NDK
+ export SYSROOT
+ export CC
+
2) set environment variables CONFIG_RMTCALL / CONFIG_RMTHOST, e.g.:
setenv CONFIG_RMTCALL `pwd`/conf/runrmt_android
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdrtools-3.01/COMPILE new/cdrtools-3.01/COMPILE
--- old/cdrtools-3.01/COMPILE 2015-03-25 20:14:54.000000000 +0100
+++ new/cdrtools-3.01/COMPILE 2015-07-28 22:01:36.000000000 +0200
@@ -596,7 +596,16 @@
If you are on Linux and like to compile for Android, do the following:
1) set up CC acording to the instructions from the cross compiler
- tool chain
+ tool chain. Important: you need to read the information for your
+ tool chain. A working setup may look similar to:
+
+ NDK=/home/joerg/android-ndk-r7
+ SYSROOT=\$NDK/platforms/android-14/arch-arm
+ CC="\$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=\$SYSROOT"
+ export NDK
+ export SYSROOT
+ export CC
+
2) set environment variables CONFIG_RMTCALL / CONFIG_RMTHOST, e.g.:
setenv CONFIG_RMTCALL `pwd`/conf/runrmt_android
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdrtools-3.01/INSTALL new/cdrtools-3.01/INSTALL
--- old/cdrtools-3.01/INSTALL 2015-03-25 20:14:54.000000000 +0100
+++ new/cdrtools-3.01/INSTALL 2015-07-28 22:01:36.000000000 +0200
@@ -596,7 +596,16 @@
If you are on Linux and like to compile for Android, do the following:
1) set up CC acording to the instructions from the cross compiler
- tool chain
+ tool chain. Important: you need to read the information for your
+ tool chain. A working setup may look similar to:
+
+ NDK=/home/joerg/android-ndk-r7
+ SYSROOT=\$NDK/platforms/android-14/arch-arm
+ CC="\$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=\$SYSROOT"
+ export NDK
+ export SYSROOT
+ export CC
+
2) set environment variables CONFIG_RMTCALL / CONFIG_RMTHOST, e.g.:
setenv CONFIG_RMTCALL `pwd`/conf/runrmt_android
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdrtools-3.01/README.compile new/cdrtools-3.01/README.compile
--- old/cdrtools-3.01/README.compile 2015-03-25 20:14:54.000000000 +0100
+++ new/cdrtools-3.01/README.compile 2015-07-28 22:01:36.000000000 +0200
@@ -596,7 +596,16 @@
If you are on Linux and like to compile for Android, do the following:
1) set up CC acording to the instructions from the cross compiler
- tool chain
+ tool chain. Important: you need to read the information for your
+ tool chain. A working setup may look similar to:
+
+ NDK=/home/joerg/android-ndk-r7
+ SYSROOT=\$NDK/platforms/android-14/arch-arm
+ CC="\$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=\$SYSROOT"
+ export NDK
+ export SYSROOT
+ export CC
+
2) set environment variables CONFIG_RMTCALL / CONFIG_RMTHOST, e.g.:
setenv CONFIG_RMTCALL `pwd`/conf/runrmt_android
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdrtools-3.01/RULES/os-cygwin_nt-10.0-wow.id new/cdrtools-3.01/RULES/os-cygwin_nt-10.0-wow.id
--- old/cdrtools-3.01/RULES/os-cygwin_nt-10.0-wow.id 1970-01-01 01:00:00.000000000 +0100
+++ new/cdrtools-3.01/RULES/os-cygwin_nt-10.0-wow.id 2015-08-03 23:17:39.000000000 +0200
@@ -0,0 +1,25 @@
+#ident "@(#)os-cygwin_nt-10.0-wow.id 1.1 15/08/03 "
+###########################################################################
+# Written 2015 by J. Schilling
+###########################################################################
+#
+# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-10.0 (Win 10.0)
+#
+###########################################################################
+# Copyright (c) J. Schilling
+###########################################################################
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# See the file CDDL.Schily.txt in this distribution for details.
+# A copy of the CDDL is also available via the Internet at
+# http://www.opensource.org/licenses/cddl1.txt
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file CDDL.Schily.txt from this distribution.
+###########################################################################
+include $(SRCROOT)/$(RULESDIR)/os-cygwin32_wow.id
+
+WINNTDEFS += -DWINVER=0x0A00 -D_WIN32_WINNT=0x0A00
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdrtools-3.01/RULES/os-cygwin_nt-10.0-wow64.id new/cdrtools-3.01/RULES/os-cygwin_nt-10.0-wow64.id
--- old/cdrtools-3.01/RULES/os-cygwin_nt-10.0-wow64.id 1970-01-01 01:00:00.000000000 +0100
+++ new/cdrtools-3.01/RULES/os-cygwin_nt-10.0-wow64.id 2015-08-03 23:17:39.000000000 +0200
@@ -0,0 +1,25 @@
+#ident "@(#)os-cygwin_nt-10.0-wow64.id 1.1 15/08/03 "
+###########################################################################
+# Written 2015 by J. Schilling
+###########################################################################
+#
+# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-10.0 (Win 10.0)
+#
+###########################################################################
+# Copyright (c) J. Schilling
+###########################################################################
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# See the file CDDL.Schily.txt in this distribution for details.
+# A copy of the CDDL is also available via the Internet at
+# http://www.opensource.org/licenses/cddl1.txt
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file CDDL.Schily.txt from this distribution.
+###########################################################################
+include $(SRCROOT)/$(RULESDIR)/os-cygwin32_wow64.id
+
+WINNTDEFS += -DWINVER=0x0A00 -D_WIN32_WINNT=0x0A00
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdrtools-3.01/RULES/os-cygwin_nt-10.0.id new/cdrtools-3.01/RULES/os-cygwin_nt-10.0.id
--- old/cdrtools-3.01/RULES/os-cygwin_nt-10.0.id 1970-01-01 01:00:00.000000000 +0100
+++ new/cdrtools-3.01/RULES/os-cygwin_nt-10.0.id 2015-08-03 23:17:39.000000000 +0200
@@ -0,0 +1,25 @@
+#ident "@(#)os-cygwin_nt-10.0.id 1.1 15/08/03 "
+###########################################################################
+# Written 2015 by J. Schilling
+###########################################################################
+#
+# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-10.0 (Win 10.0)
+#
+###########################################################################
+# Copyright (c) J. Schilling
+###########################################################################
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# See the file CDDL.Schily.txt in this distribution for details.
+# A copy of the CDDL is also available via the Internet at
+# http://www.opensource.org/licenses/cddl1.txt
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file CDDL.Schily.txt from this distribution.
+###########################################################################
+include $(SRCROOT)/$(RULESDIR)/os-cygwin32_nt.id
+
+WINNTDEFS += -DWINVER=0x0A00 -D_WIN32_WINNT=0x0A00
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdrtools-3.01/RULES/os-cygwin_nt-6.4-wow.id new/cdrtools-3.01/RULES/os-cygwin_nt-6.4-wow.id
--- old/cdrtools-3.01/RULES/os-cygwin_nt-6.4-wow.id 1970-01-01 01:00:00.000000000 +0100
+++ new/cdrtools-3.01/RULES/os-cygwin_nt-6.4-wow.id 2015-08-03 23:17:39.000000000 +0200
@@ -0,0 +1,25 @@
+#ident "@(#)os-cygwin_nt-6.4-wow.id 1.1 15/08/03 "
+###########################################################################
+# Written 2015 by J. Schilling
+###########################################################################
+#
+# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-6.4 (Win 10.0)
+#
+###########################################################################
+# Copyright (c) J. Schilling
+###########################################################################
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# See the file CDDL.Schily.txt in this distribution for details.
+# A copy of the CDDL is also available via the Internet at
+# http://www.opensource.org/licenses/cddl1.txt
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file CDDL.Schily.txt from this distribution.
+###########################################################################
+include $(SRCROOT)/$(RULESDIR)/os-cygwin32_wow.id
+
+WINNTDEFS += -D_WIN32_WINNT=0x0604
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdrtools-3.01/RULES/os-cygwin_nt-6.4-wow64.id new/cdrtools-3.01/RULES/os-cygwin_nt-6.4-wow64.id
--- old/cdrtools-3.01/RULES/os-cygwin_nt-6.4-wow64.id 1970-01-01 01:00:00.000000000 +0100
+++ new/cdrtools-3.01/RULES/os-cygwin_nt-6.4-wow64.id 2015-08-03 23:17:39.000000000 +0200
@@ -0,0 +1,25 @@
+#ident "@(#)os-cygwin_nt-6.4-wow64.id 1.1 15/08/03 "
+###########################################################################
+# Written 2015 by J. Schilling
+###########################################################################
+#
+# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-6.4 (Win 10.0)
+#
+###########################################################################
+# Copyright (c) J. Schilling
+###########################################################################
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# See the file CDDL.Schily.txt in this distribution for details.
+# A copy of the CDDL is also available via the Internet at
+# http://www.opensource.org/licenses/cddl1.txt
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file CDDL.Schily.txt from this distribution.
+###########################################################################
+include $(SRCROOT)/$(RULESDIR)/os-cygwin32_wow64.id
+
+WINNTDEFS += -D_WIN32_WINNT=0x0604
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdrtools-3.01/RULES/os-cygwin_nt-6.4.id new/cdrtools-3.01/RULES/os-cygwin_nt-6.4.id
--- old/cdrtools-3.01/RULES/os-cygwin_nt-6.4.id 1970-01-01 01:00:00.000000000 +0100
+++ new/cdrtools-3.01/RULES/os-cygwin_nt-6.4.id 2015-08-03 23:17:39.000000000 +0200
@@ -0,0 +1,25 @@
+#ident "@(#)os-cygwin_nt-6.4.id 1.1 15/08/03 "
+###########################################################################
+# Written 2015 by J. Schilling
+###########################################################################
+#
+# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-6.4 (Win 10.0)
+#
+###########################################################################
+# Copyright (c) J. Schilling
+###########################################################################
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# See the file CDDL.Schily.txt in this distribution for details.
+# A copy of the CDDL is also available via the Internet at
+# http://www.opensource.org/licenses/cddl1.txt
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file CDDL.Schily.txt from this distribution.
+###########################################################################
+include $(SRCROOT)/$(RULESDIR)/os-cygwin32_nt.id
+
+WINNTDEFS += -D_WIN32_WINNT=0x0604
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdrtools-3.01/cdrecord/version.h new/cdrtools-3.01/cdrecord/version.h
--- old/cdrtools-3.01/cdrecord/version.h 2015-07-06 23:03:12.000000000 +0200
+++ new/cdrtools-3.01/cdrecord/version.h 2015-08-03 23:23:39.000000000 +0200
@@ -1,6 +1,6 @@
-/* @(#)version.h 1.84 15/07/06 Copyright 2007-2015 J. Schilling */
+/* @(#)version.h 1.85 15/08/03 Copyright 2007-2015 J. Schilling */
/*
* The version for cdrtools programs
*/
-#define VERSION "3.01a30"
+#define VERSION "3.01a31"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdrtools-3.01/include/schily/dlfcn.h new/cdrtools-3.01/include/schily/dlfcn.h
--- old/cdrtools-3.01/include/schily/dlfcn.h 2015-01-04 15:48:22.000000000 +0100
+++ new/cdrtools-3.01/include/schily/dlfcn.h 2015-07-13 20:30:52.000000000 +0200
@@ -1,8 +1,8 @@
-/* @(#)dlfcn.h 1.3 15/01/04 Copyright 2009 J. Schilling */
+/* @(#)dlfcn.h 1.4 15/07/13 Copyright 2015 J. Schilling */
/*
* Abstraction from dlfcn.h
*
- * Copyright (c) 2009 J. Schilling
+ * Copyright (c) 2015 J. Schilling
*/
/*
* The contents of this file are subject to the terms of the
@@ -89,13 +89,13 @@
#endif
#ifndef HAVE_DLOPEN
-extern void *dlopen __PR((const char *pathname, int mode));
+extern void *dlopen __PR((const char *__pathname, int mode));
#endif
#ifndef HAVE_DLCLOSE
-extern int dlclose __PR((void *handle));
+extern int dlclose __PR((void *__handle));
#endif
#ifndef HAVE_DLSYM
-extern void *dlsym __PR((void *handle, const char *name));
+extern void *dlsym __PR((void *__handle, const char *name));
#endif
#ifndef HAVE_DLERROR
extern const char *dlerror __PR((void));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdrtools-3.01/include/schily/find.h new/cdrtools-3.01/include/schily/find.h
--- old/cdrtools-3.01/include/schily/find.h 2011-08-05 21:28:30.000000000 +0200
+++ new/cdrtools-3.01/include/schily/find.h 2015-07-10 20:31:26.000000000 +0200
@@ -1,8 +1,8 @@
-/* @(#)find.h 1.23 11/08/05 Copyright 2005-2011 J. Schilling */
+/* @(#)find.h 1.24 15/07/10 Copyright 2005-2015 J. Schilling */
/*
* Definitions for libfind users.
*
- * Copyright (c) 2004-2011 J. Schilling
+ * Copyright (c) 2004-2015 J. Schilling
*/
/*
* The contents of this file are subject to the terms of the
@@ -11,6 +11,8 @@
* with the License.
*
* See the file CDDL.Schily.txt in this distribution for details.
+ * A copy of the CDDL is also available via the Internet at
+ * http://www.opensource.org/licenses/cddl1.txt
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file CDDL.Schily.txt from this distribution.
@@ -93,13 +95,13 @@
extern findn_t *find_printnode __PR((void));
extern findn_t *find_addprint __PR((findn_t *np, finda_t *fap));
extern void find_free __PR((findn_t *t, finda_t *fap));
-extern int find_token __PR((char *word));
+extern int find_token __PR((char *__word));
extern char *find_tname __PR((int op));
extern findn_t *find_parse __PR((finda_t *fap));
extern void find_firstprim __PR((int *pac, char *const **pav));
extern BOOL find_primary __PR((findn_t *t, int op));
-extern BOOL find_pname __PR((findn_t *t, char *word));
+extern BOOL find_pname __PR((findn_t *t, char *__word));
extern BOOL find_hasprint __PR((findn_t *t));
extern BOOL find_hasexec __PR((findn_t *t));
extern BOOL find_expr __PR((char *f, char *ff, struct stat *fs,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdrtools-3.01/libschily/error.c new/cdrtools-3.01/libschily/error.c
--- old/cdrtools-3.01/libschily/error.c 2015-07-06 22:28:31.000000000 +0200
+++ new/cdrtools-3.01/libschily/error.c 2015-08-01 00:21:14.000000000 +0200
@@ -1,4 +1,4 @@
-/* @(#)error.c 1.17 15/07/06 Copyright 1985, 1989, 1995-2015 J. Schilling */
+/* @(#)error.c 1.18 15/08/01 Copyright 1985, 1989, 1995-2015 J. Schilling */
/*
* fprintf() on standard error stdio stream
*
@@ -26,6 +26,7 @@
#undef error
+#ifndef NO_WEAK_SYMBOLS
/*
* The Cygwin compile environment incorrectly implements #pragma weak.
* The weak symbols are only defined as local symbols making it impossible
@@ -60,6 +61,7 @@
return (ret);
}
#endif
+#endif /* NO_WEAK_SYMBOLS */
/* VARARGS1 */
#ifdef PROTOTYPES
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdrtools-3.01/libschily/resolvepath.c new/cdrtools-3.01/libschily/resolvepath.c
--- old/cdrtools-3.01/libschily/resolvepath.c 2015-03-03 20:52:11.000000000 +0100
+++ new/cdrtools-3.01/libschily/resolvepath.c 2015-07-20 20:34:55.000000000 +0200
@@ -1,4 +1,4 @@
-/* @(#)resolvepath.c 1.5 15/03/03 Copyright 2011-2015 J. Schilling */
+/* @(#)resolvepath.c 1.6 15/07/20 Copyright 2011-2015 J. Schilling */
/*
* resolvepath() removes "./" and non-leading "/.." path components.
* It tries to do the same as the Solaris syscall with the same name.
@@ -27,6 +27,10 @@
#include
#include
+#ifndef HAVE_LSTAT
+#define lstat stat
+#endif
+
#ifndef HAVE_RESOLVEPATH
EXPORT int resolvepath __PR((const char *path, char *buf,
size_t bufsiz));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cdrtools-3.01/mkisofs/diag/isoinfo.c new/cdrtools-3.01/mkisofs/diag/isoinfo.c
--- old/cdrtools-3.01/mkisofs/diag/isoinfo.c 2015-01-27 23:06:39.000000000 +0100
+++ new/cdrtools-3.01/mkisofs/diag/isoinfo.c 2015-07-22 22:36:45.000000000 +0200
@@ -1,8 +1,8 @@
-/* @(#)isoinfo.c 1.93 15/01/27 joerg */
+/* @(#)isoinfo.c 1.95 15/07/22 joerg */
#include
#ifndef lint
static UConst char sccsid[] =
- "@(#)isoinfo.c 1.93 15/01/27 joerg";
+ "@(#)isoinfo.c 1.95 15/07/22 joerg";
#endif
/*
* File isodump.c - dump iso9660 directory information.
@@ -852,6 +852,9 @@
switch (fstat_buf.st_mode & S_IFMT) {
+#ifndef HAVE_MKNOD
+ err:
+#endif
default:
errmsgno(EX_BAD,
"Unsupported file type %0lo for '%s'.\n",
@@ -861,6 +864,9 @@
case S_IFDIR:
+#ifdef __MINGW32__
+#define mkdir(n, m) mkdir(n)
+#endif
if (mkdir(fname, fstat_buf.st_mode) < 0 &&
geterrno() != EEXIST)
errmsg("Cannot make directory '%s'.\n", fname);
@@ -868,27 +874,43 @@
#ifdef S_IFBLK
case S_IFBLK:
+#ifdef HAVE_MKNOD
if (mknod(fname, fstat_buf.st_mode, fstat_buf.st_rdev) < 0)
errmsg("Cannot make block device '%s'.\n", fname);
goto setmode;
+#else
+ goto err;
+#endif
#endif
#ifdef S_IFCHR
case S_IFCHR:
+#ifdef HAVE_MKNOD
if (mknod(fname, fstat_buf.st_mode, fstat_buf.st_rdev) < 0)
errmsg("Cannot make character device '%s'.\n", fname);
goto setmode;
+#else
+ goto err;
+#endif
#endif
#ifdef S_IFIFO
case S_IFIFO:
+#ifdef HAVE_MKFIFO
if (mkfifo(fname, fstat_buf.st_mode) < 0)
errmsg("Cannot make fifo '%s'.\n", fname);
goto setmode;
+#else
+ goto err;
+#endif
#endif
#ifdef S_IFSOCK
case S_IFSOCK:
+#ifdef HAVE_MKNOD
if (mknod(fname, fstat_buf.st_mode, 0) < 0)
errmsg("Cannot make socket '%s'.\n", fname);
goto setmode;
+#else
+ goto err;
+#endif
#endif
#ifdef S_IFLNK
case S_IFLNK: