diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2022-08-07 07:29:27 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2022-08-07 07:29:27 +0000 |
commit | 1603ae4c3eebef31ae146d65fcce56c15f44bd74 (patch) | |
tree | 5cc1af8b874fe7941513f843e8227c5e4e6991b5 /lib/libxcvt | |
parent | f4fc163c567e66cf0ace3c6ba0d62907456b3cca (diff) |
Update libxcvt to version 0.1.2.
This release fixes a regression with mode 1360x768.
Diffstat (limited to 'lib/libxcvt')
-rw-r--r-- | lib/libxcvt/Makefile | 4 | ||||
-rw-r--r-- | lib/libxcvt/lib/libxcvt.c | 3 | ||||
-rw-r--r-- | lib/libxcvt/lib/meson.build | 1 | ||||
-rw-r--r-- | lib/libxcvt/meson.build | 2 |
4 files changed, 6 insertions, 4 deletions
diff --git a/lib/libxcvt/Makefile b/lib/libxcvt/Makefile index d9f2e8db4..fe380b82c 100644 --- a/lib/libxcvt/Makefile +++ b/lib/libxcvt/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.2 2021/10/27 16:24:02 matthieu Exp $ +# $OpenBSD: Makefile,v 1.3 2022/08/07 07:29:26 matthieu Exp $ SUBDIR= lib cvt INCS= libxcvt.h libxcvt_mode.h -PACKAGE_VERSION= 0.1.1 +PACKAGE_VERSION= 0.1.2 PKGCONFIG= libxcvt.pc obj: _xenocara_obj diff --git a/lib/libxcvt/lib/libxcvt.c b/lib/libxcvt/lib/libxcvt.c index 886581306..51a61e778 100644 --- a/lib/libxcvt/lib/libxcvt.c +++ b/lib/libxcvt/lib/libxcvt.c @@ -292,7 +292,8 @@ libxcvt_gen_mode_info(int hdisplay, int vdisplay, float vrefresh, bool reduced, mode_info->mode_flags |= LIBXCVT_MODE_FLAG_INTERLACE; /* FWXGA hack adapted from hw/xfree86/modes/xf86EdidModes.c, because you can't say 1366 */ - if (mode_info->hdisplay == 1366 && mode_info->vdisplay == 768) { + if (mode_info->hdisplay == 1360 && mode_info->vdisplay == 768) { + mode_info->hdisplay = 1366; mode_info->hsync_start--; mode_info->hsync_end--; } diff --git a/lib/libxcvt/lib/meson.build b/lib/libxcvt/lib/meson.build index b3ff615c6..5d8d5150b 100644 --- a/lib/libxcvt/lib/meson.build +++ b/lib/libxcvt/lib/meson.build @@ -3,4 +3,5 @@ libxcvt = shared_library('xcvt', libxcvt_sources, include_directories : inc, version: meson.project_version(), + darwin_versions : ['1.0.0', '1.0.0' ], install : true) diff --git a/lib/libxcvt/meson.build b/lib/libxcvt/meson.build index b5b657f55..717348a51 100644 --- a/lib/libxcvt/meson.build +++ b/lib/libxcvt/meson.build @@ -1,5 +1,5 @@ project('libxcvt', 'c', - version: '0.1.1', + version: '0.1.2', meson_version: '>= 0.40.0', default_options: ['warning_level=1', 'buildtype=debugoptimized']) |