Ticket #43637: LyX.diff

File LyX.diff, 2.4 KB (added by KubaO (Kuba Ober), 11 years ago)

Update to 2.0.8, support debug variant.

  • Portfile

    old new  
    66
    77name                LyX
    88conflicts           LyX1
    9 version             2.0.6
     9version             2.0.8
    1010set branch          [join [lrange [split ${version} .] 0 1] .]
    1111categories          aqua
    1212license             GPL-2+
     
    3232                    ftp://ftp.ntua.gr/pub/X11/LyX/stable/${branch}.x/ \
    3333                    ftp://ftp.lyx.org/pub/lyx/stable/${branch}.x/ \
    3434                    http://gd.tuwien.ac.at/publishing/tex/lyx/stable/${branch}.x/
     35checksums           rmd160  6ab1e15ade2100a75020ef85b42f7a346f5ebe63 \
     36                    sha256  b4bd32cf5f2c374b1ff88b69b53db0a2ba840942df0c3886b295fb2020683b5e
    3537
    36 checksums           rmd160  8e0e3af80726f566fdd8498f7410c36cffa6bdda \
    37                     sha256  a5cb2bedee6e154b50881acd2316cf9d79162d6754e3aa159a6d579f5a828ad2
    38 
    39 patchfiles          patch-configure.diff \
     38patchfiles          patch-types.diff \
    4039                    patch-libc++_compliance.diff
    4140
    4241configure.pre_args  --prefix=${applications_dir}/LyX.app
     
    6362    default_variants +python27
    6463}
    6564
     65variant debug description {Build with debugging information} {
     66    configure.args-append   --enable-debug
     67}
     68
    6669post-configure {
    6770    reinplace -E \
    6871        "s|mkdir -p \\\$\\(pkgdatadir\\)|\
  • new file files/patch-types.diff

    - +  
     1--- src/support/docstring.h.orig        2014-05-08 13:30:22.000000000 -0400
     2+++ src/support/docstring.h     2014-05-08 13:31:40.000000000 -0400
     3@@ -24,7 +24,7 @@
     4  * Use std::string only in cases 7-bit ASCII is to be manipulated
     5  * within the variable.
     6  */
     7-typedef std::basic_string<char_type> docstring;
     8+//typedef std::basic_string<char_type> docstring;
     9 
     10 /// Creates a docstring from a C string of ASCII characters
     11 docstring const from_ascii(char const *);
  • deleted file files/patch-configure.diff

    + -  
    1 --- configure.orig      2010-11-14 05:58:06.000000000 -0500
    2 +++ configure   2011-01-30 20:56:40.000000000 -0500
    3 @@ -8746,6 +8746,7 @@
    4                 QT4_LIB=`$PKG_CONFIG --libs-only-l QtCore QtGui`
    5  
    6                 LIBS="$LIBS `$PKG_CONFIG --libs-only-other QtCore QtGui`"
    7 +               LIBS="$LIBS -framework Carbon -framework AppKit"
    8         fi
    9         PKG_CONFIG_PATH=$save_PKG_CONFIG_PATH
    10