From 623d25a86b7e6bd5db68fe8e07c221d3db558360 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 16 May 2019 18:38:58 -0700 Subject: [PATCH] quassel-irssi: Fix compilation with GCC8 It throws new warnings which triggers -Werror. Remove it. Added support for full NLS. Signed-off-by: Rosen Penev --- net/quassel-irssi/Makefile | 3 ++- net/quassel-irssi/patches/001-respect-cflags.patch | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/net/quassel-irssi/Makefile b/net/quassel-irssi/Makefile index 002f52ec1d..e1434db619 100644 --- a/net/quassel-irssi/Makefile +++ b/net/quassel-irssi/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=quassel-irssi PKG_SOURCE_DATE:=2017-11-30 PKG_SOURCE_VERSION:=079be662dde374a383646256108a4974c2bc7796 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_DATE).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/phhusson/quassel-irssi/tar.gz/$(PKG_SOURCE_VERSION)? @@ -25,6 +25,7 @@ PKG_BUILD_PARALLEL:=1 PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/nls.mk MAKE_PATH := core MAKE_VARS += SYSTEM_QUASSELC=1 IRSSI_CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" IRSSI_INCLUDE=$(STAGING_DIR)/usr/include/irssi diff --git a/net/quassel-irssi/patches/001-respect-cflags.patch b/net/quassel-irssi/patches/001-respect-cflags.patch index aeaf6d41f3..291bed499a 100644 --- a/net/quassel-irssi/patches/001-respect-cflags.patch +++ b/net/quassel-irssi/patches/001-respect-cflags.patch @@ -14,7 +14,7 @@ endif -CFLAGS=-std=gnu11 -Wall -Wextra -Werror -g -O2 $(IRSSI_CFLAGS) $(QUASSELC_FLAGS) -Wmissing-prototypes -Wmissing-declarations -+CFLAGS+=-std=gnu11 -Wall -Wextra -Werror -g $(IRSSI_CFLAGS) $(QUASSELC_FLAGS) -Wmissing-prototypes -Wmissing-declarations ++CFLAGS+=-std=gnu11 -Wall -Wextra -g $(IRSSI_CFLAGS) $(QUASSELC_FLAGS) -Wmissing-prototypes -Wmissing-declarations CFLAGS += $(SSL_CFLAGS) LDFLAGS+= $(SSL_LDLAGS) -- 2.30.2