44c28e9c688169114c7730da2c7d12ee0ec7f521
[nihav-player.git] / sdl-patches / 0002-remove-obsolete-directives.patch
1 From 03cecd007d1b5688af83f0c2dfcc0d94f04044a2 Mon Sep 17 00:00:00 2001
2 From: Kostya Shishkov <kostya.shishkov@gmail.com>
3 Date: Fri, 22 Nov 2019 17:49:15 +0100
4 Subject: [PATCH 2/4] remove obsolete directives
5
6 ---
7 src/sdl/lib.rs | 2 --
8 src/sdl/video.rs | 1 -
9 2 files changed, 3 deletions(-)
10
11 diff --git a/src/sdl/lib.rs b/src/sdl/lib.rs
12 index 0f2a910..111ccb2 100644
13 --- a/src/sdl/lib.rs
14 +++ b/src/sdl/lib.rs
15 @@ -1,5 +1,3 @@
16 -#![allow(raw_pointer_derive)]
17 -
18 extern crate libc;
19
20 pub use sdl::*;
21 diff --git a/src/sdl/video.rs b/src/sdl/video.rs
22 index 64084f8..710a1d6 100644
23 --- a/src/sdl/video.rs
24 +++ b/src/sdl/video.rs
25 @@ -204,7 +204,6 @@ impl Drop for Surface {
26 }
27 }
28
29 -#[allow(raw_pointer_derive)]
30 #[derive(PartialEq, Copy, Clone)]
31 pub struct Palette {
32 pub raw: *mut ll::SDL_Palette
33 --
34 1.7.9.5
35