From owner-svn-ports-all@freebsd.org Tue Nov 3 02:47:00 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 265134655D2; Tue, 3 Nov 2020 02:47:00 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CQDhN0Fbfz4RDS; Tue, 3 Nov 2020 02:47:00 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E0DE413768; Tue, 3 Nov 2020 02:46:59 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A32kxOU098037; Tue, 3 Nov 2020 02:46:59 GMT (envelope-from lwhsu@FreeBSD.org) Received: (from lwhsu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0A32kwLo098030; Tue, 3 Nov 2020 02:46:58 GMT (envelope-from lwhsu@FreeBSD.org) Message-Id: <202011030246.0A32kwLo098030@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lwhsu set sender to lwhsu@FreeBSD.org using -f From: Li-Wen Hsu Date: Tue, 3 Nov 2020 02:46:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r553947 - branches/2020Q4/x11-toolkits/scintilla/files X-SVN-Group: ports-branches X-SVN-Commit-Author: lwhsu X-SVN-Commit-Paths: branches/2020Q4/x11-toolkits/scintilla/files X-SVN-Commit-Revision: 553947 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2020 02:47:00 -0000 Author: lwhsu Date: Tue Nov 3 02:46:58 2020 New Revision: 553947 URL: https://svnweb.freebsd.org/changeset/ports/553947 Log: MFH: r553664 x11-toolkits/scintilla: Add/delete files under files/ PR: 250663 Approved by: ports-secteam (fluffy, implicitly) Added: branches/2020Q4/x11-toolkits/scintilla/files/patch-gtk_makefile - copied unchanged from r553664, head/x11-toolkits/scintilla/files/patch-gtk_makefile branches/2020Q4/x11-toolkits/scintilla/files/patch-lexilla_src_makefile - copied unchanged from r553664, head/x11-toolkits/scintilla/files/patch-lexilla_src_makefile branches/2020Q4/x11-toolkits/scintilla/files/patch-src_PositionCache.h - copied unchanged from r553664, head/x11-toolkits/scintilla/files/patch-src_PositionCache.h branches/2020Q4/x11-toolkits/scintilla/files/patch-src_Style.cxx - copied unchanged from r553664, head/x11-toolkits/scintilla/files/patch-src_Style.cxx branches/2020Q4/x11-toolkits/scintilla/files/patch-src_Style.h - copied unchanged from r553664, head/x11-toolkits/scintilla/files/patch-src_Style.h Deleted: branches/2020Q4/x11-toolkits/scintilla/files/patch-makefile Modified: Directory Properties: branches/2020Q4/ (props changed) Copied: branches/2020Q4/x11-toolkits/scintilla/files/patch-gtk_makefile (from r553664, head/x11-toolkits/scintilla/files/patch-gtk_makefile) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2020Q4/x11-toolkits/scintilla/files/patch-gtk_makefile Tue Nov 3 02:46:58 2020 (r553947, copy of r553664, head/x11-toolkits/scintilla/files/patch-gtk_makefile) @@ -0,0 +1,39 @@ +--- gtk/makefile.orig 2020-09-11 10:44:28 UTC ++++ gtk/makefile +@@ -16,8 +16,6 @@ basedir = $(srcdir)/.. + + WARNINGS = -Wpedantic -Wall + ifdef CLANG +-CXX = clang++ +-CC = clang + WARNINGS += -Wno-deprecated-register + ifdef windir + # Turn off some warnings that occur when Clang is being used on Windows where it +@@ -35,7 +33,7 @@ endif + # thread also need to create Position Independent Executable -> search online documentation + SANITIZE = address + #SANITIZE = undefined +-BASE_FLAGS += -fsanitize=$(SANITIZE) ++#BASE_FLAGS += -fsanitize=$(SANITIZE) + endif + ARFLAGS = rc + RANLIB ?= ranlib +@@ -69,7 +67,8 @@ DEL = rm -f + LEXILLA = liblexilla.so + endif + COMPLIB=$(basedir)/bin/scintilla.a +-COMPONENT=$(basedir)/bin/libscintilla.$(SHAREDEXTENSION) ++SONAME=libscintilla.$(SHAREDEXTENSION) ++COMPONENT=$(basedir)/bin/$(SONAME) + + vpath %.h $(srcdir) $(basedir)/src $(basedir)/include $(basedir)/lexlib + vpath %.c $(srcdir) +@@ -185,7 +184,7 @@ $(COMPLIB): $(SRC_OBJS) $(LEXLIBL_OBJS) $(GTK_OBJS) $( + $(RANLIB) $@ + + $(COMPONENT): $(SRC_OBJS) $(LEXLIBS_OBJS) $(GTK_OBJS) $(MARSHALLER) +- $(CXX) $(CXX_ALL_FLAGS) $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(CONFIGLIB) ++ $(CXX) $(CXX_ALL_FLAGS) $(CXXFLAGS) $(LDFLAGS) $^ -Wl,-soname,$(SONAME) -o $@ $(CONFIGLIB) + + Catalogue.o: Catalogue.cxx + $(CXX) $(CXX_ALL_FLAGS) $(CXXFLAGS) -D SCI_LEXER -D SCI_EMPTYCATALOGUE -c $< -o $@ Copied: branches/2020Q4/x11-toolkits/scintilla/files/patch-lexilla_src_makefile (from r553664, head/x11-toolkits/scintilla/files/patch-lexilla_src_makefile) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2020Q4/x11-toolkits/scintilla/files/patch-lexilla_src_makefile Tue Nov 3 02:46:58 2020 (r553947, copy of r553664, head/x11-toolkits/scintilla/files/patch-lexilla_src_makefile) @@ -0,0 +1,27 @@ +--- lexilla/src/makefile.orig 2020-05-31 23:08:11 UTC ++++ lexilla/src/makefile +@@ -35,13 +35,13 @@ else + BASE_FLAGS += -fvisibility=hidden + endif + +-LEXILLA=$(DIR_BIN)/$(SHARED_NAME).$(SHAREDEXTENSION) ++SONAME=$(SHARED_NAME).$(SHAREDEXTENSION) ++LEXILLA=$(DIR_BIN)/$(SONAME) + LIBLEXILLA=$(DIR_BIN)/liblexilla.a + + BASE_FLAGS += --std=c++17 + + ifdef CLANG +-CXX = clang++ + ifdef windir + # Clang on Win32 uses MSVC headers so will complain about strcpy without this + DEFINES += -D_CRT_SECURE_NO_DEPRECATE=1 +@@ -119,7 +119,7 @@ LEXILLA_OBJS=\ + $(LEXERS:.cxx=.o) + + $(LEXILLA): $(LEXILLA_OBJS) $(VERSION_RESOURCE) +- $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $@ ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -Wl,-soname,$(SONAME) -o $@ + + $(LIBLEXILLA): $(LEXILLA_OBJS) + $(AR) rc $@ $^ Copied: branches/2020Q4/x11-toolkits/scintilla/files/patch-src_PositionCache.h (from r553664, head/x11-toolkits/scintilla/files/patch-src_PositionCache.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2020Q4/x11-toolkits/scintilla/files/patch-src_PositionCache.h Tue Nov 3 02:46:58 2020 (r553947, copy of r553664, head/x11-toolkits/scintilla/files/patch-src_PositionCache.h) @@ -0,0 +1,12 @@ +--- src/PositionCache.h.orig 2020-07-18 05:40:22 UTC ++++ src/PositionCache.h +@@ -187,8 +187,8 @@ class PositionCacheEntry { (public) + PositionCacheEntry() noexcept; + // Copy constructor not currently used, but needed for being element in std::vector. + PositionCacheEntry(const PositionCacheEntry &); ++ PositionCacheEntry(PositionCacheEntry &&) noexcept = default; + // Deleted so PositionCacheEntry objects can not be assigned. +- PositionCacheEntry(PositionCacheEntry &&) = delete; + void operator=(const PositionCacheEntry &) = delete; + void operator=(PositionCacheEntry &&) = delete; + ~PositionCacheEntry(); Copied: branches/2020Q4/x11-toolkits/scintilla/files/patch-src_Style.cxx (from r553664, head/x11-toolkits/scintilla/files/patch-src_Style.cxx) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2020Q4/x11-toolkits/scintilla/files/patch-src_Style.cxx Tue Nov 3 02:46:58 2020 (r553947, copy of r553664, head/x11-toolkits/scintilla/files/patch-src_Style.cxx) @@ -0,0 +1,14 @@ +--- src/Style.cxx.orig 2020-04-23 01:50:17 UTC ++++ src/Style.cxx +@@ -24,6 +24,11 @@ FontAlias::FontAlias(const FontAlias &other) noexcept + SetID(other.fid); + } + ++FontAlias::FontAlias(FontAlias &&other) noexcept : Font() { ++ SetID(other.fid); ++ other.ClearFont(); ++} ++ + FontAlias::~FontAlias() { + SetID(FontID{}); + // ~Font will not release the actual font resource since it is now 0 Copied: branches/2020Q4/x11-toolkits/scintilla/files/patch-src_Style.h (from r553664, head/x11-toolkits/scintilla/files/patch-src_Style.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2020Q4/x11-toolkits/scintilla/files/patch-src_Style.h Tue Nov 3 02:46:58 2020 (r553947, copy of r553664, head/x11-toolkits/scintilla/files/patch-src_Style.h) @@ -0,0 +1,23 @@ +--- src/Style.h.orig 2020-04-23 01:50:17 UTC ++++ src/Style.h +@@ -33,9 +33,9 @@ struct FontSpecification { + class FontAlias : public Font { + public: + FontAlias() noexcept; +- // FontAlias objects can not be assigned except for initialization ++ // FontAlias objects can be copy or move constructed but not be assigned + FontAlias(const FontAlias &) noexcept; +- FontAlias(FontAlias &&) = delete; ++ FontAlias(FontAlias &&) noexcept; + FontAlias &operator=(const FontAlias &) = delete; + FontAlias &operator=(FontAlias &&) = delete; + ~FontAlias() override; +@@ -72,7 +72,7 @@ class Style : public FontSpecification, public FontMea + + Style(); + Style(const Style &source) noexcept; +- Style(Style &&) = delete; ++ Style(Style &&) noexcept = default; + ~Style(); + Style &operator=(const Style &source) noexcept; + Style &operator=(Style &&) = delete;