SOURCES: urxvt-utmp.patch (NEW) - fix *tmp* paths detection with A...

qboosh qboosh at pld-linux.org
Thu Aug 10 00:24:20 CEST 2006


Author: qboosh                       Date: Wed Aug  9 22:24:20 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix *tmp* paths detection with AC_LANG(C++) and gcc 4.x

---- Files affected:
SOURCES:
   urxvt-utmp.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/urxvt-utmp.patch
diff -u /dev/null SOURCES/urxvt-utmp.patch:1.1
--- /dev/null	Thu Aug 10 00:24:20 2006
+++ SOURCES/urxvt-utmp.patch	Thu Aug 10 00:24:15 2006
@@ -0,0 +1,50 @@
+--- rxvt-unicode-7.9/ptytty.m4.orig	2006-02-07 06:31:56.000000000 +0100
++++ rxvt-unicode-7.9/ptytty.m4	2006-08-09 23:40:54.364272500 +0200
+@@ -214,6 +214,7 @@
+ dnl# find utmp
+ AC_CACHE_CHECK(where utmp is located, path_utmp,
+ [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h>
++#include <stdlib.h>
+ #include <sys/types.h>
+ #include <utmp.h>
+ #include <errno.h>
+@@ -250,6 +251,7 @@
+ dnl# a day newer, then dump the utmpx.  People leave lots of junk around.
+ AC_CACHE_CHECK(where utmpx is located, path_utmpx,
+ [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h>
++#include <stdlib.h>
+ #include <sys/types.h>
+ #include <utmpx.h>
+ #include <errno.h>
+@@ -295,6 +297,7 @@
+ dnl# find wtmp
+ AC_CACHE_CHECK(where wtmp is located, path_wtmp,
+ [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h>
++#include <stdlib.h>
+ #include <sys/types.h>
+ #ifdef HAVE_UTMP_H
+ #include <utmp.h>
+@@ -331,6 +334,7 @@
+ dnl# find wtmpx
+ AC_CACHE_CHECK(where wtmpx is located, path_wtmpx,
+ [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h>
++#include <stdlib.h>
+ #ifdef HAVE_UTMPX_H
+ #include <utmpx.h>
+ #endif
+@@ -366,6 +370,7 @@
+ dnl# find lastlog
+ AC_CACHE_CHECK(where lastlog is located, path_lastlog,
+ [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h>
++#include <stdlib.h>
+ #include <sys/types.h>
+ #ifdef HAVE_UTMPX_H
+ #include <utmpx.h>
+@@ -409,6 +414,7 @@
+ dnl# find lastlogx
+ AC_CACHE_CHECK(where lastlogx is located, path_lastlogx,
+ [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h>
++#include <stdlib.h>
+ #ifdef HAVE_UTMPX_H
+ #include <utmpx.h>
+ #endif
================================================================


More information about the pld-cvs-commit mailing list