shithub: libdvdcss

Download patch

ref: 33e1fe0bac871b3edb9e40291460cc1ab6bf50b1
parent: 8bb2cde6c72247d91309d5c387751329992f96e9
author: Jon Lech Johansen <jlj@videolan.org>
date: Wed Nov 13 20:32:37 EST 2002

* ./src/ioctl.c: Broke OpenBSD port with my previous commit. Fixed.


--- a/src/ioctl.c
+++ b/src/ioctl.c
@@ -2,7 +2,7 @@
  * ioctl.c: DVD ioctl replacement function
  *****************************************************************************
  * Copyright (C) 1999-2001 VideoLAN
- * $Id: ioctl.c,v 1.17 2002/11/13 22:45:05 jlj Exp $
+ * $Id: ioctl.c,v 1.18 2002/11/14 01:32:37 jlj Exp $
  *
  * Authors: Markus Kuespert <ltlBeBoy@beosmail.com>
  *          Samuel Hocevar <sam@zoy.org>
@@ -1585,6 +1585,10 @@
     *p_type = auth_info.lrpcs.type;
     *p_mask = auth_info.lrpcs.region_mask;
     *p_scheme = auth_info.lrpcs.rpc_scheme;
+
+#elif defined( HAVE_LINUX_DVD_STRUCT )
+    /* FIXME: OpenBSD doesn't know this */
+    i_ret = -1;
 
 #elif defined( HAVE_BSD_DVD_STRUCT )
     struct dvd_authinfo auth_info;