]> git.nihav.org Git - nihav-player.git/blobdiff - sdl-patches/0002-remove-obsolete-directives.patch
move experimental code to old/
[nihav-player.git] / sdl-patches / 0002-remove-obsolete-directives.patch
diff --git a/sdl-patches/0002-remove-obsolete-directives.patch b/sdl-patches/0002-remove-obsolete-directives.patch
deleted file mode 100644 (file)
index 44c28e9..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-From 03cecd007d1b5688af83f0c2dfcc0d94f04044a2 Mon Sep 17 00:00:00 2001
-From: Kostya Shishkov <kostya.shishkov@gmail.com>
-Date: Fri, 22 Nov 2019 17:49:15 +0100
-Subject: [PATCH 2/4] remove obsolete directives
-
----
- src/sdl/lib.rs   |    2 --
- src/sdl/video.rs |    1 -
- 2 files changed, 3 deletions(-)
-
-diff --git a/src/sdl/lib.rs b/src/sdl/lib.rs
-index 0f2a910..111ccb2 100644
---- a/src/sdl/lib.rs
-+++ b/src/sdl/lib.rs
-@@ -1,5 +1,3 @@
--#![allow(raw_pointer_derive)]
--
- extern crate libc;
- pub use sdl::*;
-diff --git a/src/sdl/video.rs b/src/sdl/video.rs
-index 64084f8..710a1d6 100644
---- a/src/sdl/video.rs
-+++ b/src/sdl/video.rs
-@@ -204,7 +204,6 @@ impl Drop for Surface {
-     }
- }
--#[allow(raw_pointer_derive)]
- #[derive(PartialEq, Copy, Clone)]
- pub struct Palette {
-     pub raw: *mut ll::SDL_Palette
--- 
-1.7.9.5
-