pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/libsecret libsecret: Avoid to use dollar sing...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5e1eb49b5229
branches:  trunk
changeset: 380727:5e1eb49b5229
user:      leot <leot%pkgsrc.org@localhost>
date:      Sun May 20 17:30:04 2018 +0000

description:
libsecret: Avoid to use dollar single quotes in libsecret/Makefile

This should fix the problem reported by Mayuresh via pkgsrc-users@:

 <https://mail-index.NetBSD.org/pkgsrc-users/2018/05/20/msg026746.html>

No PKGREVISION bump since it should only fix the problem on platforms where the
shell does not support dollar single quotes (i.e. `$'...'').

Thanks to <youri> for testing this patch!

diffstat:

 security/libsecret/distinfo                            |   3 ++-
 security/libsecret/patches/patch-libsecret_Makefile.am |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r fc11a3134974 -r 5e1eb49b5229 security/libsecret/distinfo
--- a/security/libsecret/distinfo       Sun May 20 16:36:03 2018 +0000
+++ b/security/libsecret/distinfo       Sun May 20 17:30:04 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.8 2018/04/16 13:06:57 wiz Exp $
+$NetBSD: distinfo,v 1.9 2018/05/20 17:30:04 leot Exp $
 
 SHA1 (libsecret-0.18.6.tar.xz) = e840a40062c135f4eec41f057a326d9ed519ff4f
 RMD160 (libsecret-0.18.6.tar.xz) = 95ba50baf3d4e54cfdc86d7531e5a5761d32f4cc
 SHA512 (libsecret-0.18.6.tar.xz) = 4997519762f1470cfc0a4b3a791362d030af3c9b6ce6f58f8f8073b3a8adeea9b8caacedc884163997081dc39f395f9172330dbb41fed45d6c43ac5809de48e3
 Size (libsecret-0.18.6.tar.xz) = 487836 bytes
+SHA1 (patch-libsecret_Makefile.am) = 5a780adc70bfbf8b6724cbda6675cedd4bea042e
diff -r fc11a3134974 -r 5e1eb49b5229 security/libsecret/patches/patch-libsecret_Makefile.am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libsecret/patches/patch-libsecret_Makefile.am    Sun May 20 17:30:04 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-libsecret_Makefile.am,v 1.1 2018/05/20 17:30:04 leot Exp $
+
+Avoid to use not-so-ubiquitous/non-standard dollar single quotes use ($'...').
+
+--- libsecret/Makefile.am.orig 2017-12-05 13:16:03.000000000 +0000
++++ libsecret/Makefile.am
+@@ -89,7 +89,8 @@ temp-dbus-generated.c: $(DBUS_XML_DEFINI
+       $(AM_V_GEN) gdbus-codegen --interface-prefix org.freedesktop.Secret. \
+               --generate-c-code temp-dbus-generated --c-namespace SecretGen $<
+ secret-dbus-generated.c: temp-dbus-generated.c Makefile.am
+-      $(AM_V_GEN) sed -e $$'1i\\\n#define GLIB_DISABLE_DEPRECATION_WARNINGS' \
++      $(AM_V_GEN) sed -e '1i\
++#define GLIB_DISABLE_DEPRECATION_WARNINGS' \
+               -e 's/secret_gen_/_secret_gen_/g' -e 's/type-/type/g' \
+               -e 's/temp-dbus-generated.h/secret-dbus-generated.h/g' \
+               temp-dbus-generated.c > secret-dbus-generated.c



Home | Main Index | Thread Index | Old Index