mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Initial .bep and .patch file for jed. It's nearly working. The install is tripping up, so a little more work on this one
is needed still.
This commit is contained in:
35
app-editors/jed/patches/jed-0.99-19.patch
Normal file
35
app-editors/jed/patches/jed-0.99-19.patch
Normal file
@@ -0,0 +1,35 @@
|
||||
diff -urN jed-0.99-19/configure jed-0.99-19-haiku/configure
|
||||
--- jed-0.99-19/configure 2009-12-14 02:12:55.051118080 +0000
|
||||
+++ jed-0.99-19-haiku/configure 2010-08-27 06:26:06.645922816 +0000
|
||||
@@ -5320,6 +5320,7 @@
|
||||
;;
|
||||
*haiku* )
|
||||
M_LIB=""
|
||||
+ LIBS = "-lnetwork"
|
||||
DYNAMIC_LINK_FLAGS="-Wl,-export-dynamic"
|
||||
ELF_CC="\$(CC)"
|
||||
ELF_CFLAGS="\$(CFLAGS) -fPIC"
|
||||
diff -urN jed-0.99-19/src/Makefile.in jed-0.99-19-haiku/src/Makefile.in
|
||||
--- jed-0.99-19/src/Makefile.in 2009-12-14 02:12:55.063963136 +0000
|
||||
+++ jed-0.99-19-haiku/src/Makefile.in 2010-08-27 06:11:39.000000000 +0000
|
||||
@@ -91,7 +91,7 @@
|
||||
DL_LIB = @DYNAMIC_LINK_LIB@
|
||||
|
||||
# Anything else???
|
||||
-OTHERLIBS = @LIBS@ -lm
|
||||
+OTHERLIBS = @LIBS@ @M_LIB@
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# There should be no need to modify anything below here.
|
||||
diff -urN jed-0.99-19/src/pty.c jed-0.99-19-haiku/src/pty.c
|
||||
--- jed-0.99-19/src/pty.c 2009-12-14 02:12:55.064225280 +0000
|
||||
+++ jed-0.99-19-haiku/src/pty.c 2010-08-27 06:01:46.000000000 +0000
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef HAVE_GRANTPT
|
||||
-# if !defined (__linux__) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && !defined(_AIX)
|
||||
+# if !defined (__linux__) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && !defined(_AIX) && !defined(__HAIKU__)
|
||||
# define USE_SYSV_PTYS
|
||||
# include <sys/types.h>
|
||||
# include <stropts.h>
|
||||
Reference in New Issue
Block a user