summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--patches/slang-2.3.2.local.patch12
-rw-r--r--vars/build.vars8
2 files changed, 18 insertions, 2 deletions
diff --git a/patches/slang-2.3.2.local.patch b/patches/slang-2.3.2.local.patch
new file mode 100644
index 00000000..759c759f
--- /dev/null
+++ b/patches/slang-2.3.2.local.patch
@@ -0,0 +1,12 @@
+diff -ru slang-2.3.2.orig/modules/Makefile.in slang-2.3.2/modules/Makefile.in
+--- slang-2.3.2.orig/modules/Makefile.in 2018-03-05 00:16:36.000000000 +0100
++++ slang-2.3.2/modules/Makefile.in 2018-06-01 22:01:48.926864387 +0200
+@@ -16,7 +16,7 @@
+ # ---------------------------------------------------------------------------
+ CC = @CC@
+ CFLAGS = @CFLAGS@ @SLANG_DLL_CFLAGS@
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = @LDFLAGS@ -L../../src/elfobjs -lslang
+ CC_SHARED_FLAGS = @CC_SHARED_FLAGS@
+ CC_SHARED = $(CC) $(INCS) $(CC_SHARED_FLAGS) $(CFLAGS)
+ CONFIG_DIR = @CONFIG_DIR@
diff --git a/vars/build.vars b/vars/build.vars
index aff40ee7..26215678 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -401,7 +401,7 @@ libpng libjpeg_turbo tiff giflib libffi gdbm geoip pcre glib gzip libarchive
libatomic_ops musl_compat libbsd libpipeline libevent libfetch libogg libvorbis libunistring
libgpg_error libassuan libfirm libgcrypt libksba libudns lua ncurses ncursestw
ncursesw libnettle gnutls libreadline npth popt file xz zstd rpm libsolv tdnf
-shared_mime_info sqlite3 w32api w32lib libuv cmake qrencode util_linux";
+shared_mime_info sqlite3 w32api w32lib libuv cmake qrencode util_linux slang";
NATIVE_PACKAGES_DEPS_PREFIX="${PREFIX_NATIVE}";
NATIVE_PACKAGES_DEPS_PYTHON="${PREFIX}/bin/python";
: ${PKG_EXPAT_SHA256SUM:=d9dc32efba7e74f788fcc4f212a43216fc37cf5f23f4c2339664d473353aedf6};
@@ -632,6 +632,11 @@ NATIVE_PACKAGES_DEPS_PYTHON="${PREFIX}/bin/python";
: ${PKG_UTIL_LINUX_VERSION:=2.32};
: ${PKG_UTIL_LINUX_URL:=https://www.kernel.org/pub/linux/utils/util-linux/v${PKG_UTIL_LINUX_VERSION}/util-linux-${PKG_UTIL_LINUX_VERSION}.tar.gz};
: ${PKG_UTIL_LINUX_CONFIGURE_ARGS_EXTRA:=--disable-agetty --disable-lslogins --disable-wall --disable-write};
+: ${PKG_SLANG_SHA256SUM:=fc9e3b0fc4f67c3c1f6d43c90c16a5c42d117b8e28457c5b46831b8b5d3ae31a};
+: ${PKG_SLANG_VERSION:=2.3.2};
+: ${PKG_SLANG_URL:=https://www.jedsoft.org/releases/slang/slang-${PKG_SLANG_VERSION}.tar.bz2};
+: ${PKG_SLANG_IN_TREE:=1};
+: ${PKG_SLANG_MAKEFLAGS_BUILD_EXTRA:=-j1};
#
# Build target native_packages_deps_x11
@@ -826,7 +831,6 @@ NATIVE_PACKAGES_DEPS_X11_PYTHON="${PREFIX}/bin/python";
: ${PKG_LIBXFCE4UI_URL:=http://archive.xfce.org/xfce/${PKG_LIBXFCE4UI_VERSION%.*}/src/libxfce4ui-${PKG_LIBXFCE4UI_VERSION}.tar.bz2};
: ${PKG_LIBXFCE4UI_CONFIGURE_ARGS_EXTRA:=--disable-gtk3};
-
#
# Build target dev_packages
#