Bug 182014 - [PATCH] x11-toolkits/scintilla editor/scite: update to 3.3.5 and unbreak on head
Summary: [PATCH] x11-toolkits/scintilla editor/scite: update to 3.3.5 and unbreak on head
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Guido Falsi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-11 15:50 UTC by Guido Falsi
Modified: 2013-09-12 12:40 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (3.40 KB, patch)
2013-09-11 15:50 UTC, Guido Falsi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Falsi freebsd_committer freebsd_triage 2013-09-11 15:50:00 UTC
- Update scintilla and scite to 3.3.5
- The update fixes build on recent head
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-11 15:50:08 UTC
Maintainer of x11-toolkits/scintilla,

Please note that PR ports/182014 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182014

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-11 15:50:09 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Guido Falsi freebsd_committer freebsd_triage 2013-09-11 17:24:47 UTC
Responsible Changed
From-To: freebsd-ports-bugs->madpilot

I'll take it.
Comment 4 Naram Qashat 2013-09-12 02:15:08 UTC
I approve of this patch.

Thanks,
Naram Qashat

On 09/11/13 10:50, Edwin Groothuis wrote:
> Maintainer of x11-toolkits/scintilla,
>
> Please note that PR ports/182014 has just been submitted.
>
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
>
> The full text of the PR can be found at:
>      http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182014
>
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-09-12 12:34:57 UTC
Author: madpilot
Date: Thu Sep 12 11:34:39 2013
New Revision: 327053
URL: http://svnweb.freebsd.org/changeset/ports/327053

Log:
  - Update scintilla and scite to 3.3.5
  - The update fixes build on recent head
  
  PR:		ports/182014
  Submitted by:	me
  Approved by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)

Modified:
  head/editors/scite/Makefile
  head/editors/scite/distinfo
  head/x11-toolkits/scintilla/Makefile
  head/x11-toolkits/scintilla/distinfo
  head/x11-toolkits/scintilla/files/patch-aa

Modified: head/editors/scite/Makefile
==============================================================================
--- head/editors/scite/Makefile	Thu Sep 12 10:20:45 2013	(r327052)
+++ head/editors/scite/Makefile	Thu Sep 12 11:34:39 2013	(r327053)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	scite
-PORTVERSION=	3.3.3
+PORTVERSION=	3.3.5
 CATEGORIES=	editors gnome
 MASTER_SITES=	SF/scintilla/SciTE/${PORTVERSION}
 DISTNAME=	${PORTNAME}${PORTVERSION:S/.//g}

Modified: head/editors/scite/distinfo
==============================================================================
--- head/editors/scite/distinfo	Thu Sep 12 10:20:45 2013	(r327052)
+++ head/editors/scite/distinfo	Thu Sep 12 11:34:39 2013	(r327053)
@@ -1,2 +1,2 @@
-SHA256 (scite333.tgz) = ee4d8e976d1a13657cb1b60af392cef60fbb2c441932e0398f2c9562fbcbe6a3
-SIZE (scite333.tgz) = 1992362
+SHA256 (scite335.tgz) = 5acd167046afe7dfa280c034ab9c7dc5d1be1d548e4999c2456fb2a61468fa89
+SIZE (scite335.tgz) = 2099170

Modified: head/x11-toolkits/scintilla/Makefile
==============================================================================
--- head/x11-toolkits/scintilla/Makefile	Thu Sep 12 10:20:45 2013	(r327052)
+++ head/x11-toolkits/scintilla/Makefile	Thu Sep 12 11:34:39 2013	(r327053)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	scintilla
-PORTVERSION=	3.3.3
+PORTVERSION=	3.3.5
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	SF/scintilla/SciTE/${PORTVERSION}
 DISTNAME=	scite${PORTVERSION:S/.//g}
@@ -28,8 +28,17 @@ PICFLAG?=	-fPIC
 PICFLAG?=	-fpic
 .endif
 
+CCISCLANG!=     ${CC} --version
+
+.if empty(CCISCLANG:M*clang*)
+CPPSTDRE=	-e 's|--std=c++0x||'
+.else
+CPPSTDRE=	
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|[(]CC[)]|(CXX)|g ; s|[(]CCOMP[)]|(CC)|g' \
+		${CPPSTDRE} \
 		${WRKSRC}/makefile
 
 do-install:

Modified: head/x11-toolkits/scintilla/distinfo
==============================================================================
--- head/x11-toolkits/scintilla/distinfo	Thu Sep 12 10:20:45 2013	(r327052)
+++ head/x11-toolkits/scintilla/distinfo	Thu Sep 12 11:34:39 2013	(r327053)
@@ -1,2 +1,2 @@
-SHA256 (scite333.tgz) = ee4d8e976d1a13657cb1b60af392cef60fbb2c441932e0398f2c9562fbcbe6a3
-SIZE (scite333.tgz) = 1992362
+SHA256 (scite335.tgz) = 5acd167046afe7dfa280c034ab9c7dc5d1be1d548e4999c2456fb2a61468fa89
+SIZE (scite335.tgz) = 2099170

Modified: head/x11-toolkits/scintilla/files/patch-aa
==============================================================================
--- head/x11-toolkits/scintilla/files/patch-aa	Thu Sep 12 10:20:45 2013	(r327052)
+++ head/x11-toolkits/scintilla/files/patch-aa	Thu Sep 12 11:34:39 2013	(r327053)
@@ -1,11 +1,11 @@
---- makefile.orig	2013-02-18 02:20:43.000000000 -0500
-+++ makefile	2013-02-26 18:16:54.000000000 -0500
+--- makefile.orig	2013-08-31 05:20:24.000000000 +0200
++++ makefile	2013-09-11 13:10:02.007909736 +0200
 @@ -7,14 +7,7 @@
  # Also works with ming32-make on Windows.
  
  .SUFFIXES: .cxx .c .o .h .a
 -ifdef CLANG
--CC = clang --std=c++0x
+-CC = clang
 -CCOMP = clang
 -else
 -CC = g++
@@ -26,8 +26,8 @@
  endif
  
  vpath %.h ../src ../include ../lexlib
-@@ -63,16 +57,17 @@
- CFLAGS:=$(CXXTFLAGS)
+@@ -68,16 +62,17 @@
+ CXXTFLAGS:=--std=c++0x $(CTFLAGS)
  
  CONFIGFLAGS:=$(shell pkg-config --cflags $(GTKVERSION))
 +CONFIGLIBS:=$(shell pkg-config --libs $(GTKVERSION))
@@ -46,9 +46,9 @@
  
  clean:
  	$(DEL) *.o $(COMPLIB) *.plist
-@@ -88,9 +83,11 @@
+@@ -93,9 +88,11 @@
  	ScintillaBase.o ContractionState.o Editor.o ExternalLexer.o PropSetSimple.o PlatGTK.o \
- 	KeyMap.o LineMarker.o PositionCache.o ScintillaGTK.o CellBuffer.o ViewStyle.o \
+ 	KeyMap.o LineMarker.o PositionCache.o ScintillaGTK.o CellBuffer.o CharacterCategory.o ViewStyle.o \
  	RESearch.o RunStyles.o Selection.o Style.o Indicator.o AutoComplete.o UniConversion.o XPM.o \
 -	$(MARSHALLER) $(LEXOBJS)
 -	$(AR) rc $@ $^
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 6 Guido Falsi freebsd_committer freebsd_triage 2013-09-12 12:35:15 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!