[90417] trunk/dports/x11/xscope

jeremyhu at macports.org jeremyhu at macports.org
Sun Mar 4 18:21:30 PST 2012


Revision: 90417
          http://trac.macports.org/changeset/90417
Author:   jeremyhu at macports.org
Date:     2012-03-04 18:21:27 -0800 (Sun, 04 Mar 2012)
Log Message:
-----------
xscope: Bump to 1.3.1

Modified Paths:
--------------
    trunk/dports/x11/xscope/Portfile

Added Paths:
-----------
    trunk/dports/x11/xscope/files/
    trunk/dports/x11/xscope/files/0001-Include-arpa-inet.h-for-inet_addr-in-USE_XTRANS-case.patch

Modified: trunk/dports/x11/xscope/Portfile
===================================================================
--- trunk/dports/x11/xscope/Portfile	2012-03-05 02:15:52 UTC (rev 90416)
+++ trunk/dports/x11/xscope/Portfile	2012-03-05 02:21:27 UTC (rev 90417)
@@ -3,7 +3,7 @@
 PortSystem          1.0
 
 name                xscope
-version             1.3
+version             1.3.1
 categories          x11
 platforms           darwin
 maintainers         jeremyhu openmaintainer
@@ -13,9 +13,9 @@
 homepage            http://www.x.org
 master_sites        http://xorg.freedesktop.org/archive/individual/app/
 
-checksums           md5     4198c875ebc4808b73fa5468e009f14b \
-                    sha1    228773993bf1e5b4b4a772205e550e81f41e8fd9 \
-                    rmd160  876ca1e8bbd805cd8ed8046446873faaa5007b8e
+checksums           sha1    c0bf5bce04a3b46cb53d443ccedc5c6c393784aa \
+                    rmd160  34756fe4e2aac5cffe28f96fcd963accb83b1dbe \
+                    sha256  25e6db9a2d556c56797f9bb32cac650ac3afd130b49a1cea074694c2754c8582
 
 use_bzip2	    yes
 use_parallel_build  yes
@@ -24,6 +24,10 @@
 	port:pkgconfig \
 	port:xorg-xtrans
 
+patchfiles \
+	0001-Include-arpa-inet.h-for-inet_addr-in-USE_XTRANS-case.patch
+patch.pre_args -p1
+
 configure.args --disable-xtrans
 
 livecheck.type  regex

Added: trunk/dports/x11/xscope/files/0001-Include-arpa-inet.h-for-inet_addr-in-USE_XTRANS-case.patch
===================================================================
--- trunk/dports/x11/xscope/files/0001-Include-arpa-inet.h-for-inet_addr-in-USE_XTRANS-case.patch	                        (rev 0)
+++ trunk/dports/x11/xscope/files/0001-Include-arpa-inet.h-for-inet_addr-in-USE_XTRANS-case.patch	2012-03-05 02:21:27 UTC (rev 90417)
@@ -0,0 +1,27 @@
+From 0b3a142cc7b5c9a4fa18de04cd16a2f1bede8995 Mon Sep 17 00:00:00 2001
+From: Jeremy Huddleston <jeremyhu at apple.com>
+Date: Sun, 4 Mar 2012 18:18:36 -0800
+Subject: [PATCH] Include <arpa/inet.h> for inet_addr in !USE_XTRANS case
+
+Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
+---
+ fd.c |    3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/fd.c b/fd.c
+index 3fa07d1..62fae22 100644
+--- a/fd.c
++++ b/fd.c
+@@ -66,6 +66,9 @@
+ #include <netdb.h>	       /* struct servent * and struct hostent * */
+ #include <errno.h>	       /* for EINTR, EADDRINUSE, ... */
+ 
++#ifndef USE_XTRANS
++#include <arpa/inet.h>	       /* for inet_addr */
++#endif
+ 
+ /*
+   All of this code is to support the handling of file descriptors (FD).
+-- 
+1.7.9.2
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120304/d9167240/attachment.html>


More information about the macports-changes mailing list