pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gdb-git: Fix shell portability issue



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Oct 25 02:58:31 2016 +0200
Changeset:	c6ae018a4ee5774c8d1328c572df89794e029a7e

Modified Files:
	gdb-git/distinfo
Added Files:
	gdb-git/patches/patch-gdb_config_djgpp_djconfig.sh

Log Message:
gdb-git: Fix shell portability issue

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c6ae018a4ee5774c8d1328c572df89794e029a7e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gdb-git/distinfo                                   |  1 +
 gdb-git/patches/patch-gdb_config_djgpp_djconfig.sh | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diffs:
diff --git a/gdb-git/distinfo b/gdb-git/distinfo
index 9559db4..6078bb9 100644
--- a/gdb-git/distinfo
+++ b/gdb-git/distinfo
@@ -3,3 +3,4 @@ $NetBSD: distinfo,v 1.10 2015/03/15 14:22:19 bsiegert Exp $
 SHA1 (gdb-7.9.tar.gz) = 8f89aa6847dc87de2f720779a87ba360bdbc7efd
 RMD160 (gdb-7.9.tar.gz) = 939dda771a073e82e7d72fd584246f3d1d8e9bdc
 Size (gdb-7.9.tar.gz) = 33225783 bytes
+SHA1 (patch-gdb_config_djgpp_djconfig.sh) = 38dd7868eaac20170b96664e0caec1cad86b8b4d
diff --git a/gdb-git/patches/patch-gdb_config_djgpp_djconfig.sh b/gdb-git/patches/patch-gdb_config_djgpp_djconfig.sh
new file mode 100644
index 0000000..1c4d2c3
--- /dev/null
+++ b/gdb-git/patches/patch-gdb_config_djgpp_djconfig.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- gdb/config/djgpp/djconfig.sh.orig	2016-10-25 00:44:13.511325574 +0000
++++ gdb/config/djgpp/djconfig.sh
+@@ -92,7 +92,7 @@ TMPFILE="${TMPDIR-.}/cfg.tmp"
+ 
+ # We need to skip the build directory if it is a subdirectory of $srcdir,
+ # otherwise we will have an infinite recursion on our hands...
+-if test "`pwd`" == "${srcdir}" ; then
++if test "`pwd`" = "${srcdir}" ; then
+   SKIPDIR=""
+   SKIPFILES=""
+ else


Home | Main Index | Thread Index | Old Index