pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2009Q3]: pkgsrc/wm/selectwm Pullup ticket #2932 - requested by...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4ad20c9ea66e
branches: pkgsrc-2009Q3
changeset: 565823:4ad20c9ea66e
user: tron <tron%pkgsrc.org@localhost>
date: Fri Nov 13 10:51:17 2009 +0000
description:
Pullup ticket #2932 - requested by obache
selectwm: portability fix
Revisions pulled up:
- wm/selectwm/distinfo 1.4
- wm/selectwm/patches/patch-ad 1.1
---
Committed By: obache
Date: Thu Nov 12 04:34:45 UTC 2009
Modified Files:
pkgsrc/wm/selectwm: distinfo
Added Files:
pkgsrc/wm/selectwm/patches: patch-ad
Log Message:
Add a patch-ad to avoid conflict with getline(3) in IEEE Std 1003.1-2008.
PR 42292.
diffstat:
wm/selectwm/distinfo | 3 ++-
wm/selectwm/patches/patch-ad | 24 ++++++++++++++++++++++++
2 files changed, 26 insertions(+), 1 deletions(-)
diffs (42 lines):
diff -r 845a9fdee9bd -r 4ad20c9ea66e wm/selectwm/distinfo
--- a/wm/selectwm/distinfo Thu Nov 12 09:49:38 2009 +0000
+++ b/wm/selectwm/distinfo Fri Nov 13 10:51:17 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2007/10/06 00:05:32 joerg Exp $
+$NetBSD: distinfo,v 1.3.22.1 2009/11/13 10:51:17 tron Exp $
SHA1 (selectwm-0.4.1.tar.gz) = a4688afb9a286dae4794f297b97891008afcdeab
RMD160 (selectwm-0.4.1.tar.gz) = d16a8497f39b12e8578b0d28f64cc8f7b1031958
@@ -6,3 +6,4 @@
SHA1 (patch-aa) = 2e3806e5c408bbc6891acc42399d24abc3a01f8b
SHA1 (patch-ab) = a6441f722158685d78e6bffafd182ed9bff04091
SHA1 (patch-ac) = 1a7b16c532d83d9b74811bb039743aba0988e60d
+SHA1 (patch-ad) = 477b9f21331cf1940b67847917bed20109b9c624
diff -r 845a9fdee9bd -r 4ad20c9ea66e wm/selectwm/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/selectwm/patches/patch-ad Fri Nov 13 10:51:17 2009 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ad,v 1.1.2.2 2009/11/13 10:51:17 tron 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, ":")) {
Home |
Main Index |
Thread Index |
Old Index