libcdio: re-enable cdda-player for NetBSDdiff -r1.60 -r1.61 pkgsrc/misc/libcdio/Makefile
(adam)
@@ -1,31 +1,31 @@ | @@ -1,31 +1,31 @@ | |||
1 | # $NetBSD: Makefile,v 1.60 2019/04/18 17:04:37 gdt Exp $ | 1 | # $NetBSD: Makefile,v 1.61 2019/04/29 17:22:04 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= libcdio-2.1.0 | 3 | DISTNAME= libcdio-2.1.0 | |
4 | PKGREVISION= 1 | |||
4 | CATEGORIES= misc | 5 | CATEGORIES= misc | |
5 | MASTER_SITES= ${MASTER_SITE_GNU:=libcdio/} | 6 | MASTER_SITES= ${MASTER_SITE_GNU:=libcdio/} | |
6 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
7 | 8 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://www.gnu.org/software/libcdio/ | 10 | HOMEPAGE= http://www.gnu.org/software/libcdio/ | |
10 | COMMENT= CD-ROM access library | 11 | COMMENT= CD-ROM access library | |
11 | LICENSE= gnu-gpl-v3 | 12 | LICENSE= gnu-gpl-v3 | |
12 | 13 | |||
13 | USE_LANGUAGES= c c++ | 14 | USE_LANGUAGES= c c++ | |
14 | USE_LIBTOOL= yes | 15 | USE_LIBTOOL= yes | |
15 | USE_PKGLOCALEDIR= yes | 16 | USE_PKGLOCALEDIR= yes | |
16 | USE_TOOLS+= gmake perl:run pkg-config | 17 | USE_TOOLS+= gmake perl:run pkg-config | |
18 | GNU_CONFIGURE= yes | |||
19 | CONFIGURE_ARGS+= --without-versioned-libs | |||
20 | INFO_FILES= yes | |||
17 | PKGCONFIG_OVERRIDE+= libcdio.pc.in | 21 | PKGCONFIG_OVERRIDE+= libcdio.pc.in | |
18 | PKGCONFIG_OVERRIDE+= libcdio++.pc.in | 22 | PKGCONFIG_OVERRIDE+= libcdio++.pc.in | |
19 | PKGCONFIG_OVERRIDE+= libiso9660.pc.in | 23 | PKGCONFIG_OVERRIDE+= libiso9660.pc.in | |
20 | PKGCONFIG_OVERRIDE+= libiso9660++.pc.in | 24 | PKGCONFIG_OVERRIDE+= libiso9660++.pc.in | |
21 | PKGCONFIG_OVERRIDE+= libudf.pc.in | 25 | PKGCONFIG_OVERRIDE+= libudf.pc.in | |
22 | GNU_CONFIGURE= yes | |||
23 | CONFIGURE_ARGS+= --without-versioned-libs | |||
24 | INFO_FILES= yes | |||
25 | ||||
26 | TEST_TARGET= check | 26 | TEST_TARGET= check | |
27 | 27 | |||
28 | .include "../../audio/libcddb/buildlink3.mk" | 28 | .include "../../audio/libcddb/buildlink3.mk" | |
29 | .include "../../devel/ncurses/buildlink3.mk" | 29 | .include "../../devel/ncurses/buildlink3.mk" | |
30 | .include "../../devel/popt/buildlink3.mk" | 30 | .include "../../devel/popt/buildlink3.mk" | |
31 | .include "../../mk/bsd.pkg.mk" | 31 | .include "../../mk/bsd.pkg.mk" |
@@ -1,17 +1,18 @@ | @@ -1,17 +1,18 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.18 2019/04/18 17:04:37 gdt Exp $ | 1 | @comment $NetBSD: PLIST,v 1.19 2019/04/29 17:22:04 adam Exp $ | |
2 | bin/cd-drive | 2 | bin/cd-drive | |
3 | bin/cd-info | 3 | bin/cd-info | |
4 | bin/cd-read | 4 | bin/cd-read | |
5 | bin/cdda-player | |||
5 | bin/iso-info | 6 | bin/iso-info | |
6 | bin/iso-read | 7 | bin/iso-read | |
7 | bin/mmc-tool | 8 | bin/mmc-tool | |
8 | include/cdio++/cdio.hpp | 9 | include/cdio++/cdio.hpp | |
9 | include/cdio++/cdtext.hpp | 10 | include/cdio++/cdtext.hpp | |
10 | include/cdio++/device.hpp | 11 | include/cdio++/device.hpp | |
11 | include/cdio++/devices.hpp | 12 | include/cdio++/devices.hpp | |
12 | include/cdio++/disc.hpp | 13 | include/cdio++/disc.hpp | |
13 | include/cdio++/enum.hpp | 14 | include/cdio++/enum.hpp | |
14 | include/cdio++/iso9660.hpp | 15 | include/cdio++/iso9660.hpp | |
15 | include/cdio++/mmc.hpp | 16 | include/cdio++/mmc.hpp | |
16 | include/cdio++/read.hpp | 17 | include/cdio++/read.hpp | |
17 | include/cdio++/track.hpp | 18 | include/cdio++/track.hpp |
@@ -1,8 +1,9 @@ | @@ -1,8 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.30 2019/04/18 17:04:37 gdt Exp $ | 1 | $NetBSD: distinfo,v 1.31 2019/04/29 17:22:04 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (libcdio-2.1.0.tar.bz2) = ec22e5168bc0dcfc179ec7b1164af1e5b672ca89 | 3 | SHA1 (libcdio-2.1.0.tar.bz2) = ec22e5168bc0dcfc179ec7b1164af1e5b672ca89 | |
4 | RMD160 (libcdio-2.1.0.tar.bz2) = 6b0e4917cd2dd5cac0b7afdb70789bf0ad2aed79 | 4 | RMD160 (libcdio-2.1.0.tar.bz2) = 6b0e4917cd2dd5cac0b7afdb70789bf0ad2aed79 | |
5 | SHA512 (libcdio-2.1.0.tar.bz2) = c290821da55fd9ae366670a58857aa6efcebc9f25b7caea063cf12f9cbda84fe770c5f59f972227fda50517ca58c5f39c0137daa0f93179e3daa45303d8b610f | 5 | SHA512 (libcdio-2.1.0.tar.bz2) = c290821da55fd9ae366670a58857aa6efcebc9f25b7caea063cf12f9cbda84fe770c5f59f972227fda50517ca58c5f39c0137daa0f93179e3daa45303d8b610f | |
6 | Size (libcdio-2.1.0.tar.bz2) = 1759040 bytes | 6 | Size (libcdio-2.1.0.tar.bz2) = 1759040 bytes | |
7 | SHA1 (patch-aa) = 8e70ee2840c19da3efc0c47dfa9f7ea400a1ec2e | 7 | SHA1 (patch-configure) = ef72517e444df4834608d152f5e9ce625297d64e | |
8 | SHA1 (patch-ab) = 73bd86ecfa0c728eab231bce36317ab7f616fa4c | 8 | SHA1 (patch-include_cdio++_iso9660.hpp) = 73bd86ecfa0c728eab231bce36317ab7f616fa4c | |
9 | SHA1 (patch-lib_driver_logging.c) = ec74ea317c82737954eb0d66e64810487ed1f222 |
$NetBSD: patch-configure,v 1.1 2019/04/29 17:22:04 adam Exp $
cdda-player works fine on NetBSD.
--- configure.orig 2019-04-29 15:14:42.000000000 +0000
+++ configure
@@ -18229,7 +18229,6 @@ $as_echo "#define HAVE_NETBSD_CDROM 1" >
# LIBS="$LIBS -lcam"
cd_drivers="${cd_drivers}, NetBSD "
- enable_cdda_player="no"
;;
os2*)
$NetBSD: patch-include_cdio++_iso9660.hpp,v 1.1 2019/04/29 17:22:04 adam Exp $
Work around namespace pollution on OpenSolaris (PR 43638, Aleksey Cheusov)
--- include/cdio++/iso9660.hpp.orig 2008-11-29 04:52:43.000000000 +0000
+++ include/cdio++/iso9660.hpp
@@ -33,6 +33,10 @@
#include <cstring>
using namespace std;
+#ifdef FS
+#undef FS
+#endif
+
/** ISO 9660 class.
*/
class ISO9660
$NetBSD: patch-lib_driver_logging.c,v 1.1 2019/04/29 17:22:04 adam Exp $
Do not exit() on error.
--- lib/driver/logging.c.orig 2018-08-12 16:33:48.000000000 +0000
+++ lib/driver/logging.c
@@ -49,7 +49,6 @@ cdio_default_log_handler(cdio_log_level_
fprintf (stderr, "**ERROR: %s\n", message);
fflush (stderr);
}
- exit (EXIT_FAILURE);
break;
case CDIO_LOG_DEBUG:
if (level >= cdio_loglevel_default) {