[packages/xorg-app-editres] - updated to 1.0.7 - updated format patch
qboosh
qboosh at pld-linux.org
Thu Mar 15 20:47:58 CET 2018
commit 3b4055219044cb321e246699a4bdf7f2c95a2e84
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Mar 15 20:50:42 2018 +0100
- updated to 1.0.7
- updated format patch
xorg-app-editres-format.patch | 42 +++++++++++++++++++++---------------------
xorg-app-editres.spec | 15 ++++++++-------
2 files changed, 29 insertions(+), 28 deletions(-)
---
diff --git a/xorg-app-editres.spec b/xorg-app-editres.spec
index cbe1409..78f587a 100644
--- a/xorg-app-editres.spec
+++ b/xorg-app-editres.spec
@@ -1,22 +1,23 @@
Summary: editres application - dynamic resource editor for X Toolkit applications
Summary(pl.UTF-8): Aplikacja editres - edytor dynamicznych zasobów dla aplikacji Xt
Name: xorg-app-editres
-Version: 1.0.6
-Release: 2
+Version: 1.0.7
+Release: 1
License: MIT
Group: X11/Applications
-Source0: http://xorg.freedesktop.org/releases/individual/app/editres-%{version}.tar.bz2
-# Source0-md5: 623322610e4040393e0ff2a69e6612cd
+Source0: https://xorg.freedesktop.org/releases/individual/app/editres-%{version}.tar.bz2
+# Source0-md5: 526cf79edc0c5e379aefb21539243f96
Patch0: %{name}-format.patch
-URL: http://xorg.freedesktop.org/
+URL: https://xorg.freedesktop.org/
BuildRequires: autoconf >= 2.60
BuildRequires: automake
BuildRequires: pkgconfig >= 1:0.19
BuildRequires: xorg-lib-libXaw-devel
BuildRequires: xorg-lib-libXmu-devel
-BuildRequires: xorg-lib-libXt-devel >= 1.0.0
+BuildRequires: xorg-lib-libXt-devel >= 1.0.99.1
+BuildRequires: xorg-proto-xproto-devel >= 7.0.17
BuildRequires: xorg-util-util-macros >= 1.8
-Requires: xorg-lib-libXt >= 1.0.0
+Requires: xorg-lib-libXt >= 1.0.99.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
diff --git a/xorg-app-editres-format.patch b/xorg-app-editres-format.patch
index 2b7a281..36caa17 100644
--- a/xorg-app-editres-format.patch
+++ b/xorg-app-editres-format.patch
@@ -1,42 +1,42 @@
---- editres-1.0.6/geometry.c.orig 2013-01-13 01:05:30.000000000 +0100
-+++ editres-1.0.6/geometry.c 2013-01-15 19:21:30.973960183 +0100
-@@ -63,7 +63,7 @@ _FindWidget(Widget w)
+--- editres-1.0.7/geometry.c.orig 2018-03-15 20:38:33.578823819 +0100
++++ editres-1.0.7/geometry.c 2018-03-15 20:45:03.065486046 +0100
+@@ -63,7 +63,7 @@
Window win;
int x, y; /* location of event in root coordinates. */
-- sprintf(msg, res_labels[14]);
-+ snprintf(msg, BUFSIZ, "%s", res_labels[14]);
+- snprintf(msg, sizeof(msg), res_labels[14]);
++ snprintf(msg, sizeof(msg), "%s", res_labels[14]);
SetMessage(global_screen_data.info_label, msg);
-@@ -103,7 +103,7 @@ DisplayChild(Event *event)
+@@ -103,7 +103,7 @@
find_event->widgets.num_widgets);
if (node == NULL) {
-- sprintf(msg, res_labels[13]);
-+ snprintf(msg, BUFSIZ, "%s", res_labels[13]);
+- snprintf(msg, sizeof(msg), res_labels[13]);
++ snprintf(msg, sizeof(msg), "%s", res_labels[13]);
SetMessage(global_screen_data.info_label, msg);
- return;
+ return;
}
---- editres-1.0.6/svpopup.c.orig 2013-01-13 01:05:30.000000000 +0100
-+++ editres-1.0.6/svpopup.c 2013-01-15 19:24:45.332921442 +0100
-@@ -127,7 +127,7 @@ ModifySVEntry(Widget w, XEvent *event, S
+--- editres-1.0.7/svpopup.c.orig 2018-03-15 20:38:33.578823819 +0100
++++ editres-1.0.7/svpopup.c 2018-03-15 20:45:25.268819111 +0100
+@@ -127,7 +127,7 @@
old = global_screen_data.res_text;
break;
default:
-- sprintf(msg, res_labels[22]);
-+ snprintf(msg, BUFSIZ, "%s", res_labels[22]);
+- snprintf(msg, sizeof(msg), res_labels[22]);
++ snprintf(msg, sizeof(msg), "%s", res_labels[22]);
SetMessage(global_screen_data.info_label, msg);
return;
}
---- editres-1.0.6/utils.c.orig 2013-01-13 01:05:30.000000000 +0100
-+++ editres-1.0.6/utils.c 2013-01-15 19:25:25.208093290 +0100
-@@ -518,7 +518,7 @@ HandleGetResources(Event *event)
+--- editres-1.0.7/utils.c.orig 2018-03-15 20:38:33.578823819 +0100
++++ editres-1.0.7/utils.c 2018-03-15 20:45:53.745485464 +0100
+@@ -518,7 +518,7 @@
get_event->info[i].widgets.num_widgets);
if (node == NULL) {
-- sprintf(buf, res_labels[16]);
-+ snprintf(buf, BUFSIZ, "%s", res_labels[16]);
- AddString(&errors, buf);
- continue;
+- snprintf(buf, sizeof(buf), res_labels[16]);
++ snprintf(buf, sizeof(buf), "%s", res_labels[16]);
+ AddString(&errors, buf);
+ continue;
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xorg-app-editres.git/commitdiff/3b4055219044cb321e246699a4bdf7f2c95a2e84
More information about the pld-cvs-commit
mailing list