nixpkgs/pkgs/applications/window-managers/ratpoison/glibc-fix.patch

23 lines
735 B
Diff
Raw Normal View History

From 4ad0b38fb53506d613c4b4f7268dadfcedae9b8e Mon Sep 17 00:00:00 2001
From: Shawn Betts <sabetts@gmail.com>
Date: Mon, 13 Jul 2009 01:23:25 +0000
Subject: check for getline in configure.in
This fixes a build error encountered on glibc 2.10 systems
---
diff --git a/configure.in b/configure.in
index 0c1b42c..08f4ee8 100644
--- a/configure.in
+++ b/configure.in
@@ -146,7 +146,7 @@ AC_CHECK_HEADERS(unistd.h stdarg.h)
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions.
-AC_CHECK_FUNCS(getopt getopt_long setsid setpgid setpgrp putenv vsnprintf usleep)
+AC_CHECK_FUNCS(getopt getopt_long setsid setpgid setpgrp putenv vsnprintf usleep getline)
AC_TYPE_SIGNAL
--
cgit v0.9.0.2