/[gentoo-x86]/net-misc/modemmanager/files/modemmanager-0.5-glib-2.31.patch
Gentoo

Contents of /net-misc/modemmanager/files/modemmanager-0.5-glib-2.31.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu May 24 02:52:57 2012 UTC (3 years ago) by tetromino
Branch: MAIN
Fix building old versions against >=glib-2.31.

(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)

1 From 6406f9eb7042f63a38343412864b6a129be7fe75 Mon Sep 17 00:00:00 2001
2 From: Aleksander Morgado <aleksander@lanedo.com>
3 Date: Mon, 24 Oct 2011 21:09:11 +0200
4 Subject: [PATCH] core: don't include private headers from glib
5
6 The "glib/gtypes.h" is now considered private, and only "glib.h" should be
7 included directly.
8 ---
9 src/mm-at-serial-port.h | 1 -
10 src/mm-manager.h | 1 -
11 src/mm-modem-base.h | 1 -
12 src/mm-plugin-base.h | 1 -
13 src/mm-port.h | 1 -
14 src/mm-qcdm-serial-port.h | 1 -
15 src/mm-serial-port.h | 1 -
16 7 files changed, 0 insertions(+), 7 deletions(-)
17
18 diff --git a/src/mm-at-serial-port.h b/src/mm-at-serial-port.h
19 index 5d5f13f..cec5dc3 100644
20 --- a/src/mm-at-serial-port.h
21 +++ b/src/mm-at-serial-port.h
22 @@ -18,7 +18,6 @@
23 #define MM_AT_SERIAL_PORT_H
24
25 #include <glib.h>
26 -#include <glib/gtypes.h>
27 #include <glib-object.h>
28
29 #include "mm-serial-port.h"
30 diff --git a/src/mm-manager.h b/src/mm-manager.h
31 index 1c98458..c6a64bd 100644
32 --- a/src/mm-manager.h
33 +++ b/src/mm-manager.h
34 @@ -17,7 +17,6 @@
35 #ifndef MM_MANAGER_H
36 #define MM_MANAGER_H
37
38 -#include <glib/gtypes.h>
39 #include <glib-object.h>
40 #include <dbus/dbus-glib.h>
41 #include "mm-modem.h"
42 diff --git a/src/mm-modem-base.h b/src/mm-modem-base.h
43 index 0409957..d0cda3d 100644
44 --- a/src/mm-modem-base.h
45 +++ b/src/mm-modem-base.h
46 @@ -18,7 +18,6 @@
47 #define MM_MODEM_BASE_H
48
49 #include <glib.h>
50 -#include <glib/gtypes.h>
51 #include <glib-object.h>
52
53 #include "mm-port.h"
54 diff --git a/src/mm-plugin-base.h b/src/mm-plugin-base.h
55 index 799f681..e69ad17 100644
56 --- a/src/mm-plugin-base.h
57 +++ b/src/mm-plugin-base.h
58 @@ -17,7 +17,6 @@
59 #define MM_PLUGIN_BASE_H
60
61 #include <glib.h>
62 -#include <glib/gtypes.h>
63 #include <glib-object.h>
64
65 #define G_UDEV_API_IS_SUBJECT_TO_CHANGE
66 diff --git a/src/mm-port.h b/src/mm-port.h
67 index 4bcffd4..df935db 100644
68 --- a/src/mm-port.h
69 +++ b/src/mm-port.h
70 @@ -17,7 +17,6 @@
71 #define MM_PORT_H
72
73 #include <glib.h>
74 -#include <glib/gtypes.h>
75 #include <glib-object.h>
76
77 typedef enum {
78 diff --git a/src/mm-qcdm-serial-port.h b/src/mm-qcdm-serial-port.h
79 index 2786ee8..605016d 100644
80 --- a/src/mm-qcdm-serial-port.h
81 +++ b/src/mm-qcdm-serial-port.h
82 @@ -18,7 +18,6 @@
83 #define MM_QCDM_SERIAL_PORT_H
84
85 #include <glib.h>
86 -#include <glib/gtypes.h>
87 #include <glib-object.h>
88
89 #include "mm-serial-port.h"
90 diff --git a/src/mm-serial-port.h b/src/mm-serial-port.h
91 index ae38017..f988af3 100644
92 --- a/src/mm-serial-port.h
93 +++ b/src/mm-serial-port.h
94 @@ -18,7 +18,6 @@
95 #define MM_SERIAL_PORT_H
96
97 #include <glib.h>
98 -#include <glib/gtypes.h>
99 #include <glib-object.h>
100
101 #include "mm-port.h"
102 --
103 1.7.8.6

  ViewVC Help
Powered by ViewVC 1.1.20