Files
haikuports/sys-libs/stfl/patches/stfl-0.24.patchset
miqlas a24551b5a9 Recipe for STFL (#525)
fixPkgConfig...

Recipe fix.

Fix
2017-01-14 13:26:18 -05:00

40 lines
872 B
Plaintext

From 5229c08d55cfd4882f8443e025a21317dc0c552d Mon Sep 17 00:00:00 2001
From: Zoltan Mizsei <miqlas@gmail.com>
Date: Tue, 29 Mar 2016 16:38:34 +0200
Subject: [PATCH] Changes for Haiku
---
Makefile | 2 +-
stfl_internals.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index a2e512f..4e3dcb0 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@
include Makefile.cfg
-export CC = gcc -pthread
+export CC = gcc -lroot -liconv
export CFLAGS += -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC
export LDLIBS += -lncursesw
diff --git a/stfl_internals.h b/stfl_internals.h
index 024fa97..c16347b 100644
--- a/stfl_internals.h
+++ b/stfl_internals.h
@@ -28,7 +28,7 @@ extern "C" {
#endif
#include "stfl.h"
-#include <ncursesw/ncurses.h>
+#include <ncurses.h>
#include <pthread.h>
struct stfl_widget_type;
--
2.8.0