[112605] trunk/dports/tex/blahtexml

takeshi at macports.org takeshi at macports.org
Sun Oct 27 14:05:19 PDT 2013


Revision: 112605
          https://trac.macports.org/changeset/112605
Author:   takeshi at macports.org
Date:     2013-10-27 14:05:19 -0700 (Sun, 27 Oct 2013)
Log Message:
-----------
blahtexml: added patches to fix build

Modified Paths:
--------------
    trunk/dports/tex/blahtexml/Portfile

Added Paths:
-----------
    trunk/dports/tex/blahtexml/files/
    trunk/dports/tex/blahtexml/files/patch-main.cpp.diff
    trunk/dports/tex/blahtexml/files/patch-mainPng.cpp.diff

Modified: trunk/dports/tex/blahtexml/Portfile
===================================================================
--- trunk/dports/tex/blahtexml/Portfile	2013-10-27 20:51:52 UTC (rev 112604)
+++ trunk/dports/tex/blahtexml/Portfile	2013-10-27 21:05:19 UTC (rev 112605)
@@ -6,6 +6,7 @@
 set nameo           blahtex
 name                ${nameo}ml
 version             0.9
+revision            1
 categories          tex textproc
 platforms           darwin
 license             BSD
@@ -27,6 +28,9 @@
 depends_run         bin:latex:texlive-latex \
                     bin:dvipng:dvipng
 
+patchfiles          patch-main.cpp.diff \
+                    patch-mainPng.cpp.diff
+
 use_configure       no
 
 build.args          CC=${configure.cc} \

Added: trunk/dports/tex/blahtexml/files/patch-main.cpp.diff
===================================================================
--- trunk/dports/tex/blahtexml/files/patch-main.cpp.diff	                        (rev 0)
+++ trunk/dports/tex/blahtexml/files/patch-main.cpp.diff	2013-10-27 21:05:19 UTC (rev 112605)
@@ -0,0 +1,10 @@
+--- Source/main.cpp.orig	2010-11-27 23:40:52.000000000 +0900
++++ Source/main.cpp	2013-10-28 05:55:07.000000000 +0900
+@@ -24,6 +24,7 @@
+ #include <stdlib.h>
+ #include <sstream>
+ #include <stdexcept>
++#include <unistd.h>
+ 
+ using namespace std;
+ using namespace blahtex;

Added: trunk/dports/tex/blahtexml/files/patch-mainPng.cpp.diff
===================================================================
--- trunk/dports/tex/blahtexml/files/patch-mainPng.cpp.diff	                        (rev 0)
+++ trunk/dports/tex/blahtexml/files/patch-mainPng.cpp.diff	2013-10-27 21:05:19 UTC (rev 112605)
@@ -0,0 +1,10 @@
+--- Source/mainPng.cpp.orig	2010-04-08 01:45:30.000000000 +0900
++++ Source/mainPng.cpp	2013-10-28 05:55:25.000000000 +0900
+@@ -27,6 +27,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <sstream>
++#include <unistd.h>
+ 
+ 
+ using namespace std;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131027/a3398fe9/attachment-0001.html>


More information about the macports-changes mailing list