summaryrefslogtreecommitdiff
path: root/prt-get
diff options
context:
space:
mode:
authorJohannes Winkelmann <jw@smts.ch>2008-12-06 15:36:44 +0100
committerJohannes Winkelmann <jw@smts.ch>2008-12-06 15:36:44 +0100
commit7a906f59925c191bf174da83819a968f10f3d124 (patch)
treedee99b8d54f088dba9f36b847a59a1657d20a762 /prt-get
parent6b2950ace67a356f4eac36e35743374fb8c4d3b5 (diff)
downloadpkgutils-7a906f59925c191bf174da83819a968f10f3d124.tar.gz
pkgutils-7a906f59925c191bf174da83819a968f10f3d124.tar.xz
prt-get: fix printf in regex mode
Diffstat (limited to 'prt-get')
-rw-r--r--prt-get/.md5sum1
-rw-r--r--prt-get/Pkgfile4
-rw-r--r--prt-get/prt-get-5.16-printf_regex.diff11
3 files changed, 15 insertions, 1 deletions
diff --git a/prt-get/.md5sum b/prt-get/.md5sum
index f22d83b2..596a27a4 100644
--- a/prt-get/.md5sum
+++ b/prt-get/.md5sum
@@ -1,3 +1,4 @@
+d0b846b694d4aeeff5081360c8b23087 prt-get-5.16-printf_regex.diff
83d41c0297e21383ed3e4f4f7530ca7c prt-get-5.16.tar.gz
4f6b710e4d2b18c70cfe5e4a593938b7 prt-get.aliases
d3aa7a53c12af8ef2bca5c85e0e4f928 prt-get.conf
diff --git a/prt-get/Pkgfile b/prt-get/Pkgfile
index 9077686d..08c7a7a3 100644
--- a/prt-get/Pkgfile
+++ b/prt-get/Pkgfile
@@ -4,12 +4,14 @@
name=prt-get
version=5.16
-release=1
+release=2
source=(http://jw.smts.ch/files/crux/prt-get-$version.tar.gz
+ prt-get-$version-printf_regex.diff
prt-get.conf prt-get.aliases)
build() {
cd ${name}-${version}
+ patch -p1 -i $SRC/prt-get-$version-printf_regex.diff
./configure \
--prefix=/usr \
diff --git a/prt-get/prt-get-5.16-printf_regex.diff b/prt-get/prt-get-5.16-printf_regex.diff
new file mode 100644
index 00000000..05bbc7c0
--- /dev/null
+++ b/prt-get/prt-get-5.16-printf_regex.diff
@@ -0,0 +1,11 @@
+--- prt-get-5.16.orig/src/prtget.cpp 2008-06-26 18:23:42.000000000 +0200
++++ prt-get-5.16/src/prtget.cpp 2008-12-06 15:13:58.950402225 +0100
+@@ -1238,7 +1238,7 @@
+ assertExactArgCount(1);
+
+ initRepo();
+- string filter = "*";
++ string filter = m_parser->useRegex() ? "." : "*";
+ if ( m_parser->hasFilter() ) {
+ filter = m_parser->filter();
+ }

Generated by cgit