libXt/U_libXt_code-cleanup.patch
Stefan Dirsch e554eb4d12 Accepting request 544363 from home:Zaitor:branches:X11:XOrg
- Add U_libXt_code-cleanup.patch: Get rid of some extraneous ; at
  the end of C source lines.
- Drop unneeded autoconf, automake and libtool BuildRequires.

OBS-URL: https://build.opensuse.org/request/show/544363
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXt?expand=0&rev=14
2017-11-22 15:26:18 +00:00

54 lines
1.9 KiB
Diff

From e8e2560e3391fa9c240235207a909855bfa7c73f Mon Sep 17 00:00:00 2001
From: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sun, 27 Sep 2015 18:54:57 -0700
Subject: Get rid of some extraneous ; at the end of C source lines
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
diff --git a/src/Geometry.c b/src/Geometry.c
index d64c8e2..66571be 100644
--- a/src/Geometry.c
+++ b/src/Geometry.c
@@ -456,7 +456,7 @@ _XtMakeGeometryRequest (
ClearRectObjAreas((RectObj)widget, &req.changes);
}
- hookobj = XtHooksOfDisplay(XtDisplayOfObject(widget));;
+ hookobj = XtHooksOfDisplay(XtDisplayOfObject(widget));
if (XtHasCallbacks(hookobj, XtNconfigureHook) == XtCallbackHasSome) {
req.type = XtHconfigure;
req.widget = widget;
@@ -573,7 +573,7 @@ void XtResizeWindow(
req.changeMask = CWWidth | CWHeight | CWBorderWidth;
XConfigureWindow(XtDisplay(w), XtWindow(w),
(unsigned) req.changeMask, &req.changes);
- hookobj = XtHooksOfDisplay(XtDisplayOfObject(w));;
+ hookobj = XtHooksOfDisplay(XtDisplayOfObject(w));
if (XtHasCallbacks(hookobj, XtNconfigureHook) == XtCallbackHasSome) {
req.type = XtHconfigure;
req.widget = w;
@@ -661,7 +661,7 @@ void XtConfigureWidget(
ClearRectObjAreas((RectObj)w, &old);
}
}
- hookobj = XtHooksOfDisplay(XtDisplayOfObject(w));;
+ hookobj = XtHooksOfDisplay(XtDisplayOfObject(w));
if (XtHasCallbacks(hookobj, XtNconfigureHook) == XtCallbackHasSome) {
req.type = XtHconfigure;
req.widget = w;
diff --git a/src/TMstate.c b/src/TMstate.c
index 4a634b4..3d51a1a 100644
--- a/src/TMstate.c
+++ b/src/TMstate.c
@@ -382,7 +382,7 @@ TMShortCard _XtGetModifierIndex(
j = 0;
}
modMatch = &segment[j];
- modMatch->modifiers = event->modifiers;;
+ modMatch->modifiers = event->modifiers;
modMatch->modifierMask = event->modifierMask;
modMatch->standard = event->standard;
/*
--
cgit v0.10.2