format patches
This commit is contained in:
parent
6727c8f0c3
commit
06b0bf71c1
|
@ -1,15 +1,22 @@
|
|||
From 03526f8d95910c207170391c1b6594905a71e4e9 Mon Sep 17 00:00:00 2001
|
||||
From: Stef Walter <stefw@collabora.co.uk>
|
||||
Date: Tue, 14 Jun 2011 11:33:45 +0000
|
||||
Subject: Remove G_CONST_RETURN usage, now that its gone in glib.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=652545
|
||||
---
|
||||
Index: libunique/unique/uniqueapp.c
|
||||
===================================================================
|
||||
--- libunique.orig/unique/uniqueapp.c 2009-11-01 19:33:13.000000000 +0100
|
||||
+++ libunique/unique/uniqueapp.c 2011-11-17 11:34:02.799752362 +0100
|
||||
@@ -781,7 +781,7 @@
|
||||
unique/uniqueapp.c | 4 ++--
|
||||
unique/uniquebackend.c | 4 ++--
|
||||
unique/uniquebackend.h | 4 ++--
|
||||
unique/uniqueinternals.h | 4 ++--
|
||||
unique/uniquemessage.c | 4 ++--
|
||||
unique/uniquemessage.h | 4 ++--
|
||||
6 files changed, 12 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/unique/uniqueapp.c b/unique/uniqueapp.c
|
||||
index b40a86c..e8edc94 100644
|
||||
--- a/unique/uniqueapp.c
|
||||
+++ b/unique/uniqueapp.c
|
||||
@@ -781,7 +781,7 @@ unique_app_watch_window (UniqueApp *app,
|
||||
}
|
||||
|
||||
|
||||
|
@ -18,7 +25,7 @@ Index: libunique/unique/uniqueapp.c
|
|||
unique_command_to_string (UniqueApp *app,
|
||||
gint command)
|
||||
{
|
||||
@@ -863,7 +863,7 @@
|
||||
@@ -863,7 +863,7 @@ unique_command_from_string (UniqueApp *app,
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
@ -27,11 +34,11 @@ Index: libunique/unique/uniqueapp.c
|
|||
unique_response_to_string (UniqueResponse response)
|
||||
{
|
||||
GEnumClass *enum_class;
|
||||
Index: libunique/unique/uniquebackend.c
|
||||
===================================================================
|
||||
--- libunique.orig/unique/uniquebackend.c 2009-11-09 12:02:06.000000000 +0100
|
||||
+++ libunique/unique/uniquebackend.c 2011-11-17 11:34:02.799752362 +0100
|
||||
@@ -111,7 +111,7 @@
|
||||
diff --git a/unique/uniquebackend.c b/unique/uniquebackend.c
|
||||
index 18a0c45..6a9500a 100644
|
||||
--- a/unique/uniquebackend.c
|
||||
+++ b/unique/uniquebackend.c
|
||||
@@ -111,7 +111,7 @@ unique_backend_set_name (UniqueBackend *backend,
|
||||
*
|
||||
* Return value: FIXME
|
||||
*/
|
||||
|
@ -40,7 +47,7 @@ Index: libunique/unique/uniquebackend.c
|
|||
unique_backend_get_name (UniqueBackend *backend)
|
||||
{
|
||||
g_return_val_if_fail (UNIQUE_IS_BACKEND (backend), NULL);
|
||||
@@ -154,7 +154,7 @@
|
||||
@@ -154,7 +154,7 @@ unique_backend_set_startup_id (UniqueBackend *backend,
|
||||
*
|
||||
* Return value: FIXME
|
||||
*/
|
||||
|
@ -49,11 +56,11 @@ Index: libunique/unique/uniquebackend.c
|
|||
unique_backend_get_startup_id (UniqueBackend *backend)
|
||||
{
|
||||
g_return_val_if_fail (UNIQUE_IS_BACKEND (backend), NULL);
|
||||
Index: libunique/unique/uniquebackend.h
|
||||
===================================================================
|
||||
--- libunique.orig/unique/uniquebackend.h 2009-09-21 14:31:14.000000000 +0200
|
||||
+++ libunique/unique/uniquebackend.h 2011-11-17 11:34:02.799752362 +0100
|
||||
@@ -94,10 +94,10 @@
|
||||
diff --git a/unique/uniquebackend.h b/unique/uniquebackend.h
|
||||
index a50ce4e..b19ad3e 100644
|
||||
--- a/unique/uniquebackend.h
|
||||
+++ b/unique/uniquebackend.h
|
||||
@@ -94,10 +94,10 @@ GType unique_backend_get_type (void) G_GNUC_CONST;
|
||||
|
||||
UniqueBackend * unique_backend_create (void);
|
||||
|
||||
|
@ -66,11 +73,11 @@ Index: libunique/unique/uniquebackend.h
|
|||
void unique_backend_set_startup_id (UniqueBackend *backend,
|
||||
const gchar *startup_id);
|
||||
GdkScreen * unique_backend_get_screen (UniqueBackend *backend);
|
||||
Index: libunique/unique/uniqueinternals.h
|
||||
===================================================================
|
||||
--- libunique.orig/unique/uniqueinternals.h 2009-09-21 14:31:14.000000000 +0200
|
||||
+++ libunique/unique/uniqueinternals.h 2011-11-17 11:34:02.799752362 +0100
|
||||
@@ -44,11 +44,11 @@
|
||||
diff --git a/unique/uniqueinternals.h b/unique/uniqueinternals.h
|
||||
index ace40ed..be5d75d 100644
|
||||
--- a/unique/uniqueinternals.h
|
||||
+++ b/unique/uniqueinternals.h
|
||||
@@ -44,11 +44,11 @@ UniqueResponse unique_app_emit_message_received (UniqueApp *app,
|
||||
* and then back into an id
|
||||
*/
|
||||
UniqueResponse unique_response_from_string (const gchar *response);
|
||||
|
@ -84,11 +91,11 @@ Index: libunique/unique/uniqueinternals.h
|
|||
gint command);
|
||||
|
||||
G_END_DECLS
|
||||
Index: libunique/unique/uniquemessage.c
|
||||
===================================================================
|
||||
--- libunique.orig/unique/uniquemessage.c 2009-11-09 12:02:06.000000000 +0100
|
||||
+++ libunique/unique/uniquemessage.c 2011-11-17 11:34:02.799752362 +0100
|
||||
@@ -185,7 +185,7 @@
|
||||
diff --git a/unique/uniquemessage.c b/unique/uniquemessage.c
|
||||
index 10f6df5..b13be7f 100644
|
||||
--- a/unique/uniquemessage.c
|
||||
+++ b/unique/uniquemessage.c
|
||||
@@ -185,7 +185,7 @@ unique_message_data_set (UniqueMessageData *message_data,
|
||||
*
|
||||
* Since: 1.0.2
|
||||
*/
|
||||
|
@ -97,7 +104,7 @@ Index: libunique/unique/uniquemessage.c
|
|||
unique_message_data_get (UniqueMessageData *message_data,
|
||||
gsize *length)
|
||||
{
|
||||
@@ -525,7 +525,7 @@
|
||||
@@ -525,7 +525,7 @@ unique_message_data_get_screen (UniqueMessageData *message_data)
|
||||
* owned by the #UniqueMessageData structure and should not be
|
||||
* modified or freed
|
||||
*/
|
||||
|
@ -106,11 +113,11 @@ Index: libunique/unique/uniquemessage.c
|
|||
unique_message_data_get_startup_id (UniqueMessageData *message_data)
|
||||
{
|
||||
g_return_val_if_fail (message_data != NULL, NULL);
|
||||
Index: libunique/unique/uniquemessage.h
|
||||
===================================================================
|
||||
--- libunique.orig/unique/uniquemessage.h 2009-09-21 14:31:14.000000000 +0200
|
||||
+++ libunique/unique/uniquemessage.h 2011-11-17 11:34:27.659753565 +0100
|
||||
@@ -48,7 +48,7 @@
|
||||
diff --git a/unique/uniquemessage.h b/unique/uniquemessage.h
|
||||
index d3e9c3c..93eee21 100644
|
||||
--- a/unique/uniquemessage.h
|
||||
+++ b/unique/uniquemessage.h
|
||||
@@ -48,7 +48,7 @@ void unique_message_data_free (UniqueMessageData *me
|
||||
void unique_message_data_set (UniqueMessageData *message_data,
|
||||
const guchar *data,
|
||||
gsize length);
|
||||
|
@ -119,7 +126,7 @@ Index: libunique/unique/uniquemessage.h
|
|||
gsize *length);
|
||||
|
||||
gboolean unique_message_data_set_text (UniqueMessageData *message_data,
|
||||
@@ -63,7 +63,7 @@
|
||||
@@ -63,7 +63,7 @@ void unique_message_data_set_filename (UniqueMessageData *me
|
||||
gchar * unique_message_data_get_filename (UniqueMessageData *message_data);
|
||||
|
||||
GdkScreen * unique_message_data_get_screen (UniqueMessageData *message_data);
|
||||
|
|
|
@ -1,8 +1,18 @@
|
|||
Index: libunique-1.1.6/tests/test-unique.c
|
||||
From: Debian GNOME Maintainers
|
||||
<pkg-gnome-maintainers@lists.alioth.debian.org>
|
||||
Date: Sat, 14 May 2022 03:38:37 +0800
|
||||
Subject: _format-security
|
||||
|
||||
===================================================================
|
||||
--- libunique-1.1.6.orig/tests/test-unique.c 2009-09-21 14:31:14.000000000 +0200
|
||||
+++ libunique-1.1.6/tests/test-unique.c 2011-10-27 20:31:38.869186701 +0200
|
||||
@@ -82,9 +82,11 @@
|
||||
---
|
||||
tests/test-unique.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/tests/test-unique.c b/tests/test-unique.c
|
||||
index b7cde45..c9958c9 100644
|
||||
--- a/tests/test-unique.c
|
||||
+++ b/tests/test-unique.c
|
||||
@@ -82,9 +82,11 @@ app_message_cb (UniqueApp *app,
|
||||
GTK_DIALOG_DESTROY_WITH_PARENT,
|
||||
GTK_MESSAGE_INFO,
|
||||
GTK_BUTTONS_CLOSE,
|
||||
|
|
|
@ -1,8 +1,18 @@
|
|||
Index: libunique-1.1.6/ltmain.sh
|
||||
From: Debian GNOME Maintainers
|
||||
<pkg-gnome-maintainers@lists.alioth.debian.org>
|
||||
Date: Sat, 14 May 2022 03:38:37 +0800
|
||||
Subject: _ltmain_as-needed
|
||||
|
||||
===================================================================
|
||||
--- libunique-1.1.6.orig/ltmain.sh 2009-11-12 14:57:49.000000000 +0100
|
||||
+++ libunique-1.1.6/ltmain.sh 2011-10-27 20:25:26.369869652 +0200
|
||||
@@ -4716,6 +4716,11 @@
|
||||
---
|
||||
ltmain.sh | 14 ++++++++++++++
|
||||
1 file changed, 14 insertions(+)
|
||||
|
||||
diff --git a/ltmain.sh b/ltmain.sh
|
||||
index 6939dcc..ef9931e 100755
|
||||
--- a/ltmain.sh
|
||||
+++ b/ltmain.sh
|
||||
@@ -4716,6 +4716,11 @@ func_mode_link ()
|
||||
arg=$func_stripname_result
|
||||
;;
|
||||
|
||||
|
@ -14,7 +24,7 @@ Index: libunique-1.1.6/ltmain.sh
|
|||
-Wl,*)
|
||||
func_stripname '-Wl,' '' "$arg"
|
||||
args=$func_stripname_result
|
||||
@@ -5067,6 +5072,15 @@
|
||||
@@ -5067,6 +5072,15 @@ func_mode_link ()
|
||||
lib=
|
||||
found=no
|
||||
case $deplib in
|
||||
|
|
Loading…
Reference in New Issue