[102160] trunk/dports/aqua/osx2x
raimue at macports.org
raimue at macports.org
Mon Jan 28 12:11:13 PST 2013
Revision: 102160
https://trac.macports.org/changeset/102160
Author: raimue at macports.org
Date: 2013-01-28 12:11:13 -0800 (Mon, 28 Jan 2013)
Log Message:
-----------
aqua/osx2x:
Add missing dependency on xorg-xproto, fix include path.
Patch an off-by-one error in array handling.
Modified Paths:
--------------
trunk/dports/aqua/osx2x/Portfile
Added Paths:
-----------
trunk/dports/aqua/osx2x/files/patch-offbyone.diff
Modified: trunk/dports/aqua/osx2x/Portfile
===================================================================
--- trunk/dports/aqua/osx2x/Portfile 2013-01-28 19:57:10 UTC (rev 102159)
+++ trunk/dports/aqua/osx2x/Portfile 2013-01-28 20:11:13 UTC (rev 102160)
@@ -7,7 +7,7 @@
name osx2x
version 2.4.0
set my_version 2.4
-revision 3
+revision 4
set git_hash 3cc708236898ab789bb99a5fba7420ff76ede9f7
platforms darwin
maintainers nomaintainer
@@ -35,7 +35,8 @@
rmd160 cc2a63b9dbfd9485c039fc989bbab96e6cf919ac
patchfiles patch-osx2x.xcodeproj.diff \
- patch-XXRemoteVNC.m.diff
+ patch-XXRemoteVNC.m.diff \
+ patch-offbyone.diff
post-patch {
reinplace s|@PREFIX@|$prefix| $worksrcpath/osx2x.xcodeproj/project.pbxproj
@@ -43,10 +44,11 @@
}
depends_lib port:xorg-libXtst \
+ port:xorg-xproto \
port:openssl
xcode.configuration Release
-xcode.build.settings-append LIBRARY_SEARCH_PATHS=${prefix}/lib
+xcode.build.settings-append HEADER_SEARCH_PATHS=${prefix}/include LIBRARY_SEARCH_PATHS=${prefix}/lib
destroot {
copy ${worksrcpath}/build/${xcode.configuration}/osx2x.app ${destroot}${applications_dir}
Added: trunk/dports/aqua/osx2x/files/patch-offbyone.diff
===================================================================
--- trunk/dports/aqua/osx2x/files/patch-offbyone.diff (rev 0)
+++ trunk/dports/aqua/osx2x/files/patch-offbyone.diff 2013-01-28 20:11:13 UTC (rev 102160)
@@ -0,0 +1,18 @@
+--- XXAutoConnectBag.m.orig 2012-11-15 22:16:19.000000000 +0100
++++ XXAutoConnectBag.m 2012-11-15 22:19:02.000000000 +0100
+@@ -82,13 +82,13 @@
+ return;
+
+ // Move everything up
+- for (i = index; i < 5; i++)
++ for (i = index; i < 4; i++)
+ {
+ names[i] = names[i+1];
+ positions[i] = positions[i+1];
+ types[i] = types[i+1];
+ }
+- names[5] = nil;
++ names[4] = nil;
+
+ size--;
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130128/914071e8/attachment.html>
More information about the macports-changes
mailing list