summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2016-08-25 20:46:10 +0000
committerKoop Mast <kwm@FreeBSD.org>2016-08-25 20:46:10 +0000
commit8c8ff11be09503a19f8d869073ac36c2921180e4 (patch)
treeee5244ba96d54da0c984db800b83cfaf33d997d9
parentdevel/alog; Upgrade version 0.5.1 => 0.5.2 (diff)
Backout the update to 3.31 and "update" to 2.29.
This is the last version that doesn't use to_string(). to_string() is a c++11 function and gcc 4.8 on 9.3-RELEASE, used by compiler:c++11-lib, doesn't provide this function. Add small blob mentioning this. Bump portepoch due to version going back. Reported by: pkg-fallout@
Notes
Notes: svn path=/head/; revision=420881
-rw-r--r--textproc/highlight/Makefile5
-rw-r--r--textproc/highlight/distinfo6
-rw-r--r--textproc/highlight/files/patch-src_makefile30
-rw-r--r--textproc/highlight/pkg-plist2
4 files changed, 14 insertions, 29 deletions
diff --git a/textproc/highlight/Makefile b/textproc/highlight/Makefile
index d1c6825233cb..1e4eed082d40 100644
--- a/textproc/highlight/Makefile
+++ b/textproc/highlight/Makefile
@@ -1,9 +1,10 @@
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
+# 3.29+ needs to_string() which gcc48 (for 9.3-R) doesn't provide
PORTNAME= highlight
-PORTVERSION= 3.31
-PORTEPOCH= 2
+PORTVERSION= 3.29
+PORTEPOCH= 3
CATEGORIES= textproc
MASTER_SITES= http://www.andre-simon.de/zip/
diff --git a/textproc/highlight/distinfo b/textproc/highlight/distinfo
index 818f686e1213..c74ed41641dd 100644
--- a/textproc/highlight/distinfo
+++ b/textproc/highlight/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1471716553
-SHA256 (highlight-3.31.tar.bz2) = c78cdce3c8133736c3bc2f931d34cb69c09e043c9ce681251e26a9f9b19c4c6d
-SIZE (highlight-3.31.tar.bz2) = 628481
+TIMESTAMP = 1472157593
+SHA256 (highlight-3.29.tar.bz2) = 76cc769d98778985235c0b7d1345cff78c99f597b51edd4e9be7d3fc0160bf92
+SIZE (highlight-3.29.tar.bz2) = 670624
diff --git a/textproc/highlight/files/patch-src_makefile b/textproc/highlight/files/patch-src_makefile
index 091ad7642963..3e5e726211d9 100644
--- a/textproc/highlight/files/patch-src_makefile
+++ b/textproc/highlight/files/patch-src_makefile
@@ -1,15 +1,15 @@
---- src/makefile.orig 2016-08-20 21:01:57.961708000 +0200
-+++ src/makefile 2016-08-20 21:03:49.861494000 +0200
+--- src/makefile.orig 2015-07-02 16:51:26.582456000 +0200
++++ src/makefile 2015-07-02 16:51:53.706070000 +0200
@@ -12,7 +12,7 @@
# See src/gui-qt/highlight.pro for the Qt GUI compilation options
--CXX=g++
-+CXX?=g++
+-CXX=c++
++CXX?=c++
- # was: qmake-qt5
- QMAKE=qmake
-@@ -38,10 +38,10 @@
+ # Added -qt4 because of Arch Linux Qt5 migration
+ QMAKE=qmake-qt4
+@@ -37,10 +37,10 @@
# If Lua 5.2 is not default on your system yet you have to
# use lua5.1 in the pkg-config calls
@@ -22,15 +22,7 @@
# luajit lib
# LUA_LIBS=$(shell pkg-config --libs luajit)
-@@ -65,19 +65,19 @@
- CFLAGS+=-fPIC
- endif
-
--LDFLAGS = -ldl
-+LDFLAGS = #-ldl
- # Do not strip by default (Mac OS X lazy pointer issues)
- # Add -static to avoid linking with shared libs (can cause trouble when highlight
- # is run as service)
+@@ -67,7 +67,7 @@
#LDFLAGS = ${LDFLAGS} -s
#LDFLAGS= -Wl,--as-needed
@@ -39,9 +31,3 @@
# Data directories (data dir, configuration file dir)
CXX_DIR=-DHL_DATA_DIR=\"${HL_DATA_DIR}\" -DHL_CONFIG_DIR=\"${HL_CONFIG_DIR}\"
-
--AR=ar
-+AR?=ar
- ARFLAGS=-crs
-
- # objects files to build the library
diff --git a/textproc/highlight/pkg-plist b/textproc/highlight/pkg-plist
index 70e92a00a5b4..8705e7d1dbb9 100644
--- a/textproc/highlight/pkg-plist
+++ b/textproc/highlight/pkg-plist
@@ -37,7 +37,6 @@ man/man1/highlight.1.gz
%%DATADIR%%/langDefs/ceylon.lang
%%DATADIR%%/langDefs/charmm.lang
%%DATADIR%%/langDefs/chill.lang
-%%DATADIR%%/langDefs/chpl.lang
%%DATADIR%%/langDefs/clean.lang
%%DATADIR%%/langDefs/clearbasic.lang
%%DATADIR%%/langDefs/clipper.lang
@@ -200,7 +199,6 @@ man/man1/highlight.1.gz
%%DATADIR%%/langDefs/xml.lang
%%DATADIR%%/langDefs/xpp.lang
%%DATADIR%%/langDefs/yaiff.lang
-%%DATADIR%%/langDefs/yaml.lang
%%DATADIR%%/langDefs/yang.lang
%%DATADIR%%/langDefs/znn.lang
%%DATADIR%%/plugins/asciidoc_html_add_links.lua