diff options
author | obache <obache@pkgsrc.org> | 2009-11-12 04:34:45 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2009-11-12 04:34:45 +0000 |
commit | dd98e90a2a8a4eec750a20f0ef950c4d24bf27cd (patch) | |
tree | 4b2892f2b7c162c00751e5c3871d8e3b267b3e72 /wm/selectwm | |
parent | d10e3ee3f9e75777b819b3eacfc4062c8eb36d81 (diff) | |
download | pkgsrc-dd98e90a2a8a4eec750a20f0ef950c4d24bf27cd.tar.gz |
Add a patch-ad to avoid conflict with getline(3) in IEEE Std 1003.1-2008.
PR 42292.
Diffstat (limited to 'wm/selectwm')
-rw-r--r-- | wm/selectwm/distinfo | 3 | ||||
-rw-r--r-- | wm/selectwm/patches/patch-ad | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/wm/selectwm/distinfo b/wm/selectwm/distinfo index 7916e3086dd..ce1890e1214 100644 --- a/wm/selectwm/distinfo +++ b/wm/selectwm/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2007/10/06 00:05:32 joerg Exp $ +$NetBSD: distinfo,v 1.4 2009/11/12 04:34:45 obache Exp $ SHA1 (selectwm-0.4.1.tar.gz) = a4688afb9a286dae4794f297b97891008afcdeab RMD160 (selectwm-0.4.1.tar.gz) = d16a8497f39b12e8578b0d28f64cc8f7b1031958 @@ -6,3 +6,4 @@ Size (selectwm-0.4.1.tar.gz) = 209754 bytes SHA1 (patch-aa) = 2e3806e5c408bbc6891acc42399d24abc3a01f8b SHA1 (patch-ab) = a6441f722158685d78e6bffafd182ed9bff04091 SHA1 (patch-ac) = 1a7b16c532d83d9b74811bb039743aba0988e60d +SHA1 (patch-ad) = 477b9f21331cf1940b67847917bed20109b9c624 diff --git a/wm/selectwm/patches/patch-ad b/wm/selectwm/patches/patch-ad new file mode 100644 index 00000000000..9510c7c2878 --- /dev/null +++ b/wm/selectwm/patches/patch-ad @@ -0,0 +1,24 @@ +$NetBSD: patch-ad,v 1.1 2009/11/12 04:34:45 obache Exp $ + +Avoid to conflict with getline(3) defined in IEEE Std 1003.1-2008. + +--- src/options.c.orig 2002-05-22 17:39:27.000000000 +0000 ++++ src/options.c +@@ -32,7 +32,7 @@ + #include "miscui.h" + #include "modify.h" + +-static GString *getline (FILE *fichier) { ++static GString *get_line (FILE *fichier) { + GString *temp; + gchar buf[128]; + +@@ -64,7 +64,7 @@ static gint read_config_file (config *se + } + buf = g_string_new (""); + while (!feof (config)) { +- buf = getline (config); ++ buf = get_line (config); + + if (buf->len > 0 && buf->str[0] != '#') { + if (g_strrstr (buf->str, ":")) { |