]> gitweb @ CieloNegro.org - pkgsrc-cinelerra-cv.git/blobdiff - patches/patch-cdripper_h
shmmax patch
[pkgsrc-cinelerra-cv.git] / patches / patch-cdripper_h
index 8b457a7825ba59ea1fd2de341693fd0a13460890..fe3a33494e758fc2afe1e7ff52e924ada163a213 100644 (file)
@@ -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 <linux/cdrom.h>
--
++#if defined(HAVE_LINUX_CDROM_H)
++#  include <linux/cdrom.h>
++#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;