Monday, October 29, 2018

devel/sdl2 (was: Re: CVS: cvs.openbsd.org: ports)

On Mon, Oct 29, 2018 at 01:44:39PM +0000, tfrohwein@fastmail.com wrote:
> On October 29, 2018 1:09:57 PM UTC, Antoine Jacoutot <ajacoutot@bsdfrog.org> wrote:
> >On Sun, Oct 28, 2018 at 11:39:49PM -0600, Thomas Frohwein wrote:
> >> Change BOOL type to Bool, fixing macppc (and likely other big-endian
> >arches),
> >> from George Koehler (kernigh () gmail DOT com), ok kirby@, jca@.
> >> Update maintainer email while here.
> >
> >Doesn't patch...
[...]
> I'm sorry, formatting must have gotten messed up along the way.
> I should have checked again before committing. I will make a
> working one after work tonight.

Treiling whitespace is evil, except when it isn't (in patch files).
I don't want to steal commits, so I'll keep it in my tree for now.

Index: patches/patch-src_video_x11_SDL_x11keyboard_c
===================================================================
RCS file: /cvs/ports/devel/sdl2/patches/patch-src_video_x11_SDL_x11keyboard_c,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_video_x11_SDL_x11keyboard_c
--- patches/patch-src_video_x11_SDL_x11keyboard_c 29 Oct 2018 05:39:49 -0000 1.1
+++ patches/patch-src_video_x11_SDL_x11keyboard_c 29 Oct 2018 22:36:56 -0000
@@ -13,6 +13,6 @@ Index: src/video/x11/SDL_x11keyboard.c
int distance;
- BOOL xkb_repeat = 0;
+ Bool xkb_repeat = 0;
-
+
X11_XAutoRepeatOn(data->display);
-
+

No comments:

Post a Comment