From 6c96b138ac925a8445d3235d284f08093f18c650 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Tue, 14 Mar 2023 08:48:55 +0100 Subject: [PATCH] popt: Update to 1.19 sync patches with cygwin (both have been fixed upstream) --- popt/1.18-cygwin.patch | 11 ----------- popt/1.18-testit.patch | 20 -------------------- popt/PKGBUILD | 17 +++++------------ 3 files changed, 5 insertions(+), 43 deletions(-) delete mode 100644 popt/1.18-cygwin.patch delete mode 100644 popt/1.18-testit.patch diff --git a/popt/1.18-cygwin.patch b/popt/1.18-cygwin.patch deleted file mode 100644 index aff20444..00000000 --- a/popt/1.18-cygwin.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- popt-1.18.ORIG/src/poptconfig.c 2020-04-16 12:32:54.000000000 +0200 -+++ popt-1.18/src/poptconfig.c 2020-12-31 11:33:48.634910900 +0100 -@@ -21,7 +21,7 @@ - #if defined(HAVE_GLOB_H) - #include - --#if !defined(__GLIBC__) -+#if !defined(__GLIBC__) && !defined(__CYGWIN__) - /* Return nonzero if PATTERN contains any metacharacters. - Metacharacters can be quoted with backslashes if QUOTE is nonzero. */ - static int diff --git a/popt/1.18-testit.patch b/popt/1.18-testit.patch deleted file mode 100644 index 6f89bc10..00000000 --- a/popt/1.18-testit.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- popt-1.18.ORIG/tests/testit.sh 2020-03-24 12:01:52.000000000 +0100 -+++ popt-1.18/tests/testit.sh 2020-12-31 12:38:00.002702800 +0100 -@@ -115,7 +115,7 @@ - run test1 "test1 - 57" "arg1: 0 arg2: (none) aBits: foo,baz" --bits foo,bar,baz,!bar - - run test1 "test1 - 58" "\ --Usage: lt-test1 [-I?] [-c|--cb2=STRING] [--arg1] [-2|--arg2=ARG] -+Usage: test1 [-I?] [-c|--cb2=STRING] [--arg1] [-2|--arg2=ARG] - [-3|--arg3=ANARG] [-onedash] [--optional=STRING] [--val] - [-i|--int=INT] [-s|--short=SHORT] [-l|--long=LONG] - [-L|--longlong=LONGLONG] [-f|--float=FLOAT] [-d|--double=DOUBLE] -@@ -124,7 +124,7 @@ - [--bitxor] [--nstr=STRING] [--lstr=STRING] [-I|--inc] - [-c|--cb=STRING] [--longopt] [-?|--help] [--usage] [--simple=ARG]" --usage - run test1 "test1 - 59" "\ --Usage: lt-test1 [OPTION...] -+Usage: test1 [OPTION...] - --arg1 First argument with a really long - description. After all, we have to test - argument help wrapping somehow, right? diff --git a/popt/PKGBUILD b/popt/PKGBUILD index 1b28add4..15f3ef99 100644 --- a/popt/PKGBUILD +++ b/popt/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Jeremy Drake pkgname=('popt' 'popt-devel') -pkgver=1.18 -pkgrel=2 +pkgver=1.19 +pkgrel=1 pkgdesc="A command-line option parser library" arch=('i686' 'x86_64') url="http://rpm.org/" @@ -11,19 +11,12 @@ makedepends=('gcc' 'gettext-devel' 'libiconv-devel' 'autotools') -#options=('debug' '!strip') -source=(http://ftp.rpm.org/popt/releases/popt-1.x/${pkgname}-${pkgver}.tar.gz - 1.18-cygwin.patch - 1.18-testit.patch) -sha256sums=('5159bc03a20b28ce363aa96765f37df99ea4d8850b1ece17d1e6ad5c24fdc5d1' - 'cbc8c5266dd3d4564fe950ff5ef497d9bc04a2344c845a5e94108067878fd529' - '1d7dd99eac24225bcd1ae1a195692ae1a95ed68409922b2d93c89a975c6f66ee') +source=(http://ftp.rpm.org/popt/releases/popt-1.x/${pkgname}-${pkgver}.tar.gz) +sha256sums=('c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9') prepare() { cd ${pkgname}-${pkgver} - # Cygwin patches - patch -Np1 -i "${srcdir}"/1.18-cygwin.patch - patch -Np1 -i "${srcdir}"/1.18-testit.patch + autoreconf -fi }