X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=pkgsrc-cinelerra-cv.git;a=blobdiff_plain;f=patches%2Fpatch-cdripper_h;h=fe3a33494e758fc2afe1e7ff52e924ada163a213;hp=8b457a7825ba59ea1fd2de341693fd0a13460890;hb=87c2356b882501ea29759f4b90c03993c51c3c73;hpb=eb36dc125c0fbb36e7b01e18a64f8b1eed4bd8b2 diff --git a/patches/patch-cdripper_h b/patches/patch-cdripper_h index 8b457a7..fe3a334 100644 --- a/patches/patch-cdripper_h +++ b/patches/patch-cdripper_h @@ -1,13 +1,25 @@ $NetBSD$ ---- plugins/cdripper/cdripper.h.orig 2010-01-29 08:54:10.000000000 +0000 +--- plugins/cdripper/cdripper.h.orig 2010-02-01 08:26:23.000000000 +0000 +++ plugins/cdripper/cdripper.h -@@ -24,8 +24,6 @@ +@@ -24,7 +24,9 @@ #include "pluginaclient.h" -#include -- ++#if defined(HAVE_LINUX_CDROM_H) ++# include ++#endif + #define NFRAMES 2 #define FRAMESIZE 2352 +@@ -58,7 +60,9 @@ public: + int close_drive(); + // Current state of process_loop ++#if defined(HAVE_LINUX_CDROM_H) + struct cdrom_read_audio arg; ++#endif + int FRAME; // 2 bytes 2 channels + int previewing; // defeat bug in hardware + int64_t fragment_length;