]> git.pld-linux.org Git - packages/urxvt.git/commitdiff
- fix *tmp* paths detection with AC_LANG(C++) and gcc 4.x
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 9 Aug 2006 22:24:15 +0000 (22:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    urxvt-utmp.patch -> 1.1

urxvt-utmp.patch [new file with mode: 0644]

diff --git a/urxvt-utmp.patch b/urxvt-utmp.patch
new file mode 100644 (file)
index 0000000..3cc7161
--- /dev/null
@@ -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
This page took 0.082971 seconds and 4 git commands to generate.