commit b749765135cdcbc627a6fbfc036117ac9adf23b2
Author: Adam Gołębiowski <ad...@pld-linux.org>
Date:   Tue Aug 6 09:54:43 2019 +0200

    - updated to 3.53

 highlight-Makefile.patch | 16 ++++++++++------
 highlight.spec           |  4 ++--
 2 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/highlight.spec b/highlight.spec
index f39c895..fd654b3 100644
--- a/highlight.spec
+++ b/highlight.spec
@@ -5,12 +5,12 @@
 Summary:       A source code converter to HTML, XHTML, RTF, TeX, LaTeX, 
XSL-FO, and XML
 Summary(pl.UTF-8):     Konwerter kodu źródłowego do formatów HTML, XHTML, RTF, 
TeX, LaTeX, XSL-FO oraz XML
 Name:          highlight
-Version:       3.51
+Version:       3.53
 Release:       1
 License:       GPL v3
 Group:         Applications/Publishing
 Source0:       http://www.andre-simon.de/zip/%{name}-%{version}.tar.bz2
-# Source0-md5: af79671dba9490a4cad28ff5e43cab28
+# Source0-md5: 8ec42b1d6d68f2eab4d27a63ef86bdc7
 Patch0:                %{name}-Makefile.patch
 URL:           http://www.andre-simon.de/
 BuildRequires: Qt5Core-devel
diff --git a/highlight-Makefile.patch b/highlight-Makefile.patch
index 2c6040d..d092a75 100644
--- a/highlight-Makefile.patch
+++ b/highlight-Makefile.patch
@@ -10,19 +10,23 @@ diff -urN highlight-3.34.orig/src/makefile 
highlight-3.34/src/makefile
  # custom installation directory not listed in INSTALL.
  # Copy *.conf, ./langDefs, ./themes amd ./indentSchemes to /your/path/.
  # See ../makefile for the definition of ${data_dir}
-@@ -19,10 +19,10 @@
+@@ -19,13 +19,13 @@
  QMAKE=qmake
  
  # Added -std=c++11 because of auto_ptr to unique_ptr transition
--CFLAGS:=-Wall -O2 ${CFLAGS} -DNDEBUG -std=c++11
--#CFLAGS:=-ggdb ${CFLAGS} -std=c++11
-+CXXFLAGS:=-Wall -O2 ${CXXFLAGS} -DNDEBUG -std=c++11
-+#CXXFLAGS:=-ggdb ${CXXFLAGS} -std=c++11
+-CFLAGS:=-Wall -O2 ${CFLAGS} -DNDEBUG -std=c++11 -D_FILE_OFFSET_BITS=64
++CXXFLAGS:=-Wall -O2 ${CFLAGS} -DNDEBUG -std=c++11 -D_FILE_OFFSET_BITS=64
+ 
+-#CFLAGS:= -fPIC -O2 -g -pipe -Wall -Werror=format-security 
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions 
-fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables 
-fstack-clash-protection
++#CXXFLAGS:= -fPIC -O2 -g -pipe -Wall -Werror=format-security 
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions 
-fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables 
-fstack-clash-protection
+ 
+-#CFLAGS:=-ggdb -O0 ${CFLAGS} -std=c++11
++#CXXFLAGS:=-ggdb -O0 ${CFLAGS} -std=c++11
  
 -CFLAGS_DILU=-fno-strict-aliasing
 +CXXFLAGS_DILU=-fno-strict-aliasing
  
- SO_VERSION=3.49
+ SO_VERSION=3.53
  
 @@ -63,7 +63,7 @@
  endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/highlight.git/commitdiff/b749765135cdcbc627a6fbfc036117ac9adf23b2

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to