You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
2.4 KiB
67 lines
2.4 KiB
Index: Makefile |
|
--- Makefile.orig 2015-02-12 09:32:35.000000000 +0100 |
|
+++ Makefile 2015-02-12 23:42:02.915814318 +0100 |
|
@@ -8,11 +8,11 @@ |
|
CC?=gcc |
|
DEBUG+=-g -Wall # -D_DEBUG # -pg # -D_DEBUG #-pg -W -pedantic # -pg #-fprofile-arcs |
|
ifeq ($(UTF8_SUPPORT),yes) |
|
-LDFLAGS+=-lpanelw -lncursesw -lutil -lm |
|
-CFLAGS+=-funsigned-char -D`uname` -DVERSION=\"$(VERSION)\" -DCONFIG_FILE=\"$(CONFIG_FILE)\" -DUTF8_SUPPORT -D_FORTIFY_SOURCE=2 -O3 |
|
+LDFLAGS+=$(OPENPKG_LDFLAGS) -lpanelw -lncursesw -lutil -lm |
|
+CFLAGS+=$(OPENPKG_CFLAGS) -funsigned-char -D`uname` -DVERSION=\"$(VERSION)\" -DCONFIG_FILE=\"$(CONFIG_FILE)\" -DUTF8_SUPPORT -D_FORTIFY_SOURCE=2 -O3 |
|
else |
|
-LDFLAGS+=-lpanel -lncurses -lutil -lm |
|
-CFLAGS+=-funsigned-char -D`uname` -DVERSION=\"$(VERSION)\" -DCONFIG_FILE=\"$(CONFIG_FILE)\" -D_FORTIFY_SOURCE=2 -O3 |
|
+LDFLAGS+=$(OPENPKG_LDFLAGS) -lpanel -lncurses -lutil -lm |
|
+CFLAGS+=$(OPENPKG_CFLAGS) -funsigned-char -D`uname` -DVERSION=\"$(VERSION)\" -DCONFIG_FILE=\"$(CONFIG_FILE)\" -D_FORTIFY_SOURCE=2 -O3 |
|
endif |
|
|
|
OBJS=utils.o mt.o error.o my_pty.o term.o scrollback.o help.o mem.o cv.o selbox.o stripstring.o color.o misc.o ui.o exec.o diff.o config.o cmdline.o globals.o history.o xclip.o |
|
Index: mt.c |
|
--- mt.c.orig 2015-02-09 13:52:18.000000000 +0100 |
|
+++ mt.c 2015-02-12 23:42:12.365859575 +0100 |
|
@@ -23,7 +23,7 @@ |
|
#include <sys/ioctl.h> |
|
#include <sys/stat.h> |
|
#ifndef AIX |
|
-#include <sys/termios.h> /* needed on Solaris 8 */ |
|
+#include <termios.h> /* needed on Solaris 8 */ |
|
#endif |
|
#include <sys/time.h> |
|
#include <sys/wait.h> |
|
Index: my_pty.c |
|
--- my_pty.c.orig 2014-05-01 14:54:06.000000000 +0200 |
|
+++ my_pty.c 2015-02-12 23:42:02.915814318 +0100 |
|
@@ -46,7 +46,7 @@ |
|
#if defined(_HPUX_SOURCE) |
|
#include <sys/stream.h> |
|
#include <sys/stropts.h> |
|
-#include <sys/termios.h> |
|
+#include <termios.h> |
|
#include <sys/bsdtty.h> |
|
#include <sys/ttold.h> |
|
#include <sys/ptyio.h> |
|
Index: term.c |
|
--- term.c.orig 2015-02-09 13:52:18.000000000 +0100 |
|
+++ term.c 2015-02-12 23:42:02.915814318 +0100 |
|
@@ -16,7 +16,7 @@ |
|
#include <stropts.h> |
|
#endif |
|
#ifndef AIX |
|
-#include <sys/termios.h> /* needed on Solaris 8 */ |
|
+#include <termios.h> /* needed on Solaris 8 */ |
|
#endif |
|
#include <sys/socket.h> |
|
#include <netinet/in.h> |
|
Index: xclip.c |
|
--- xclip.c.orig 2014-05-01 14:54:06.000000000 +0200 |
|
+++ xclip.c 2015-02-12 23:42:02.925760345 +0100 |
|
@@ -10,6 +10,8 @@ |
|
#include <unistd.h> |
|
#include <sys/stat.h> |
|
#include <sys/types.h> |
|
+#include <sys/socket.h> |
|
+#include <netinet/in.h> |
|
|
|
#include "mt.h" |
|
#include "error.h"
|
|
|