pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/libsecret



Module Name:    pkgsrc
Committed By:   leot
Date:           Sun May 20 17:30:04 UTC 2018

Modified Files:
        pkgsrc/security/libsecret: distinfo
Added Files:
        pkgsrc/security/libsecret/patches: patch-libsecret_Makefile.am

Log Message:
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!


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/security/libsecret/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/security/libsecret/patches/patch-libsecret_Makefile.am

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/libsecret/distinfo
diff -u pkgsrc/security/libsecret/distinfo:1.8 pkgsrc/security/libsecret/distinfo:1.9
--- pkgsrc/security/libsecret/distinfo:1.8      Mon Apr 16 13:06:57 2018
+++ pkgsrc/security/libsecret/distinfo  Sun May 20 17:30:04 2018
@@ -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

Added files:

Index: pkgsrc/security/libsecret/patches/patch-libsecret_Makefile.am
diff -u /dev/null pkgsrc/security/libsecret/patches/patch-libsecret_Makefile.am:1.1
--- /dev/null   Sun May 20 17:30:04 2018
+++ pkgsrc/security/libsecret/patches/patch-libsecret_Makefile.am       Sun May 20 17:30:04 2018
@@ -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