Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2002 22:01:51 +0100
From:      Norbert Koch <nk@viteno.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45298: [PATCH] make ratpoison 1.1.1 usable
Message-ID:  <E18CR7X-0000Lm-00@viteno.dyns.net>

next in thread | raw e-mail | index | archive | help

>Number:         45298
>Category:       ports
>Synopsis:       [PATCH] make ratpoison 1.1.1 usable
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 14 13:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Norbert Koch
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD viteno.dyns.net 4.7-STABLE FreeBSD 4.7-STABLE #17: Tue Oct 29 23:03:29 CET 2002 root@viteno.dyns.net:/usr/local/obj/usr/local/src/sys/VITENO i386
>Description:
The current version of ratpoison compiles but dumps core as it tries to use
its own setenv function.

Note to the (still listed :-) maintainer:
Mike, I've thought about your change, but like mine better, as shown below.
Feel free to change it back to your version.

I've posted it to the ratpoison-devel mailing-list, but haven't recieved an
answer so far.

norbert.


>How-To-Repeat:
Compile and activate.  After start, try to open an xterm through 'C-t c'

>Fix:

--- actions.c.orig	Thu Nov  7 19:07:32 2002
+++ actions.c	Fri Nov  8 17:35:14 2002
@@ -2078,7 +2078,7 @@
   return NULL;
 }
 
-#if !defined(HAVE_SETENV) || !defined(setenv)
+#if !defined(HAVE_SETENV) && !defined(setenv)
 /* For systems, such as Solaris, where setenv is not implemented
  * in libc */
 /* FIXME: overwrite has no effect in this implementation! */

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E18CR7X-0000Lm-00>