OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.4 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../ratpoison/check_for_getline.patch
  5. # Copyright (C) 2012 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. From 4ad0b38fb53506d613c4b4f7268dadfcedae9b8e Mon Sep 17 00:00:00 2001
  17. From: Shawn Betts <sabetts@gmail.com>
  18. Date: Mon, 13 Jul 2009 01:23:25 +0000
  19. Subject: check for getline in configure.in
  20. This fixes a build error encountered on glibc 2.10 systems
  21. ---
  22. diff --git a/configure.in b/configure.in
  23. index 0c1b42c..08f4ee8 100644
  24. --- a/configure.in
  25. +++ b/configure.in
  26. @@ -146,7 +146,7 @@ AC_CHECK_HEADERS(unistd.h stdarg.h)
  27. dnl Checks for typedefs, structures, and compiler characteristics.
  28. dnl Checks for library functions.
  29. -AC_CHECK_FUNCS(getopt getopt_long setsid setpgid setpgrp putenv vsnprintf usleep)
  30. +AC_CHECK_FUNCS(getopt getopt_long setsid setpgid setpgrp putenv vsnprintf usleep getline)
  31. AC_TYPE_SIGNAL
  32. --
  33. cgit v0.9.0.2