# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../evms/evms-2.5.5-configure-ncurses-libs.patch
# Copyright (C) 2006 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---

Submitted by: Christian Wiese (morfoh at opensde.org)
Date: 2006-12-13
Initial Package Version: 2.5.5
Upstream Status: submitted
Origin: evms-2.5.5-configure-ncurses-libs.patch by Christian Wiese made for the
Open System Development Environment (http://opensde.org)
Description: Fixes the check for new_panel function within the configure script.
	     The EVMS configure script does not save -lncurses into LIBS if
	     ncurses was detected. As side effect the check for the new_panel
	     function doesn't link against -lncurses which lets the test fail
	     even if new_panel is available within -lpanel.

--- evms-2.5.5/configure.orig	2006-12-13 17:55:08.733626000 +0200
+++ evms-2.5.5/configure	2006-12-13 18:01:20.040831250 +0200
@@ -7274,6 +7274,7 @@
   have_ncurses="yes";
 	      NCURSES_LIBS="-lncurses";
 	      NCURSES_CPPFLAGS="-I/usr/include/ncurses"
+	      LIBS="-lncurses $LIBS"
 else
   have_ncurses="no"
 fi