mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
Radare2: build fix (#2448)
This commit is contained in:
@@ -21,25 +21,3 @@ index c907d91..52dae8b 100644
|
||||
2.15.1
|
||||
|
||||
|
||||
From d6075d97919e506bbfdb86c7a4220ef5121e7c32 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
|
||||
Date: Tue, 9 Jan 2018 18:47:47 +0100
|
||||
Subject: Fix for missing login_tty symbol
|
||||
|
||||
|
||||
diff --git a/libr/socket/run.c b/libr/socket/run.c
|
||||
index d91a221..99c7255 100644
|
||||
--- a/libr/socket/run.c
|
||||
+++ b/libr/socket/run.c
|
||||
@@ -52,7 +52,7 @@
|
||||
#include <process.h> // to compile execv in msvc windows
|
||||
#endif
|
||||
|
||||
-#define HAVE_PTY __UNIX__ && !__ANDROID__ && LIBC_HAVE_FORK && !defined(__sun)
|
||||
+#define HAVE_PTY __UNIX__ && !__ANDROID__ && !__HAIKU__ && LIBC_HAVE_FORK && !defined(__sun)
|
||||
|
||||
#if EMSCRIPTEN
|
||||
#undef HAVE_PTY
|
||||
--
|
||||
2.15.1
|
||||
|
||||
|
||||
@@ -158,6 +158,7 @@ REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcapstone$secondaryArchSuffix
|
||||
lib:libcrypto$secondaryArchSuffix
|
||||
# lib:libgmp$secondaryArchSuffix
|
||||
lib:libmagic$secondaryArchSuffix
|
||||
lib:libssl$secondaryArchSuffix
|
||||
"
|
||||
@@ -197,6 +198,7 @@ BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcapstone$secondaryArchSuffix
|
||||
devel:libcrypto$secondaryArchSuffix
|
||||
# devel:libgmp$secondaryArchSuffix
|
||||
devel:liblua$secondaryArchSuffix
|
||||
devel:libmagic$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix
|
||||
@@ -250,7 +252,8 @@ defineDebugInfoPackage radare2$secondaryArchSuffix \
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure --omit-dirs docdir,datarootdir,bindir ./configure \
|
||||
CFLAGS="-lbsd" LDFLAGS="-lbsd" \
|
||||
runConfigure --omit-dirs docdir,datarootdir,bindir ./configure \
|
||||
--bindir=$commandBinDir \
|
||||
--with-sysmagic \
|
||||
--with-syscapstone \
|
||||
@@ -269,7 +272,7 @@ INSTALL()
|
||||
|
||||
prepareInstalledDevelLibs libr2 libr_shlr libr_anal libr_asm libr_bin \
|
||||
libr_bp libr_config libr_cons libr_core libr_crypto libr_debug libr_egg \
|
||||
libr_flag libr_fs libr_hash libr_io libr_lang libr_magic ibr_parse \
|
||||
libr_flag libr_fs libr_hash libr_io libr_lang libr_magic libr_parse \
|
||||
libr_reg libr_search libr_socket libr_syscall libr_util
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
Reference in New Issue
Block a user