head 1.8; access; symbols pkgsrc-2026Q1:1.8.0.122 pkgsrc-2026Q1-base:1.8 pkgsrc-2025Q4:1.8.0.120 pkgsrc-2025Q4-base:1.8 pkgsrc-2025Q3:1.8.0.118 pkgsrc-2025Q3-base:1.8 pkgsrc-2025Q2:1.8.0.116 pkgsrc-2025Q2-base:1.8 pkgsrc-2025Q1:1.8.0.114 pkgsrc-2025Q1-base:1.8 pkgsrc-2024Q4:1.8.0.112 pkgsrc-2024Q4-base:1.8 pkgsrc-2024Q3:1.8.0.110 pkgsrc-2024Q3-base:1.8 pkgsrc-2024Q2:1.8.0.108 pkgsrc-2024Q2-base:1.8 pkgsrc-2024Q1:1.8.0.106 pkgsrc-2024Q1-base:1.8 pkgsrc-2023Q4:1.8.0.104 pkgsrc-2023Q4-base:1.8 pkgsrc-2023Q3:1.8.0.102 pkgsrc-2023Q3-base:1.8 pkgsrc-2023Q2:1.8.0.100 pkgsrc-2023Q2-base:1.8 pkgsrc-2023Q1:1.8.0.98 pkgsrc-2023Q1-base:1.8 pkgsrc-2022Q4:1.8.0.96 pkgsrc-2022Q4-base:1.8 pkgsrc-2022Q3:1.8.0.94 pkgsrc-2022Q3-base:1.8 pkgsrc-2022Q2:1.8.0.92 pkgsrc-2022Q2-base:1.8 pkgsrc-2022Q1:1.8.0.90 pkgsrc-2022Q1-base:1.8 pkgsrc-2021Q4:1.8.0.88 pkgsrc-2021Q4-base:1.8 pkgsrc-2021Q3:1.8.0.86 pkgsrc-2021Q3-base:1.8 pkgsrc-2021Q2:1.8.0.84 pkgsrc-2021Q2-base:1.8 pkgsrc-2021Q1:1.8.0.82 pkgsrc-2021Q1-base:1.8 pkgsrc-2020Q4:1.8.0.80 pkgsrc-2020Q4-base:1.8 pkgsrc-2020Q3:1.8.0.78 pkgsrc-2020Q3-base:1.8 pkgsrc-2020Q2:1.8.0.74 pkgsrc-2020Q2-base:1.8 pkgsrc-2020Q1:1.8.0.54 pkgsrc-2020Q1-base:1.8 pkgsrc-2019Q4:1.8.0.76 pkgsrc-2019Q4-base:1.8 pkgsrc-2019Q3:1.8.0.72 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.70 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.8.0.68 pkgsrc-2019Q1-base:1.8 pkgsrc-2018Q4:1.8.0.66 pkgsrc-2018Q4-base:1.8 pkgsrc-2018Q3:1.8.0.64 pkgsrc-2018Q3-base:1.8 pkgsrc-2018Q2:1.8.0.62 pkgsrc-2018Q2-base:1.8 pkgsrc-2018Q1:1.8.0.60 pkgsrc-2018Q1-base:1.8 pkgsrc-2017Q4:1.8.0.58 pkgsrc-2017Q4-base:1.8 pkgsrc-2017Q3:1.8.0.56 pkgsrc-2017Q3-base:1.8 pkgsrc-2017Q2:1.8.0.52 pkgsrc-2017Q2-base:1.8 pkgsrc-2017Q1:1.8.0.50 pkgsrc-2017Q1-base:1.8 pkgsrc-2016Q4:1.8.0.48 pkgsrc-2016Q4-base:1.8 pkgsrc-2016Q3:1.8.0.46 pkgsrc-2016Q3-base:1.8 pkgsrc-2016Q2:1.8.0.44 pkgsrc-2016Q2-base:1.8 pkgsrc-2016Q1:1.8.0.42 pkgsrc-2016Q1-base:1.8 pkgsrc-2015Q4:1.8.0.40 pkgsrc-2015Q4-base:1.8 pkgsrc-2015Q3:1.8.0.38 pkgsrc-2015Q3-base:1.8 pkgsrc-2015Q2:1.8.0.36 pkgsrc-2015Q2-base:1.8 pkgsrc-2015Q1:1.8.0.34 pkgsrc-2015Q1-base:1.8 pkgsrc-2014Q4:1.8.0.32 pkgsrc-2014Q4-base:1.8 pkgsrc-2014Q3:1.8.0.30 pkgsrc-2014Q3-base:1.8 pkgsrc-2014Q2:1.8.0.28 pkgsrc-2014Q2-base:1.8 pkgsrc-2014Q1:1.8.0.26 pkgsrc-2014Q1-base:1.8 pkgsrc-2013Q4:1.8.0.24 pkgsrc-2013Q4-base:1.8 pkgsrc-2013Q3:1.8.0.22 pkgsrc-2013Q3-base:1.8 pkgsrc-2013Q2:1.8.0.20 pkgsrc-2013Q2-base:1.8 pkgsrc-2013Q1:1.8.0.18 pkgsrc-2013Q1-base:1.8 pkgsrc-2012Q4:1.8.0.16 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.8.0.14 pkgsrc-2012Q3-base:1.8 pkgsrc-2012Q2:1.8.0.12 pkgsrc-2012Q2-base:1.8 pkgsrc-2012Q1:1.8.0.10 pkgsrc-2012Q1-base:1.8 pkgsrc-2011Q4:1.8.0.8 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.6 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.4 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.2 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.7.0.34 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.32 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.30 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.28 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.26 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.24 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.22 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.20 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.18 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.16 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.14 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.12 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.10 pkgsrc-2008Q1:1.7.0.8 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.6 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.4 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.2 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.6.0.8 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.6 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.4 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.2 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.5.0.4 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.2 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.4.0.2 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.3.0.8 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.6 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.4 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.2 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.2.0.2 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.1.0.4 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.2 pkgsrc-2003Q4-base:1.1; locks; strict; comment @# @; 1.8 date 2011.01.30.01.59.59; author markd; state Exp; branches; next 1.7; 1.7 date 2007.06.08.08.07.05; author wiz; state Exp; branches; next 1.6; 1.6 date 2006.06.11.15.22.21; author wiz; state Exp; branches; next 1.5; 1.5 date 2005.10.18.15.31.57; author joerg; state Exp; branches; next 1.4; 1.4 date 2005.09.06.08.10.59; author abs; state Exp; branches; next 1.3; 1.3 date 2004.06.30.00.11.23; author wiz; state Exp; branches; next 1.2; 1.2 date 2004.05.30.17.57.52; author tron; state Exp; branches; next 1.1; 1.1 date 2003.11.10.00.07.41; author wiz; state Exp; branches; next ; desc @@ 1.8 log @Fix build on linux with gcc4.5 @ text @$NetBSD: patch-aa,v 1.7 2007/06/08 08:07:05 wiz Exp $ --- transport.hxx.orig 2008-03-01 10:34:43.000000000 +0000 +++ transport.hxx @@@@ -6,7 +6,7 @@@@ // For further details see http://fy.chalmers.se/~appro/linux/DVD+RW/ // -#if defined(__unix) || defined(__unix__) +#if defined(__unix) || defined(__unix__) || defined(__NetBSD__) #include #include #include @@@@ -16,6 +16,9 @@@@ #include #include #include +#if __NetBSD_Version__ >= 299000900 +#include +#endif inline long getmsecs() { struct timeval tv; @@@@ -140,6 +143,7 @@@@ extern "C" char *plusminus_locale() #if defined(__linux) #include +#include #include #include #include @@@@ -454,7 +458,11 @@@@ public: // mounted, so that it could as well just return 0; int umount(int f=-1) { struct stat fsb,msb; +#if __NetBSD_Version__ >= 299000900 + struct statvfs *mntbuf; +#else struct statfs *mntbuf; +#endif int ret=0,mntsize,i; if (f==-1) f=fd; @@@@ -483,7 +491,7 @@@@ public: { return 1; } }; -#elif defined(__FreeBSD__) +#elif defined(__FreeBSD__) || defined(__DragonFly__) #include #include @@@@ -650,7 +658,11 @@@@ public: } int umount(int f=-1) { struct stat fsb,msb; +#if __NetBSD_Version__ >= 299000900 + struct statvfs *mntbuf; +#else struct statfs *mntbuf; +#endif int ret=0,mntsize,i; if (f==-1) f=fd; @ 1.7 log @Update to 7.0: This release adds Blu-ray Disc support and Mac OS X 10>=2 support. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.6 2006/06/11 15:22:21 wiz Exp $ d3 1 a3 1 --- transport.hxx.orig 2006-09-23 11:29:07.000000000 +0000 d24 9 a32 1 @@@@ -446,7 +449,11 @@@@ public: d44 1 a44 1 @@@@ -475,7 +482,7 @@@@ public: d53 1 a53 1 @@@@ -642,7 +649,11 @@@@ public: @ 1.6 log @Update to 6.1: This is essentially minor bug-fix release, which most notably works around "unable to anonymously mmap" failure at startup and fixes typo in -speed interpretation code. Besides bug-fixes this version attempts to obtain exclusive lock on block device under Linux. This opens possibility for safe deployment of automounting/autoplaying facility under Linux 2.6. Keep in mind that it takes two to dance tango, automounters/autoplayers has to play along as well. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2005/10/18 15:31:57 joerg Exp $ d3 1 a3 1 --- transport.hxx.orig 2006-01-26 08:02:32.000000000 +0000 d24 1 a24 1 @@@@ -442,7 +445,11 @@@@ public: d36 1 a36 1 @@@@ -471,7 +478,7 @@@@ public: d45 1 a45 1 @@@@ -638,7 +645,11 @@@@ public: @ 1.5 log @Add DragonFly support. Patch privately provided by Jan Kosir. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- transport.hxx.orig 2004-08-25 01:36:29.000000000 +0200 d24 1 a24 1 @@@@ -413,7 +416,11 @@@@ public: d36 1 a36 1 @@@@ -442,7 +449,7 @@@@ public: d45 1 a45 1 @@@@ -609,7 +616,11 @@@@ public: @ 1.4 log @Fix NetBSD statvfs check to be >= 299000900 not >= 200040000 No pkgrevision bumps needed. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2004/06/30 00:11:23 wiz Exp $ d3 1 a3 1 --- transport.hxx.orig 2004-04-19 18:25:06.000000000 +0200 d24 1 a24 1 @@@@ -407,7 +410,11 @@@@ public: d36 10 a45 1 @@@@ -603,7 +610,11 @@@@ public: @ 1.3 log @Update to 5.19-1.4.9.7, from FUKAUMI Naoki in PR 25433. Make compile on statvfs systems. Changes: - growisofs 5.19-1 hotfix to address "flushing cache takes forever; - 5.19.4.9.7 release; - LG GSA-4081B fails to "SET STREAMING" with "LBA OUT OF RANGE" for DVD+RW media, but not e.g. DVD-R; - dvd+rw-booktype: BTC support; - make DVD-RAM work in "poor-man" mode; - average write speed report at the end of recording; - dvd+rw-format 4.9: permit for DVD-RW blank even if format descriptors are not present; - Solaris: get rid of media reload, which made it possible to improve volume manager experience as well; - address speed verification issues with NEC ND-2500 and Plextor PX-708A; - IRIX: IRIX 6.x port is added; - dvd+rw-tools-5.18.4.8.6: www.software.hp.com release; - minimize amount of compiler warnings on 64-bit platforms; - skip count-down if no_tty_check is set; - -use-the-force-luke=tracksize:size option by suggestion from K3b; - Linux: fix for "Bad file descriptor" with DVD+RW kernel patch; - refuse to run if ${SUDO_COMMAND} is set; @ text @d1 1 a1 1 $NetBSD$ d18 1 a18 1 +#if __NetBSD_Version__ >= 200040000 d28 1 a28 1 +#if __NetBSD_Version__ >= 200040000 d40 1 a40 1 +#if __NetBSD_Version__ >= 200040000 @ 1.2 log @Make this build under NetBSD 2.0D and above with statvfs(2). @ text @d3 3 a5 3 --- transport.hxx.orig 2004-01-20 16:55:16.000000000 +0100 +++ transport.hxx 2004-05-30 19:55:42.000000000 +0200 @@@@ -6,17 +6,22 @@@@ d14 1 a14 4 #include #include +#include #include d16 5 d22 12 a33 1 #include d35 9 a43 2 +#if defined(__NetBSD__) && (__NetBSD_Version__ > 200030000) +#define statfs statvfs d45 3 a47 4 + #ifndef EMEDIUMTYPE #define EMEDIUMTYPE EINVAL #endif @ 1.1 log @Update to 5.13.4.7.4, closes PR 23106 by Wolfgang S. Rupprecht. Changes since 5.6.4.4.4: 5.7: - Solaris USB workaround; - 15 min timeout for FLUSH CACHE in DVD-RW DAO; - revalidate recording speed; - load media upon start-up (Linux used to auto-close tray upon open, but not the others, which is why this functionality is added so late); 5.8: - elder Ricoh firmwares seem to report events differently, which triggered growisofs and dvd+rw-format to end-less loop at startup [event handling was introduced in 5.6 for debugging purposes]; - int ioctl_fd is transformed to void *ioctl_handle to facilitate port to FreeBSD; - FreeBSD support contributed by Matthew Dillon; - volume descriptors from second session were discarded in Restricted Overwrite since 5.6; 5.9: - some [SONY] firmwares make it impossible to tell apart minimally and fully blanked media, so we need a way to engage DAO manually [in DVD-RW]... let's treat multiple -dvd-compat options as "cry" for DAO; - refuse to finalize even DVD-R media with -M flag (advise to fill it up with -M /dev/cdrom=/dev/zero too), apparently DVD-units [or is it just SONY?] also "misplace" legacy lead-out in the same manner as DVD+units; - oops! DAO hung at >4MB buffer because of sign overflow; - couple of human-readable error messages in poor_mans_pwrite64; - work around Plextor firmware deficiency which [also] manifests as end-less loop upon startup; 5.10: - increase timeout for OPC, NEC multi-format derivatives might require more time to fulfill the OPC procedure; - extended syntax for -use-the-force-luke option, it's now possible to engage DVD-R[W] dummy mode by -use-the-force-luke=[tty,]dummy for example, where "tty" substitutes for the original non-extended option meaning, see the source for more easter eggs; - FreeBSD: compile-time option to pass -M /dev/fd/0 to mkisofs to make life easier for those who mount devfs, but not fdescfs; - eliminate potential race conditions; - avoid end-less loop if no media was in upon tray load; - interpret value of MKISOFS environment variable as absolute path to mkisofs binary; - to facilitate for GUI front-ends return different exit codes, most notably exit value of 128|errno denotes a fatal error upon program startup [messages worth popping up in a separate modal dialog perhaps?], errno - fatal error during recording and 1 - warnings at exit; - to facilitate for GUI front-ends auto-format blank DVD+RW media; - Linux: fix for failure to copy volume descriptors when DVD-RW Restricted Overwrite procedure is applied to patched kernel; - FreeBSD: growisofs didn't close tray upon startup nor did the rest of the tools work with open tray; - bark at -o option and terminate execution, the "problem" was that users seem to misspell -overburn once in a while, in which case it was passed down to mkisofs and an iso-image was dumped to current working directory instead of media; - generalize -M /dev/cdrom=file.iso option, but if file.iso is not /dev/zero, insist on sane -C argument to be passed prior -M and double-verify the track starting address; 5.11: - authorship statement in -version output; - make speed_factor floating point and print "Current Write Speed" factor for informational purposes; - Pioneer DVR-x06 exhibited degraded performance when recording DVD+; - Pioneer DVR-x06 failed to complete DVD+ recording gracefully; - alter set-root-uid behaviour under Linux from "PAM-junky" to more conservative one; 5.12: - single Pioneer DVR-x06 user reported that very small fraction of his recordings get terminted with "LONG WRITE IN PROGRESS," even though growisofs explicitly reserves for this condition... It turned out that at those rare occasions unit reported a lot of free buffer space, which growisofs treated as error condition. It's not clear if it's firmware deficiency, but growisofs reserves even for this apparently rare condition now. - [major] issue with MODE SENSE/SELECT on SANYO derivatives, such as Optorite, is addressed; - Linux can't open(2) a socket by /dev/fd/N, replace it with dup(2); - more relaxed command line option parsing and simultaneously a zealous check to make sure that no mkisofs options are passed along with -[ZM] /dev/cdrom=image; - report I/O error if input stream was less than 64K; - -M /dev/cdrom=/dev/zero didn't relocate the lead-out in DVD-RW Restricted Overwrite; 5.13: - workarounds for Panasonic/MATSUSHITA DVD-RAM LF-D310; - Solaris: media load upon start-up; @ text @d3 3 a5 3 --- transport.hxx.orig Fri Sep 19 13:04:06 2003 +++ transport.hxx @@@@ -6,7 +6,7 @@@@ d14 15 @