pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
grafX2: Add patches that attempt to fix portability problems
Module Name: pkgsrc-wip
Committed By: Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By: nee
Date: Wed Aug 16 19:28:12 2017 +0100
Changeset: 17134e1128036b747c21a56ccbf1c00f0608a60a
Modified Files:
grafX2/distinfo
Added Files:
grafX2/patches/patch-realpath.c
grafX2/patches/patch-setup.c
Log Message:
grafX2: Add patches that attempt to fix portability problems
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=17134e1128036b747c21a56ccbf1c00f0608a60a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
grafX2/distinfo | 2 ++
grafX2/patches/patch-realpath.c | 16 ++++++++++++++++
grafX2/patches/patch-setup.c | 15 +++++++++++++++
3 files changed, 33 insertions(+)
diffs:
diff --git a/grafX2/distinfo b/grafX2/distinfo
index 06ff34bdeb..9910adc447 100644
--- a/grafX2/distinfo
+++ b/grafX2/distinfo
@@ -4,3 +4,5 @@ SHA1 (grafX2-2.4.tar.gz) = 42d6ff41a756bbcfb6b30386aab816539d0f3fbc
RMD160 (grafX2-2.4.tar.gz) = ac77f23fab86c5df9c0ab77964e81295371a874f
SHA512 (grafX2-2.4.tar.gz) = 357d3f9f6b1f2f05130686d57590f00e8327db2f6d04c8ea8e5879a2d9824f612d77123cbcb08788d6aac9effacf1aa96043000cf6b667952d738aaf69d78642
Size (grafX2-2.4.tar.gz) = 1632859 bytes
+SHA1 (patch-realpath.c) = c3e9a36e0edac36aea5cc51e80fc8bceae0f1cce
+SHA1 (patch-setup.c) = 31727e80d2f54bc12b128212070af08182e07a9a
diff --git a/grafX2/patches/patch-realpath.c b/grafX2/patches/patch-realpath.c
new file mode 100644
index 0000000000..85ffac9f5c
--- /dev/null
+++ b/grafX2/patches/patch-realpath.c
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Don't discriminate against unix-like systems.
+
+--- realpath.c.orig 2012-12-05 00:18:04.000000000 +0000
++++ realpath.c
+@@ -6,9 +6,7 @@
+ #include <fcntl.h>
+ #include <string.h>
+ #include <unistd.h>
+-#if defined(__AROS__) || defined(__linux__) || defined(__GLIBC__)|| defined(__MINT__)
+ #include <limits.h>
+-#endif
+
+ #if defined(__AROS__) || defined(__BEOS__) || defined(__MORPHOS__) || defined(__GP2X__) || defined(__WIZ__) || defined(__CAANOO__) || defined(__amigaos__)
+ // These platforms don't have realpath().
diff --git a/grafX2/patches/patch-setup.c b/grafX2/patches/patch-setup.c
new file mode 100644
index 0000000000..dbe7f4acd3
--- /dev/null
+++ b/grafX2/patches/patch-setup.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Don't discriminate against unix-like systems.
+
+--- setup.c.orig 2012-12-05 00:18:04.000000000 +0000
++++ setup.c
+@@ -39,7 +39,7 @@
+ #elif defined(__MINT__)
+ #include <mint/osbind.h>
+ #include <mint/sysbind.h>
+-#elif defined(__linux__)
++#else
+ #include <limits.h>
+ #include <unistd.h>
+ #endif
Home |
Main Index |
Thread Index |
Old Index