mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Added cscope and global.
This commit is contained in:
18
dev-util/cscope/cscope-15.7a.bep
Normal file
18
dev-util/cscope/cscope-15.7a.bep
Normal file
@@ -0,0 +1,18 @@
|
||||
DESCRIPTION="Cscope is a developer's tool for browsing source code."
|
||||
HOMEPAGE="http://cscope.sourceforge.net/"
|
||||
SRC_URI="http://sourceforge.net/projects/cscope/files/cscope/15.7a/cscope-15.7a.tar.bz2/download"
|
||||
CHECKSUM_MD5="da43987622ace8c36bbf14c15a350ec1"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd cscope-15.7a
|
||||
autoreconf -fvi
|
||||
./configure --prefix=/boot/common
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd cscope-15.7a
|
||||
make install
|
||||
}
|
||||
5
dev-util/cscope/cscope.OptionalPackageDescription
Normal file
5
dev-util/cscope/cscope.OptionalPackageDescription
Normal file
@@ -0,0 +1,5 @@
|
||||
Package: cscope
|
||||
Version: 15.7a
|
||||
Copyright: 1998-2000, The Santa Cruz Operation
|
||||
License: BSD (3-clause)
|
||||
URL: http://cscope.sourceforge.net/
|
||||
33
dev-util/cscope/patches/cscope-15.7a.patch
Normal file
33
dev-util/cscope/patches/cscope-15.7a.patch
Normal file
@@ -0,0 +1,33 @@
|
||||
diff -ur cscope-15.7a/configure.in cscope-15.7a-haiku/configure.in
|
||||
--- cscope-15.7a/configure.in 2009-04-30 13:17:34.000000000 -0600
|
||||
+++ cscope-15.7a-haiku/configure.in 2009-12-29 02:33:05.000000000 -0700
|
||||
@@ -264,6 +264,8 @@
|
||||
|
||||
AC_NCURSES(/usr/include/ncurses, curses.h, -lncurses, -I/usr/include/ncurses -DRENAMED_NCURSES, "renamed ncurses on /usr/include/ncurses")
|
||||
|
||||
+ AC_NCURSES(/boot/develop/headers/3rdparty, ncurses.h, -lncurses,, "ncurses on /boot/develop/headers/3rdparty")
|
||||
+
|
||||
dnl
|
||||
dnl We couldn't find ncurses, try SysV curses
|
||||
dnl
|
||||
diff -ur cscope-15.7a/src/main.c cscope-15.7a-haiku/src/main.c
|
||||
--- cscope-15.7a/src/main.c 2009-04-10 08:36:38.000000000 -0600
|
||||
+++ cscope-15.7a-haiku/src/main.c 2009-12-29 02:25:46.000000000 -0700
|
||||
@@ -121,7 +121,7 @@
|
||||
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)
|
||||
{
|
||||
@@ -402,7 +402,7 @@
|
||||
signal(SIGINT, SIG_IGN); /* ignore interrupts */
|
||||
signal(SIGPIPE, SIG_IGN);/* | command can cause pipe signal */
|
||||
|
||||
-#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;
|
||||
17
dev-util/global/global-5.7.7.bep
Normal file
17
dev-util/global/global-5.7.7.bep
Normal file
@@ -0,0 +1,17 @@
|
||||
DESCRIPTION="GNU Global is a source code tagging system."
|
||||
HOMEPAGE="http://www.gnu.org/software/global/"
|
||||
SRC_URI="ftp://ftp.gnu.org/pub/gnu/global/global-5.7.7.tar.gz"
|
||||
CHECKSUM_MD5="a2805a315b5fe8432e36d019f2822ee0"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd global-5.7.7
|
||||
./configure --prefix=/boot/common
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd global-5.7.7
|
||||
make install
|
||||
}
|
||||
6
dev-util/global/global.OptionalPackageDescription
Normal file
6
dev-util/global/global.OptionalPackageDescription
Normal file
@@ -0,0 +1,6 @@
|
||||
Package: global
|
||||
Version: 5.7.7
|
||||
Copyright: 2000-2007, Tama Communications Corporation
|
||||
Copyright: 2007-2009, Free Software Foundation
|
||||
License: GPL v3
|
||||
URL: http://www.gnu.org/software/global/
|
||||
17
dev-util/global/patches/global-5.7.7.patch
Normal file
17
dev-util/global/patches/global-5.7.7.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
Only in global-5.7.7: gtags.conf
|
||||
Only in global-5.7.7/htags: global.cgi.tmpl
|
||||
diff -ur global-5.7.7/libdb/db.h global-5.7.7-haiku/libdb/db.h
|
||||
--- global-5.7.7/libdb/db.h 2009-12-19 03:49:27.000000000 -0700
|
||||
+++ global-5.7.7-haiku/libdb/db.h 2009-12-29 02:50:48.000000000 -0700
|
||||
@@ -43,6 +43,10 @@
|
||||
|
||||
#include "compat.h"
|
||||
|
||||
+#if defined(__HAIKU__)
|
||||
+#include <stdint.h>
|
||||
+#endif
|
||||
+
|
||||
#define RET_ERROR -1 /* Return values. */
|
||||
#define RET_SUCCESS 0
|
||||
#define RET_SPECIAL 1
|
||||
Only in global-5.7.7/libutil: langmap.h
|
||||
Reference in New Issue
Block a user