summaryrefslogtreecommitdiff
path: root/gnustep-apps/cenon/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
commit7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch)
tree4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /gnustep-apps/cenon/files
parentb284a3168fa91a038925d2ecf5e4791011ea5e7d (diff)
gentoo resync : 15.12.2019
Diffstat (limited to 'gnustep-apps/cenon/files')
-rw-r--r--gnustep-apps/cenon/files/cenon-4.0.6-install.patch20
-rw-r--r--gnustep-apps/cenon/files/cenon-4.0.6-invalid_array_syntax.patch20
2 files changed, 40 insertions, 0 deletions
diff --git a/gnustep-apps/cenon/files/cenon-4.0.6-install.patch b/gnustep-apps/cenon/files/cenon-4.0.6-install.patch
new file mode 100644
index 000000000000..b4b78d6e0a6c
--- /dev/null
+++ b/gnustep-apps/cenon/files/cenon-4.0.6-install.patch
@@ -0,0 +1,20 @@
+diff -Naur Cenon.orig/GNUmakefile.postamble Cenon/GNUmakefile.postamble
+--- Cenon.orig/GNUmakefile.postamble 2019-12-05 22:46:35.156776358 +0100
++++ Cenon/GNUmakefile.postamble 2019-12-05 22:46:50.725769361 +0100
+@@ -18,13 +18,13 @@
+ # before-install::
+
+ # Things to do after installing
+-after-install::
++#after-install::
+ # copy library
+ #rm -R $(GNUSTEP_LIBRARY)/$(APP_NAME)
+ #mkdir $(GNUSTEP_LIBRARY)/
+- cp -R Library/$(APP_NAME)/ $(GNUSTEP_LIBRARY)/
++ #cp -R Library/$(APP_NAME)/ $(GNUSTEP_LIBRARY)/
+ # set permissions (rrr)
+- chmod -R ugo+rX $(GNUSTEP_APPS)/$(APP_NAME).*
++ #chmod -R ugo+rX $(GNUSTEP_APPS)/$(APP_NAME).*
+ #chmod -R ugo+rX $(GNUSTEP_LIBRARY)/$(APP_NAME)
+
+ # Things to do before uninstalling
diff --git a/gnustep-apps/cenon/files/cenon-4.0.6-invalid_array_syntax.patch b/gnustep-apps/cenon/files/cenon-4.0.6-invalid_array_syntax.patch
new file mode 100644
index 000000000000..696a5c8d1754
--- /dev/null
+++ b/gnustep-apps/cenon/files/cenon-4.0.6-invalid_array_syntax.patch
@@ -0,0 +1,20 @@
+Decsription: Fix FTBFS due to invalid syntax that only works with Clang.
+Author: Yavor Doganov <yavor@gnu.org>
+Forwarded: info@cenon.com
+Last-Update: 2018-03-12
+---
+
+--- cenon.app.orig/VHFImport/PSImport.m
++++ cenon.app/VHFImport/PSImport.m
+@@ -180,7 +180,10 @@
+ NSString *output;
+
+ [task setLaunchPath: @"/bin/sh"];
+- [task setArguments:@[@"-c", [NSString stringWithFormat:@"%@ -h | grep %@", gsPath, gsDev]] ];
++ [task setArguments:
++ [NSArray arrayWithObjects: @"-c",
++ [NSString stringWithFormat:@"%@ -h | grep %@",
++ gsPath, gsDev], nil]];
+ [task setStandardOutput:pipe];
+ [task launch];
+ output = [[NSString alloc] initWithData:[file readDataToEndOfFile] encoding:NSUTF8StringEncoding];