FreeBSD Bugzilla – Attachment 211094 Details for
Bug 243644
x11-toolkits/scintilla & editors/scite: Update to 4.3.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
scintilla-4.3.0.patch
scintilla-4.3.0.patch (text/plain), 4.28 KB, created by
Naram Qashat
on 2020-01-27 04:26:38 UTC
(
hide
)
Description:
scintilla-4.3.0.patch
Filename:
MIME Type:
Creator:
Naram Qashat
Created:
2020-01-27 04:26:38 UTC
Size:
4.28 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 523727) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= scintilla >-DISTVERSION= 4.2.3 >+DISTVERSION= 4.3.0 > CATEGORIES= x11-toolkits > MASTER_SITES= SF/scintilla/SciTE/${PORTVERSION} > DISTNAME= scite${PORTVERSION:S/.//g} >@@ -20,18 +20,22 @@ > WRKSRC= ${WRKDIR}/${PORTNAME}/gtk > MAKEFILE= makefile > USE_LDCONFIG= yes >-USE_GNOME= gtk20 >+USE_GNOME= gtk30 > MAKE_ENV= LDFLAGS="${LDFLAGS}" > CFLAGS+= -DPIC ${PICFLAG} > >-MAJOR= 2 >+MAJOR= 3 > AGE= 0 > REVISION= 0 >-MAKE_ARGS= MAJOR="${MAJOR}" AGE="${AGE}" REVISION="${REVISION}" >+MAKE_ARGS= MAJOR="${MAJOR}" AGE="${AGE}" REVISION="${REVISION}" GTK3=1 > PLIST_SUB= MAJOR="${MAJOR}" AGE="${AGE}" REVISION="${REVISION}" > > .include <bsd.port.pre.mk> > >+.if ${CHOSEN_COMPILER_TYPE} == clang >+MAKE_ARGS+= CLANG=1 >+.endif >+ > .if ${ARCH} == "sparc64" > PICFLAG?= -fPIC > .else >Index: distinfo >=================================================================== >--- distinfo (revision 523727) >+++ distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1578437926 >-SHA256 (scite423.tgz) = 7bd651008afe7fb7e2d0cbd28fd8f75803c64b5558f56aa68b035b3f994900b6 >-SIZE (scite423.tgz) = 2644248 >+TIMESTAMP = 1579621912 >+SHA256 (scite430.tgz) = 6401a2c25f8c2a1e0c06279e2f022722374a6aaf37d0b0acebce1a103fafe589 >+SIZE (scite430.tgz) = 2705289 >Index: files/patch-makefile >=================================================================== >--- files/patch-makefile (revision 523727) >+++ files/patch-makefile (working copy) >@@ -1,20 +1,19 @@ >---- makefile.orig 2019-04-16 20:34:45 UTC >+--- makefile.orig 2020-01-02 00:45:04 UTC > +++ makefile >-@@ -11,9 +11,7 @@ >- srcdir ?= . >+@@ -16,8 +16,6 @@ basedir = $(srcdir)/.. > >+ WARNINGS = -Wpedantic -Wall > ifdef CLANG > -CXX = clang++ >- CXXWARNFLAGS = -Wall -pedantic -Wno-deprecated-register -Wno-missing-braces > -CC = clang >- # Can choose aspect to sanitize: address and undefined can simply change SANITIZE but for >- # thread also need to create Position Independent Executable -> search online documentation >- SANITIZE = address >-@@ -49,7 +47,12 @@ DEL = del /q >- COMPLIB=$(srcdir)\..\bin\scintilla.a >+ WARNINGS += -Wno-deprecated-register >+ ifdef windir >+ # Turn off some warnings that occur when Clang is being used on Windows where it >+@@ -58,7 +56,12 @@ DEL = del /q > else > DEL = rm -f >--COMPLIB=$(srcdir)/../bin/scintilla.a >+ endif >+-COMPLIB=$(basedir)/bin/scintilla.a > +COMPLIB_NAME=libscintilla.so > +COMPLIB_SONAME=$(COMPLIB_NAME).$(MAJOR) > +COMPLIB=$(COMPLIB_SONAME).$(AGE).$(REVISION) >@@ -21,11 +20,11 @@ > +LEXRLIB_NAME=libscintilla_lexers.so > +LEXRLIB_SONAME=$(LEXRLIB_NAME).$(MAJOR) > +LEXRLIB=$(LEXRLIB_SONAME).$(AGE).$(REVISION) >- endif > >- vpath %.h $(srcdir) $(srcdir)/../src $(srcdir)/../include $(srcdir)/../lexlib >-@@ -87,7 +90,7 @@ CXXTFLAGS:=--std=gnu++17 $(CTFLAGS) $(REFLAGS) >- CONFIGFLAGS:=$(shell pkg-config --cflags $(GTKVERSION)) >+ vpath %.h $(srcdir) $(basedir)/src $(basedir)/include $(basedir)/lexlib >+ vpath %.c $(srcdir) >+@@ -81,7 +84,7 @@ CXX_ALL_FLAGS =$(DEFINES) $(INCLUDES) $(CXX_BASE_FLAGS >+ CONFIG_FLAGS:=$(shell pkg-config --cflags $(GTK_VERSION)) > MARSHALLER=scintilla-marshal.o > > -all: $(COMPLIB) >@@ -32,18 +31,18 @@ > +all: $(COMPLIB) $(LEXRLIB) > > clean: >- $(DEL) *.o $(COMPLIB) *.plist >-@@ -119,9 +122,11 @@ $(COMPLIB): Accessor.o CharacterSet.o DefaultLexer.o L >- PropSetSimple.o PlatGTK.o \ >- KeyMap.o LineMarker.o PositionCache.o ScintillaGTK.o ScintillaGTKAccessible.o CellBuffer.o CharacterCategory.o ViewStyle.o \ >- RESearch.o RunStyles.o Selection.o Style.o Indicator.o AutoComplete.o UniConversion.o UniqueString.o XPM.o \ >-- $(MARSHALLER) $(LEXOBJS) >+ $(DEL) *.o $(call normalize,$(COMPLIB)) *.plist >+@@ -158,9 +161,11 @@ GTK_OBJS = \ >+ ScintillaGTK.o \ >+ ScintillaGTKAccessible.o >+ >+-$(COMPLIB): $(SRC_OBJS) $(LEXLIB_OBJS) $(GTK_OBJS) $(MARSHALLER) $(LEX_OBJS) > - $(AR) $(ARFLAGS) $@ $^ > - $(RANLIB) $@ >-+ $(MARSHALLER) >++$(COMPLIB): $(SRC_OBJS) $(GTK_OBJS) $(MARSHALLER) > + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared -Wl,-soname,$(COMPLIB_SONAME) -o $@ $^ -Wl,--as-needed $(CONFIGLIBS) > + >-+$(LEXRLIB): $(LEXOBJS) >++$(LEXRLIB): $(LEXLIB_OBJS) $(LEX_OBJS) > + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared -Wl,-soname,$(LEXRLIB_SONAME) -o $@ $^ -Wl,--as-needed $(CONFIGLIBS) > > # Automatically generate header dependencies with "make deps"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
cyberbotx
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 243644
: 211094 |
211095