Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 20 years ago
parent
commit
b8eed53f14
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      package/base/psmisc/use-either-ncurses-or-termcap.patch

+ 16
- 0
package/base/psmisc/use-either-ncurses-or-termcap.patch

@ -0,0 +1,16 @@
--- ./src/pstree.c.orig 2004-08-29 17:20:07.000000000 +0200
+++ ./src/pstree.c 2004-08-29 17:11:26.000000000 +0200
@@ -16,9 +16,12 @@
#include <pwd.h>
#include <dirent.h>
#include <curses.h>
-#include <term.h>
#include <termios.h>
+#ifdef HAVE_TERMCAP_H
#include <termcap.h>
+#else
+#include <term.h>
+#endif
#include <langinfo.h>
#include <sys/types.h>
#include <sys/stat.h>

Loading…
Cancel
Save