mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
ftp://ftp.berlios.de/pub/cdrecord/AN-2.01 - Once again remove the patch for the configure script to disable the use of mlockall(2) as it no longer causes negative side effects on FreeBSD => 502113. Mark the port IGNORE on FreeBSD 5.x with broken mlockall(2) as such changes are not allowed according to a comment in xconfig.h.in. A patch for aclocal.m4 was submitted upstream but didn't get integrated. Mkisofs 2.01 was verified to produce working FreeBSD install images for alpha, i386, ia64 and sparc64. Thanks to: marcel for verifying mkisofs on ia64 Approved by: netchild
19 lines
634 B
C
19 lines
634 B
C
--- cdda2wav/interface.c Mon Dec 29 11:28:09 2003
|
|
+++ cdda2wav/interface.c Sun Jan 18 01:35:50 2004
|
|
@@ -444,7 +444,15 @@
|
|
default: /* for example ATAPI cds */
|
|
#else
|
|
#if defined (__FreeBSD__)
|
|
- case 117:
|
|
+#if __FreeBSD_version >= 501113
|
|
+ case 4: /* GEOM */
|
|
+ if (memcmp(pdev_name, "/dev/acd", sizeof("/dev/acd") - 1) != 0) {
|
|
+ fprintf(stderr, "%s is not an ATAPI CDROM device\n", pdev_name);
|
|
+ exit(SYNTAX_ERROR);
|
|
+ }
|
|
+ /* FALLTHROUGH */
|
|
+#endif
|
|
+ case 117: /* pre-GEOM atapi cd */
|
|
if (!S_ISCHR(statstruct->st_mode)) {
|
|
fprintf(stderr, "%s is not a char device\n",pdev_name);
|
|
exit(SYNTAX_ERROR);
|