<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[149926] trunk/dports/science/gr-fosphor</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/149926">149926</a></dd>
<dt>Author</dt> <dd>michaelld@macports.org</dd>
<dt>Date</dt> <dd>2016-07-05 14:49:45 -0700 (Tue, 05 Jul 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>gr-fosphor:
+ update to 7b6b9961 (20160522);
+ remove integrated and superseded patches;
+ add in temporary patch to fix integration with gr_log.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportssciencegrfosphorPortfile">trunk/dports/science/gr-fosphor/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportssciencegrfosphorfilespatchadd_gr_logdiff">trunk/dports/science/gr-fosphor/files/patch-add_gr_log.diff</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkdportssciencegrfosphorfilespatchaddpngdiff">trunk/dports/science/gr-fosphor/files/patch-add-png.diff</a></li>
<li><a href="#trunkdportssciencegrfosphorfilespatchadd_find_libpngdiff">trunk/dports/science/gr-fosphor/files/patch-add_find_libpng.diff</a></li>
<li><a href="#trunkdportssciencegrfosphorfilespatchcmake_Modules_FindFreetype2cmakediff">trunk/dports/science/gr-fosphor/files/patch-cmake_Modules_FindFreetype2.cmake.diff</a></li>
<li><a href="#trunkdportssciencegrfosphorfilespatchcmake_Modules_FindGLFW3cmakediff">trunk/dports/science/gr-fosphor/files/patch-cmake_Modules_FindGLFW3.cmake.diff</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportssciencegrfosphorPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/science/gr-fosphor/Portfile (149925 => 149926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/gr-fosphor/Portfile        2016-07-05 21:43:56 UTC (rev 149925)
+++ trunk/dports/science/gr-fosphor/Portfile        2016-07-05 21:49:45 UTC (rev 149926)
</span><span class="lines">@@ -22,11 +22,10 @@
</span><span class="cx"> long_description    ${description}  \
</span><span class="cx">     This port is kept up with the gr-fosphor GIT 'master' branch, which is typically updated weekly to monthly, providing compatibility with GNU Radio release 3.7 API: the gnuradio and gnuradio-devel ports.
</span><span class="cx"> 
</span><del>-set commit          e1eb11b2d8bd0270950d76710017957597929397
-version             20160125
-revision            1
-checksums           rmd160 175e4b0af5323c9aecc08b7542e3045b301d8afd \
-                    sha256 c376062efec4a23b00aa4566c044e63e252cd98291b394f911ee3ef54e9dbffd
</del><ins>+set commit          7b6b9961bc2d9b84daeb42a5c8f8aeba293d207c
+version             20160522
+checksums           rmd160 4cd157163ee82596d0d87dd1626239491e0e17ce \
+                    sha256 a848e5423d4e50dab363bd8ddf14143641ee814828cb549f581475e1ec507a94
</ins><span class="cx"> 
</span><span class="cx"> distname            ${name}-${commit}
</span><span class="cx"> master_sites        http://cgit.osmocom.org/gr-fosphor/snapshot/
</span><span class="lines">@@ -38,7 +37,7 @@
</span><span class="cx">     path:lib/libglfw.dylib:glfw \
</span><span class="cx">     port:swig-python \
</span><span class="cx">     port:${wxWidgets.port} \
</span><del>-    port:libpng
</del><ins>+    port:log4cpp
</ins><span class="cx"> 
</span><span class="cx"> depends_build-append \
</span><span class="cx">     port:doxygen
</span><span class="lines">@@ -47,22 +46,10 @@
</span><span class="cx"> 
</span><span class="cx"> cmake.out_of_source yes
</span><span class="cx"> 
</span><del>-# temporary patch to fix finding Freetype2 headers
</del><ins>+# temporary patch to fix using gr_log
</ins><span class="cx"> 
</span><del>-patchfiles-append patch-cmake_Modules_FindFreetype2.cmake.diff
</del><ins>+patchfiles-append patch-add_gr_log.diff
</ins><span class="cx"> 
</span><del>-# temporary patch to add finding libpng
-
-patchfiles-append patch-add_find_libpng.diff
-
-# temporary patch to fix finding GLFW3
-
-patchfiles-append patch-cmake_Modules_FindGLFW3.cmake.diff
-
-# temporary patch to add back in the PNG stuff
-
-patchfiles-append patch-add-png.diff
-
</del><span class="cx"> # remove top-level library path, such that internal libraries are used
</span><span class="cx"> # instead of any already-installed ones.
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkdportssciencegrfosphorfilespatchaddpngdiff"></a>
<div class="delfile"><h4>Deleted: trunk/dports/science/gr-fosphor/files/patch-add-png.diff (149925 => 149926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/gr-fosphor/files/patch-add-png.diff        2016-07-05 21:43:56 UTC (rev 149925)
+++ trunk/dports/science/gr-fosphor/files/patch-add-png.diff        2016-07-05 21:49:45 UTC (rev 149926)
</span><span class="lines">@@ -1,139 +0,0 @@
</span><del>---- lib/fosphor/Makefile.orig
-+++ lib/fosphor/Makefile
-@@ -1,7 +1,7 @@
- UNAME=$(shell uname)
- CC=gcc
--CFLAGS=-Wall -Werror -O2 `pkg-config freetype2 glfw3 --cflags` -g
--LDLIBS=`pkg-config freetype2 glfw3 --libs` -lm
-+CFLAGS=-Wall -Werror -O2 `pkg-config freetype2 glfw3 libpng --cflags` -g
-+LDLIBS=`pkg-config freetype2 glfw3 libpng --libs` -lm
- ifneq ($(AMDAPPSDKROOT), )
- CFLAGS+=-I$(AMDAPPSDKROOT)/include
- endif
---- lib/fosphor/gl_cmap_gen.c.orig
-+++ lib/fosphor/gl_cmap_gen.c
-@@ -27,10 +27,16 @@
-  *  \brief OpenGL color map generators
-  */

-+#include &lt;errno.h&gt;
- #include &lt;stdint.h&gt;
-+#include &lt;stdlib.h&gt;
-+#include &lt;string.h&gt;
- #include &lt;math.h&gt;

-+#include &lt;png.h&gt;
-+
- #include &quot;gl_cmap_gen.h&quot;
-+#include &quot;resource.h&quot;


- static void
-@@ -128,6 +134,33 @@ _set_rgba_from_hsv(uint32_t *rgba, float h, float s, float v)
- }


-+static uint32_t
-+_rgba_interpolate(uint32_t *rgba, int sz, int p, int N)
-+{
-+        int pos_i = (p * (sz-1)) / (N-1);
-+        int pos_f = (p * (sz-1)) - (pos_i * (N-1));
-+        uint32_t vl, vh, vf = 0;
-+        int i;
-+
-+        if (pos_f == 0)
-+                return rgba[pos_i];
-+
-+        vl = rgba[pos_i];
-+        vh = rgba[pos_i+1];
-+
-+        for (i=0; i&lt;4; i++)
-+        {
-+                uint32_t nv =
-+                        ((vl &gt;&gt; (8 * i)) &amp; 0xff) * ((N-1) - pos_f) +
-+                        ((vh &gt;&gt; (8 * i)) &amp; 0xff) * pos_f;
-+
-+                vf |= ((nv / (N-1)) &amp; 0xff) &lt;&lt; (8 * i);
-+        }
-+
-+        return vf;
-+}
-+
-+
- int
- fosphor_gl_cmap_histogram(uint32_t *rgba, int N, void *arg)
- {
-@@ -179,4 +212,63 @@ fosphor_gl_cmap_waterfall(uint32_t *rgba, int N, void *arg)
-         return 0;
- }

-+int
-+fosphor_gl_cmap_png(uint32_t *rgba, int N, void *arg)
-+{
-+        const char *rsrc_name = arg;
-+        png_image img;
-+        const void *png_data = NULL;
-+        void *png_rgba = NULL;
-+        int png_len, i, rv;
-+
-+        /* Grab the file */
-+        png_data = resource_get(rsrc_name, &amp;png_len);
-+        if (!png_data)
-+                return -ENOENT;
-+
-+        /* Read PNG */
-+        memset(&amp;img, 0x00, sizeof(img));
-+        img.version = PNG_IMAGE_VERSION;
-+
-+        rv = png_image_begin_read_from_memory(&amp;img, png_data, png_len);
-+        if (!rv) {
-+                rv = -EINVAL;
-+                goto error;
-+        }
-+
-+        img.format = PNG_FORMAT_RGBA;
-+
-+        png_rgba = malloc(sizeof(uint32_t) * img.width * img.height);
-+        if (!png_rgba) {
-+                rv = -ENOMEM;
-+                goto error;
-+        }
-+
-+        rv = png_image_finish_read(&amp;img,
-+                NULL,                                /* background */
-+                png_rgba,                        /* buffer */
-+                sizeof(uint32_t) * img.width,        /* row_stride */
-+                NULL                                /* colormap */
-+        );
-+        if (!rv) {
-+                rv = -EINVAL;
-+                goto error;
-+        }
-+
-+        /* Interpolate the PNG to the requested linear scale */
-+        for (i=0; i&lt;N; i++)
-+                rgba[i] = _rgba_interpolate(png_rgba, img.width, i, N);
-+
-+        /* Done */
-+        rv = 0;
-+
-+error:
-+        free(png_rgba);
-+
-+        if (png_data)
-+                resource_put(png_data);
-+
-+        return rv;
-+}
-+
- /*! @} */
---- lib/fosphor/gl_cmap_gen.h.orig
-+++ lib/fosphor/gl_cmap_gen.h
-@@ -34,6 +34,7 @@

- int fosphor_gl_cmap_histogram(uint32_t *rgba, int N, void *arg);
- int fosphor_gl_cmap_waterfall(uint32_t *rgba, int N, void *arg);
-+int fosphor_gl_cmap_png(uint32_t *rgba, int N, void *rsrc_name);

- /*! @} */

</del></span></pre></div>
<a id="trunkdportssciencegrfosphorfilespatchadd_find_libpngdiff"></a>
<div class="delfile"><h4>Deleted: trunk/dports/science/gr-fosphor/files/patch-add_find_libpng.diff (149925 => 149926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/gr-fosphor/files/patch-add_find_libpng.diff        2016-07-05 21:43:56 UTC (rev 149925)
+++ trunk/dports/science/gr-fosphor/files/patch-add_find_libpng.diff        2016-07-05 21:49:45 UTC (rev 149926)
</span><span class="lines">@@ -1,68 +0,0 @@
</span><del>---- CMakeLists.txt.orig
-+++ CMakeLists.txt
-@@ -109,6 +109,11 @@ if(NOT FREETYPE2_FOUND)
-         message(FATAL_ERROR &quot;freetype2 required to compile gr-fosphor&quot;)
- endif()

-+find_package(libpng)
-+if(NOT LIBPNG_FOUND)
-+        message(FATAL_ERROR &quot;libpng required to compile gr-fosphor&quot;)
-+endif()
-+
- # Optional
- find_package(GLFW3)

---- lib/CMakeLists.txt.orig
-+++ lib/CMakeLists.txt
-@@ -39,12 +39,14 @@ include_directories(
-         ${OPENGL_INCLUDE_DIRS}
-         ${OpenCL_INCLUDE_DIRS}
-         ${FREETYPE2_INCLUDE_DIRS}
-+        ${LIBPNG_INCLUDE_DIRS}
-         ${Boost_INCLUDE_DIR}
- )
- link_directories(
-         ${OPENGL_LIBRARY_DIRS}
-         ${OpenCL_LIBRARY_DIRS}
-         ${FREETYPE2_LIBRARY_DIRS}
-+        ${LIBPNG_LIBRARY_DIRS}
-         ${Boost_LIBRARY_DIRS}
- )

-@@ -86,6 +88,7 @@ list(APPEND fosphor_libraries
-         ${OPENGL_LIBRARIES}
-         ${OpenCL_LIBRARIES}
-         ${FREETYPE2_LIBRARIES}
-+        ${LIBPNG_LIBRARIES}
-         ${Boost_LIBRARIES}
-         ${GNURADIO_ALL_LIBRARIES}
-         ${CMAKE_DL_LIBS}
---- /dev/null
-+++ cmake/Modules/Findlibpng.cmake
-@@ -0,0 +1,26 @@
-+if(NOT LIBPNG_FOUND)
-+  INCLUDE(FindPkgConfig)
-+  pkg_check_modules(LIBPNG_PKG libpng)
-+  find_path(LIBPNG_INCLUDE_DIRS
-+    NAMES png.h
-+    HINTS ${LIBPNG_PKG_INCLUDE_DIRS}
-+    NO_DEFAULT_PATH
-+  )
-+
-+  find_library(LIBPNG_LIBRARIES
-+    NAMES ${LIBPNG_PKG_LIBRARIES} png
-+    HINTS ${LIBPNG_PKG_LIBRARY_DIRS}
-+    NO_DEFAULT_PATH
-+  )
-+
-+  if(LIBPNG_INCLUDE_DIRS AND LIBPNG_LIBRARIES)
-+    set(LIBPNG_FOUND TRUE CACHE INTERNAL &quot;LIBPNG found&quot;)
-+    message(STATUS &quot;Found LIBPNG: ${LIBPNG_INCLUDE_DIRS}, ${LIBPNG_LIBRARIES}&quot;)
-+  else(LIBPNG_INCLUDE_DIRS AND LIBPNG_LIBRARIES)
-+    set(LIBPNG_FOUND FALSE CACHE INTERNAL &quot;LIBPNG found&quot;)
-+    message(STATUS &quot;LIBPNG not found.&quot;)
-+  endif(LIBPNG_INCLUDE_DIRS AND LIBPNG_LIBRARIES)
-+
-+  mark_as_advanced(LIBPNG_INCLUDE_DIRS LIBPNG_LIBRARIES)
-+
-+endif(NOT LIBPNG_FOUND)
</del></span></pre></div>
<a id="trunkdportssciencegrfosphorfilespatchadd_gr_logdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/science/gr-fosphor/files/patch-add_gr_log.diff (0 => 149926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/gr-fosphor/files/patch-add_gr_log.diff                                (rev 0)
+++ trunk/dports/science/gr-fosphor/files/patch-add_gr_log.diff        2016-07-05 21:49:45 UTC (rev 149926)
</span><span class="lines">@@ -0,0 +1,44 @@
</span><ins>+--- CMakeLists.txt.orig
++++ CMakeLists.txt
+@@ -134,6 +134,19 @@ find_package(PythonLibs 2)

+ find_package(SWIG)

++# Handle gr_log enable/disable
++include(GrMiscUtils)
++GR_LOGGING()
++# use gr_log iff enabled and log4cpp found
++if(ENABLE_GR_LOG AND HAVE_LOG4CPP)
++  set(ENABLE_LOGGING True CACHE INTERNAL &quot;&quot; FORCE)
++else()
++  # when disabled, set all log variables to false, just in case
++  set(HAVE_GR_LOG False CACHE INTERNAL &quot;&quot; FORCE)
++  set(HAVE_LOG4CPP False CACHE INTERNAL &quot;&quot; FORCE)
++  set(ENABLE_LOGGING False CACHE INTERNAL &quot;&quot; FORCE)
++endif()
++
+ ########################################################################
+ # Setup the components
+ ########################################################################
+--- lib/CMakeLists.txt.orig
++++ lib/CMakeLists.txt
+@@ -70,6 +70,11 @@ if(ENABLE_QT)
+     include_directories(${QT_INCLUDE_DIRS})
+ endif(ENABLE_QT)

++if(ENABLE_LOGGING)
++    include_directories(${LOG4CPP_INCLUDE_DIRS})
++    link_directories(${LOG4CPP_LIBRARY_DIRS})
++endif(ENABLE_LOGGING)
++
+ list(APPEND fosphor_sources
+         fosphor/axis.c
+         fosphor/cl.c
+@@ -101,6 +106,7 @@ list(APPEND fosphor_libraries
+ list_cond_append(ENABLE_PYTHON fosphor_libraries ${PYTHON_LIBRARY})
+ list_cond_append(ENABLE_GLFW fosphor_libraries ${GLFW3_LIBRARIES})
+ list_cond_append(ENABLE_QT   fosphor_libraries ${QT_LIBRARIES})
++list_cond_append(ENABLE_LOGGING fosphor_libraries ${LOG4CPP_LIBRARIES})

+ add_library(gnuradio-fosphor SHARED ${fosphor_sources})
+ target_link_libraries(gnuradio-fosphor ${fosphor_libraries})
</ins></span></pre></div>
<a id="trunkdportssciencegrfosphorfilespatchcmake_Modules_FindFreetype2cmakediff"></a>
<div class="delfile"><h4>Deleted: trunk/dports/science/gr-fosphor/files/patch-cmake_Modules_FindFreetype2.cmake.diff (149925 => 149926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/gr-fosphor/files/patch-cmake_Modules_FindFreetype2.cmake.diff        2016-07-05 21:43:56 UTC (rev 149925)
+++ trunk/dports/science/gr-fosphor/files/patch-cmake_Modules_FindFreetype2.cmake.diff        2016-07-05 21:49:45 UTC (rev 149926)
</span><span class="lines">@@ -1,64 +0,0 @@
</span><del>---- cmake/Modules/FindFreetype2.cmake.orig        2015-10-11 11:10:32.000000000 -0400
-+++ cmake/Modules/FindFreetype2.cmake        2015-10-11 11:10:34.000000000 -0400
-@@ -23,47 +23,18 @@

-   if(FREETYPE2_INCLUDE_DIR_ft2build)

--    # Freetype changed header locations between API release 16 and 17;
--    # look for config/ftheader.h depending on the API release number.
--
--    if(NOT FREETYPE2_PKG_VERSION)
--
--      # PKGCONFIG failed to find a package, but ft2build.h was
--      # located.  Guess API release version based on trailing
--      # directory of ft2build.h location.
--
--      STRING(REGEX MATCH &quot;[^/]*$&quot; FREETYPE2_ft2build_DIR ${FREETYPE2_INCLUDE_DIR_ft2build})
--      message(&quot;FREETYPE2_ft2build_DIR is '${FREETYPE2_ft2build_DIR}'&quot;)
--      STRING(COMPARE NOTEQUAL ${FREETYPE2_ft2build_DIR} &quot;freetype2&quot; FREETYPE_IS_2_4_OR_EARLIER)
--
--    else(NOT FREETYPE2_PKG_VERSION)
--
--      # PKGCONFIG provides version information; use that
--
--      STRING(REGEX MATCH &quot;[^.]*&quot; FREETYPE2_RELEASE ${FREETYPE2_PKG_VERSION})
--      STRING(COMPARE LESS ${FREETYPE2_RELEASE} 17 FREETYPE_IS_2_4_OR_EARLIER)
--
--    endif(NOT FREETYPE2_PKG_VERSION)
--
--    if(FREETYPE_IS_2_4_OR_EARLIER)
--      # freetype 2.4 or earlier
--      set(FTHEADER_NAME freetype/config/ftheader.h)
--    else(FREETYPE_IS_2_4_OR_EARLIER)
--      # freetype 2.5 or later
--      set(FTHEADER_NAME config/ftheader.h)
--    endif(FREETYPE_IS_2_4_OR_EARLIER)
-+    # find config/ftheader.h; this could be in the top-level freetype2
-+    # include directory or in the freetype subdirectory, depending on
-+    # the version of freetype2.

-     find_path(FREETYPE2_INCLUDE_DIR_ftheader
-       NAMES
--      ${FTHEADER_NAME}
-+      config/ftheader.h
-       HINTS
--      ${FREETYPE2_PKG_INCLUDE_DIRS}
-       ${FREETYPE2_INCLUDE_DIR_ft2build}
-       ENV FREETYPE2_DIR
-       PATH_SUFFIXES
--      freetype2
--      include/freetype2
--      include
-+      freetype
-       NO_DEFAULT_PATH
-     )

-@@ -93,7 +64,7 @@
-       if(FREETYPE2_LIBRARIES)
-         set(FREETYPE2_FOUND TRUE CACHE INTERNAL &quot;freetype2 found&quot;)
-         message(STATUS &quot;Found freetype2: ${FREETYPE2_INCLUDE_DIRS}, ${FREETYPE2_LIBRARIES}&quot;)
--      else(FREETYPE2_INCLUDE_DIRS AND FREETYPE2_LIBRARIES)
-+      else()
-         set(FREETYPE2_FOUND FALSE CACHE INTERNAL &quot;freetype2 found&quot;)
-         message(STATUS &quot;freetype2 not found.&quot;)
-       endif(FREETYPE2_LIBRARIES)
</del></span></pre></div>
<a id="trunkdportssciencegrfosphorfilespatchcmake_Modules_FindGLFW3cmakediff"></a>
<div class="delfile"><h4>Deleted: trunk/dports/science/gr-fosphor/files/patch-cmake_Modules_FindGLFW3.cmake.diff (149925 => 149926)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/science/gr-fosphor/files/patch-cmake_Modules_FindGLFW3.cmake.diff        2016-07-05 21:43:56 UTC (rev 149925)
+++ trunk/dports/science/gr-fosphor/files/patch-cmake_Modules_FindGLFW3.cmake.diff        2016-07-05 21:49:45 UTC (rev 149926)
</span><span class="lines">@@ -1,28 +0,0 @@
</span><del>---- cmake/Modules/FindGLFW3.cmake.orig
-+++ cmake/Modules/FindGLFW3.cmake
-@@ -1,18 +1,16 @@
- if(NOT GLFW3_FOUND)
-   INCLUDE(FindPkgConfig)
--  pkg_check_modules (GLFW3_PKG glfw3)
--  find_path(GLFW3_INCLUDE_DIRS NAMES GLFW/glfw3.h
-+  pkg_check_modules(GLFW3_PKG glfw3)
-+  find_path(GLFW3_INCLUDE_DIRS
-+    NAMES GLFW/glfw3.h
-     HINTS ${GLFW3_PKG_INCLUDE_DIRS}
--    PATHS
--    /usr/include
--    /usr/local/include
-+    NO_DEFAULT_PATH
-   )

--  find_library(GLFW3_LIBRARIES NAMES glfw3 glfw
-+  find_library(GLFW3_LIBRARIES
-+    NAMES ${GLFW3_PKG_LIBRARIES} glfw3 glfw
-     HINTS ${GLFW3_PKG_LIBRARY_DIRS}
--    PATHS
--    /usr/lib
--    /usr/local/lib
-+    NO_DEFAULT_PATH
-   )

-   if(GLFW3_INCLUDE_DIRS AND GLFW3_LIBRARIES)
</del></span></pre>
</div>
</div>

</body>
</html>