summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2008-05-22 13:18:55 +0000
committerdrochner <drochner@pkgsrc.org>2008-05-22 13:18:55 +0000
commit7e4ca7754652d66d3e74c651322352cca63e664a (patch)
tree5c2ebf4b2d32251f8855b3433202a19954f6f6fc
parent0dc2f59b32c8f2861c2a93f5b4bfb1a2fc31299d (diff)
downloadpkgsrc-7e4ca7754652d66d3e74c651322352cca63e664a.tar.gz
fix build on DragonFly / FreeBSD, from Hasso Tepper per PR pkg/38627
-rw-r--r--misc/libcdio/distinfo3
-rw-r--r--misc/libcdio/patches/patch-ad13
2 files changed, 15 insertions, 1 deletions
diff --git a/misc/libcdio/distinfo b/misc/libcdio/distinfo
index e63011bf728..6f55b419385 100644
--- a/misc/libcdio/distinfo
+++ b/misc/libcdio/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2008/04/18 14:58:32 tron Exp $
+$NetBSD: distinfo,v 1.17 2008/05/22 13:18:55 drochner Exp $
SHA1 (libcdio-0.80.tar.gz) = 40c1558a65a9eca2b693d1951ed2664efbe7d1ed
RMD160 (libcdio-0.80.tar.gz) = 3ca404bffb107ad950505b8ccd9e659e306545cb
@@ -6,3 +6,4 @@ Size (libcdio-0.80.tar.gz) = 2083287 bytes
SHA1 (patch-aa) = 8e70ee2840c19da3efc0c47dfa9f7ea400a1ec2e
SHA1 (patch-ab) = a2bcb4fec5acf46ede7386287dec3d0d4aa0d81e
SHA1 (patch-ac) = 7932908d34f8d1cc7946bce6a6d61d5036d102d6
+SHA1 (patch-ad) = c675f7413a672cb7b37c073b01d43339467e636c
diff --git a/misc/libcdio/patches/patch-ad b/misc/libcdio/patches/patch-ad
new file mode 100644
index 00000000000..2a91bfd18d8
--- /dev/null
+++ b/misc/libcdio/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2008/05/22 13:18:55 drochner Exp $
+
+--- lib/driver/FreeBSD/freebsd.h.orig 2007-12-28 02:01:06.000000000 +0100
++++ lib/driver/FreeBSD/freebsd.h
+@@ -158,7 +158,7 @@ void get_drive_cap_freebsd_cam (const _i
+ cdio_drive_write_cap_t *p_write_cap,
+ cdio_drive_misc_cap_t *p_misc_cap);
+
+-int get_media_changed_freebsd (const void *p_user_data);
++static int get_media_changed_freebsd (const void *p_user_data);
+
+ char *get_mcn_freebsd_ioctl (const _img_private_t *p_env);
+