public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-libs/libmirage/files: libmirage-2.1.0-DISABLE_DEPRECATED.patch
@ 2013-06-17  4:17 Alexandre Rostovtsev (tetromino)
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Rostovtsev (tetromino) @ 2013-06-17  4:17 UTC (permalink / raw
  To: gentoo-commits

tetromino    13/06/17 04:17:57

  Added:                libmirage-2.1.0-DISABLE_DEPRECATED.patch
  Log:
  Version bump, adds support for hard disk images and Apple .SMI (NDIF) images (bug #472784, thanks to Henrik Stokseth and Rafał Mużyło).
  
  (Portage version: 2.2.0_alpha180/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)

Revision  Changes    Path
1.1                  dev-libs/libmirage/files/libmirage-2.1.0-DISABLE_DEPRECATED.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libmirage/files/libmirage-2.1.0-DISABLE_DEPRECATED.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libmirage/files/libmirage-2.1.0-DISABLE_DEPRECATED.patch?rev=1.1&content-type=text/plain

Index: libmirage-2.1.0-DISABLE_DEPRECATED.patch
===================================================================
From 0d9ce2618014c41b5aefce8355af95b0d1119d85 Mon Sep 17 00:00:00 2001
From: Henrik Stokseth <hstokset@users.sourceforge.net>
Date: Mon, 10 Jun 2013 03:42:49 +0200
Subject: [PATCH] All: Stop defining G_DISABLE_DEPRECATED.

Defining G_DISABLE_DEPRECATED is a bad idea. For one it means deprecated
functions etc. is effectively removed by the preprocessor. This breaks
compilation on certain setups (read: Launchpad compiler farm), since
the functions are not declared and therefore you get warnings about
the calls being implicit. And on setups that compiles the code, the
resulting code might result in undefined behaviour, in particular on
64-bit platforms.

Note that on supported compilers such as GCC, you will still get warnings
about calling deprecated functions without this define in place.
---
 libmirage/CMakeLists.txt      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libmirage/CMakeLists.txt b/libmirage/CMakeLists.txt
index 6d33b40..c5a8728 100644
--- a/libmirage/CMakeLists.txt
+++ b/libmirage/CMakeLists.txt
@@ -84,7 +84,7 @@ configure_file (
 
 # Global definitions
 add_definitions (-std=c99) # We're compiling using C99
-add_definitions (-DHAVE_CONFIG_H -DG_DISABLE_DEPRECATED)
+add_definitions (-DHAVE_CONFIG_H)
 
 if (CMAKE_COMPILER_IS_GNUCC)
     add_definitions (-Wall -Wextra -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align)
-- 
1.8.2.1






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-libs/libmirage/files: libmirage-2.1.0-DISABLE_DEPRECATED.patch
@ 2015-02-21 22:55 Alexandre Rostovtsev (tetromino)
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Rostovtsev (tetromino) @ 2015-02-21 22:55 UTC (permalink / raw
  To: gentoo-commits

tetromino    15/02/21 22:55:05

  Removed:              libmirage-2.1.0-DISABLE_DEPRECATED.patch
  Log:
  Version bump, adds image writing (bug #518590, thanks to Rafał Mużyło). Punt old.
  
  (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0x18E5B6F2D8D5EC8D)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-21 22:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-17  4:17 [gentoo-commits] gentoo-x86 commit in dev-libs/libmirage/files: libmirage-2.1.0-DISABLE_DEPRECATED.patch Alexandre Rostovtsev (tetromino)
  -- strict thread matches above, loose matches on Subject: below --
2015-02-21 22:55 Alexandre Rostovtsev (tetromino)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox