Commits

Christian Walther authored and Ken committed 27eaaca5341
graphviz-gui: fix build on Mojave

Building with Xcode 10.1 on macOS 10.14 fails with "error: Compiling for earlier than macOS 10.6 is no longer supported". Add a patch that raises the SystemTarget version in the xib files. closes: https://trac.macports.org/ticket/57830 The destroot step of graphviz-gui fails with the same SymLink error as observed for aquaterm in ticket 56895. Copy the fix from there (81afc68c58d8b8107473fdcc147b97ac5d2e8411). see: https://trac.macports.org/ticket/56895
No tags

graphics/graphviz/files/patch-xib-target.diff

Added
1 +diff -Naur macosx.orig/English.lproj/Attributes.xib macosx/English.lproj/Attributes.xib
2 +--- macosx.orig/English.lproj/Attributes.xib 2016-08-09 23:02:10.000000000 +0200
3 ++++ macosx/English.lproj/Attributes.xib 2019-02-18 13:44:23.000000000 +0100
4 +@@ -1,7 +1,7 @@
5 + <?xml version="1.0" encoding="UTF-8"?>
6 + <archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.01">
7 + <data>
8 +- <int key="IBDocument.SystemTarget">1050</int>
9 ++ <int key="IBDocument.SystemTarget">1060</int>
10 + <string key="IBDocument.SystemVersion">9B18</string>
11 + <string key="IBDocument.InterfaceBuilderVersion">629</string>
12 + <string key="IBDocument.AppKitVersion">949</string>
13 +diff -Naur macosx.orig/English.lproj/Document.xib macosx/English.lproj/Document.xib
14 +--- macosx.orig/English.lproj/Document.xib 2016-08-09 23:02:10.000000000 +0200
15 ++++ macosx/English.lproj/Document.xib 2019-02-18 13:44:44.000000000 +0100
16 +@@ -1,7 +1,7 @@
17 + <?xml version="1.0" encoding="UTF-8"?>
18 + <archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.01">
19 + <data>
20 +- <int key="IBDocument.SystemTarget">1050</int>
21 ++ <int key="IBDocument.SystemTarget">1060</int>
22 + <string key="IBDocument.SystemVersion">9C7010</string>
23 + <string key="IBDocument.InterfaceBuilderVersion">629</string>
24 + <string key="IBDocument.AppKitVersion">949.26</string>
25 +diff -Naur macosx.orig/English.lproj/Export.xib macosx/English.lproj/Export.xib
26 +--- macosx.orig/English.lproj/Export.xib 2016-08-09 23:02:10.000000000 +0200
27 ++++ macosx/English.lproj/Export.xib 2019-02-18 13:44:38.000000000 +0100
28 +@@ -1,7 +1,7 @@
29 + <?xml version="1.0" encoding="UTF-8"?>
30 + <archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.01">
31 + <data>
32 +- <int key="IBDocument.SystemTarget">1050</int>
33 ++ <int key="IBDocument.SystemTarget">1060</int>
34 + <string key="IBDocument.SystemVersion">9C7010</string>
35 + <string key="IBDocument.InterfaceBuilderVersion">629</string>
36 + <string key="IBDocument.AppKitVersion">949.26</string>
37 +diff -Naur macosx.orig/English.lproj/MainMenu.xib macosx/English.lproj/MainMenu.xib
38 +--- macosx.orig/English.lproj/MainMenu.xib 2016-08-09 23:02:10.000000000 +0200
39 ++++ macosx/English.lproj/MainMenu.xib 2019-02-18 13:44:30.000000000 +0100
40 +@@ -1,7 +1,7 @@
41 + <?xml version="1.0" encoding="UTF-8"?>
42 + <archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.01">
43 + <data>
44 +- <int key="IBDocument.SystemTarget">1050</int>
45 ++ <int key="IBDocument.SystemTarget">1060</int>
46 + <string key="IBDocument.SystemVersion">9E17</string>
47 + <string key="IBDocument.InterfaceBuilderVersion">629</string>
48 + <string key="IBDocument.AppKitVersion">949.33</string>

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut