diff options
author | jperkin <jperkin@pkgsrc.org> | 2022-07-11 12:15:17 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2022-07-11 12:15:17 +0000 |
commit | 4535349893d8d9f71c142f5706a7450ba8860bb5 (patch) | |
tree | dd8f39182f22b5e4aa572b1e518a95947b72ee1b /chat/ctrlproxy | |
parent | 6cd364130a096ac3aadd3a495b45b49dd950794d (diff) | |
download | pkgsrc-4535349893d8d9f71c142f5706a7450ba8860bb5.tar.gz |
ctrlproxy: Various build fixes.
Diffstat (limited to 'chat/ctrlproxy')
-rw-r--r-- | chat/ctrlproxy/Makefile | 6 | ||||
-rw-r--r-- | chat/ctrlproxy/distinfo | 3 | ||||
-rw-r--r-- | chat/ctrlproxy/patches/patch-src_settings.c | 17 |
3 files changed, 24 insertions, 2 deletions
diff --git a/chat/ctrlproxy/Makefile b/chat/ctrlproxy/Makefile index 772dd3d3a7b..0bbd4a02d46 100644 --- a/chat/ctrlproxy/Makefile +++ b/chat/ctrlproxy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2021/12/08 16:03:27 adam Exp $ +# $NetBSD: Makefile,v 1.21 2022/07/11 12:15:17 jperkin Exp $ # DISTNAME= ctrlproxy-3.0.8 @@ -25,6 +25,10 @@ CONF_FILES+= ${PREFIX}/share/examples/ctrlproxy/config.default \ PKGCONFIG_OVERRIDE+= ctrlproxy.pc.in INSTALLATION_DIRS+= share/examples/ctrlproxy +BUILDLINK_TRANSFORM+= rm:-ansi + +LDFLAGS.SunOS+= -lsocket -lnsl + .include "options.mk" post-install: diff --git a/chat/ctrlproxy/distinfo b/chat/ctrlproxy/distinfo index cefd61fa147..a1381f53673 100644 --- a/chat/ctrlproxy/distinfo +++ b/chat/ctrlproxy/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.5 2021/10/26 10:05:12 nia Exp $ +$NetBSD: distinfo,v 1.6 2022/07/11 12:15:17 jperkin Exp $ BLAKE2s (ctrlproxy-3.0.8.tar.gz) = 73d7f41242cac74061d0129b436bcf3a308b951ed6dee5efae5839b76c9b7aa6 SHA512 (ctrlproxy-3.0.8.tar.gz) = 241f227eaae864a43846cf90bb3c41e7ff2423224f92b214d19f681cd1fbdee73c1edfde06ecd6ab0df2061e1386b370c66905a797ab3e3f92382f886698520c Size (ctrlproxy-3.0.8.tar.gz) = 277083 bytes SHA1 (patch-Makefile) = e42074951158b4d35704725c115ad17eee8a8200 SHA1 (patch-src_gnutls.c) = 735747cf2b344b3821d9d5a32aaf73d0d3586d56 +SHA1 (patch-src_settings.c) = 5aca90a41f80bba6d99f89b5a6bc77cf148c7976 diff --git a/chat/ctrlproxy/patches/patch-src_settings.c b/chat/ctrlproxy/patches/patch-src_settings.c new file mode 100644 index 00000000000..ea6f9f940c8 --- /dev/null +++ b/chat/ctrlproxy/patches/patch-src_settings.c @@ -0,0 +1,17 @@ +$NetBSD: patch-src_settings.c,v 1.1 2022/07/11 12:15:17 jperkin Exp $ + +Provide compat for non-standard __STRING() macro. + +--- src/settings.c.orig 2008-12-06 17:36:34.000000000 +0000 ++++ src/settings.c +@@ -1009,6 +1009,10 @@ static void config_load_networks(struct + g_strfreev(groups); + } + ++#ifndef __STRING ++#define __STRING(x) #x ++#endif ++ + #define FETCH_SETTING(data, kf, section, prefix, name) (data)->name = g_key_file_get_string((kf), (section), prefix __STRING(name), NULL) + #define STORE_SETTING(data, kf, section, prefix, name) g_key_file_set_string((kf), (section), prefix __STRING(name), (data)->name) + |