quassel-irssi: Fix compilation with GCC8 9010/head
authorRosen Penev <rosenp@gmail.com>
Fri, 17 May 2019 01:38:58 +0000 (18:38 -0700)
committerRosen Penev <rosenp@gmail.com>
Fri, 17 May 2019 02:08:17 +0000 (19:08 -0700)
It throws new warnings which triggers -Werror. Remove it.

Added support for full NLS.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/quassel-irssi/Makefile
net/quassel-irssi/patches/001-respect-cflags.patch

index 002f52ec1dc4cd1982fdb204b7e5c1e3bf4e33c1..e1434db6198edfdddfc0120a1d7fef7dd4e7b286 100644 (file)
@@ -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
index aeaf6d41f39209bba212aae51f49b059e3e7e03e..291bed499abc6a856d9199c69b844fdf7ba08fcf 100644 (file)
@@ -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)