mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
cscope: bump version.
This commit is contained in:
45
dev-util/cscope/patches/cscope-15.9.patchset
Normal file
45
dev-util/cscope/patches/cscope-15.9.patchset
Normal file
@@ -0,0 +1,45 @@
|
||||
From 3e88f47a94a2c00a6e47014daf8229bbb1eb910c Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Sat, 16 Sep 2017 12:12:10 +0200
|
||||
Subject: Haiku patch
|
||||
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index 2c16833..07383f1 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -263,6 +263,9 @@ AC_DEFUN([AC_SEARCH_NCURSES], [
|
||||
|
||||
AC_NCURSES(/usr/include/ncurses, curses.h, -lncurses, -I/usr/include/ncurses -DRENAMED_NCURSES, "renamed ncurses on /usr/include/ncurses")
|
||||
|
||||
+ AC_NCURSES(/boot/system/develop/headers, ncurses.h, -lncurses,, "ncurses on /boot/system/develop/headers")
|
||||
+ AC_NCURSES(/boot/home/config/develop/headers, ncurses.h, -lncurses,, "ncurses on /boot/home/config/develop/headers")
|
||||
+
|
||||
dnl
|
||||
dnl We couldn't find ncurses, try SysV curses
|
||||
dnl
|
||||
diff --git a/src/main.c b/src/main.c
|
||||
index bb15950..5164b0d 100644
|
||||
--- a/src/main.c
|
||||
+++ b/src/main.c
|
||||
@@ -126,7 +126,7 @@ static void usage(void);
|
||||
void fixkeypad();
|
||||
#endif
|
||||
|
||||
-#if defined(KEY_RESIZE) && !defined(__DJGPP__)
|
||||
+#if defined(KEY_RESIZE) && !defined(__DJGPP__) && !defined(__HAIKU__)
|
||||
void
|
||||
sigwinch_handler(int sig, siginfo_t *info, void *unused)
|
||||
{
|
||||
@@ -563,7 +563,7 @@ cscope: Could not create private temp dir %s\n",
|
||||
if (linemode == NO) {
|
||||
signal(SIGINT, SIG_IGN); /* ignore interrupts */
|
||||
|
||||
-#if defined(KEY_RESIZE) && !defined(__DJGPP__)
|
||||
+#if defined(KEY_RESIZE) && !defined(__DJGPP__) && !defined(__HAIKU__)
|
||||
winch_action.sa_sigaction = sigwinch_handler;
|
||||
sigemptyset(&winch_action.sa_mask);
|
||||
winch_action.sa_flags = SA_SIGINFO;
|
||||
--
|
||||
2.13.1
|
||||
|
||||
Reference in New Issue
Block a user