Date: Sunday, December 6, 2015 @ 09:56:25
  Author: arojas
Revision: 252669

Fix build with flex 2.6

Modified:
  doxygen/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2015-12-06 08:52:46 UTC (rev 252668)
+++ PKGBUILD    2015-12-06 08:56:25 UTC (rev 252669)
@@ -10,9 +10,12 @@
 url="http://www.doxygen.org/";
 makedepends=('cmake' 'gcc-libs' 'flex' 'qt4' 'texlive-core' 'ghostscript'
              'texlive-latexextra' 'graphviz' 'python2')
-source=(http://ftp.stack.nl/pub/users/dimitri/${pkgname}-${pkgver}.src.tar.gz)
-md5sums=('79767ccd986f12a0f949015efb5f058f')
-sha1sums=('6bad93cbdb1b2efacba14769d39bcc7bc9c0753b')
+source=(http://ftp.stack.nl/pub/users/dimitri/${pkgname}-${pkgver}.src.tar.gz
+       
flex-2.6.patch::"https://github.com/heirecka/doxygen/commit/5fcb1357.patch";)
+md5sums=('79767ccd986f12a0f949015efb5f058f'
+         'b282c91bac1888f607a3676a236d2828')
+sha1sums=('6bad93cbdb1b2efacba14769d39bcc7bc9c0753b'
+          'aeeb45547de0f659789588b563210d9511c6a291')
 
 prepare() {
   mkdir build
@@ -21,6 +24,9 @@
   # Install the man pages in the right place
   sed -i 's:DESTINATION man/man1:DESTINATION 
"${CMAKE_INSTALL_PREFIX}/share/man/man1":g' \
     doc/CMakeLists.txt
+
+  # Fix build with flex 2.6
+  patch -p1 -i ../flex-2.6.patch
 }
 
 build() {

Reply via email to