]> git.pld-linux.org Git - packages/util-linux.git/commitdiff
- fix compilation and linking problems with ncurses
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 24 Mar 2007 21:21:19 +0000 (21:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    util-linux-ncurses.patch -> 1.1

util-linux-ncurses.patch [new file with mode: 0644]

diff --git a/util-linux-ncurses.patch b/util-linux-ncurses.patch
new file mode 100644 (file)
index 0000000..ac9221d
--- /dev/null
@@ -0,0 +1,29 @@
+--- util-linux-2.13-pre7/misc-utils/Makefile.am~       2007-03-24 01:14:12.000000000 +0100
++++ util-linux-2.13-pre7/misc-utils/Makefile.am        2007-03-24 01:14:27.000000000 +0100
+@@ -35,7 +35,8 @@
+ if HAVE_NCURSES
+ usrbinexec_PROGRAMS += setterm
+ man_MANS += setterm.1
+-setterm_LDADD = -lncurses
++setterm_LDADD = -lncurses -ltinfo
++setterm_CFLAGS = -I/usr/include/ncurses
+ endif
+ if BUILD_KILL
+--- util-linux-2.13-pre7/text-utils/Makefile.am.orig   2005-08-14 13:33:02.000000000 +0200
++++ util-linux-2.13-pre7/text-utils/Makefile.am        2007-03-24 01:21:01.000000000 +0100
+@@ -9,9 +9,12 @@
+ if HAVE_NCURSES
+ bin_PROGRAMS = more
+ usrbinexec_PROGRAMS += ul pg
+-more_LDADD = -lncurses
++more_LDADD = -lncurses -ltinfo
++more_CFLAGS = -I/usr/include/ncurses
+ pg_LDADD = -lncurses
+-ul_LDADD = -lncurses
++pg_CFLAGS = -I/usr/include/ncurses
++ul_LDADD = -lncurses -ltinfo
++ul_CFLAGS = -I/usr/include/ncurses
+ man_MANS += ul.1 more.1 pg.1
+ else
+ if HAVE_TERMCAP
This page took 0.025869 seconds and 4 git commands to generate.