prt-get: add random patch

This commit is contained in:
Johannes Winkelmann 2006-09-13 17:51:50 +00:00
parent e34aec54c3
commit 2f15ee584b
2 changed files with 19 additions and 3 deletions

View File

@ -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

View File

@ -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",