simon-git: putty (pre-0.78): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Mon Sep 19 11:47:53 BST 2022


TL;DR:
  ae2c0d40 setpgrp cmake check: use #if, not #if defined.
  864b4c27 Use GTK_LDFLAGS when testing for Pango.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: pre-0.78
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2022-09-19 11:47:53

commit ae2c0d40ae61f56994c8d0fc4613ec9758dc2f08
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=ae2c0d40ae61f56994c8d0fc4613ec9758dc2f08;hp=fda41e199093b41f026fb8c06e8e2cddcace4d83
Author: Simon Tatham <anakin at pobox.com>
Date:   Mon Sep 19 11:31:27 2022 +0000

    setpgrp cmake check: use #if, not #if defined.
    
    I still haven't got out of the habit of doing this the autotools way,
    which doesn't work in cmake. cmake's HAVE_FOO variables are always
    defined, and they take values 0 or 1, so testing them with 'defined'
    will return the wrong value.

 unix/pageant.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 864b4c27fa67a95b2daa095923878bdba9fc6fcf
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=864b4c27fa67a95b2daa095923878bdba9fc6fcf;hp=ae2c0d40ae61f56994c8d0fc4613ec9758dc2f08
Author: Simon Tatham <anakin at pobox.com>
Date:   Mon Sep 19 11:34:21 2022 +0000

    Use GTK_LDFLAGS when testing for Pango.
    
    On FreeBSD, the GTK libraries aren't stored on the standard library
    path, so pkg-config has to emit a -L option as well as -l options.
    This worked fine during the main build, but the -L option wasn't being
    passed through to check_symbol_exists() for the tests of Pango API
    function availability.

 cmake/gtk.cmake | 1 +
 1 file changed, 1 insertion(+)



More information about the tartarus-commits mailing list