From 2f15ee584b1b097f4a50daeab18570880aa6903c Mon Sep 17 00:00:00 2001 From: Johannes Winkelmann Date: Wed, 13 Sep 2006 17:51:50 +0000 Subject: [PATCH] prt-get: add random patch --- prt-get/Pkgfile | 8 +++++--- prt-get/prt-get-5.14-undecided-diffs.patch | 14 ++++++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 prt-get/prt-get-5.14-undecided-diffs.patch diff --git a/prt-get/Pkgfile b/prt-get/Pkgfile index 80b83e65..b6a0a0fc 100644 --- a/prt-get/Pkgfile +++ b/prt-get/Pkgfile @@ -4,12 +4,14 @@ name=prt-get version=5.14 -release=1 -source=(http://jw.smts.ch/files/crux/prt-get-$version.tar.gz \ - prt-get.conf prt-get.aliases) +release=2 +source=(http://jw.smts.ch/files/crux/prt-get-$version.tar.gz + prt-get.conf prt-get.aliases prt-get-5.14-undecided-diffs.patch) build() { cd ${name}-${version} + patch -p1 < $SRC/prt-get-5.14-undecided-diffs.patch + ./configure \ --prefix=/usr \ --mandir=/usr/man diff --git a/prt-get/prt-get-5.14-undecided-diffs.patch b/prt-get/prt-get-5.14-undecided-diffs.patch new file mode 100644 index 00000000..bb6132b3 --- /dev/null +++ b/prt-get/prt-get-5.14-undecided-diffs.patch @@ -0,0 +1,14 @@ +Index: prtget.cpp +=================================================================== +--- prtget.cpp (revision 1875) ++++ prtget.cpp (working copy) +@@ -931,8 +931,7 @@ + } + } + +- if (m_undefinedVersionComp.size() && +- (m_parser->all() || m_parser->verbose()) ) { ++ if (m_undefinedVersionComp.size()) { + cout << "\n\n" << "Undecidable version differences (use --strict-diff)" + << endl << endl; + printFormattedDiffLine("Port",