pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/libprelude



Module Name:    pkgsrc
Committed By:   dholland
Date:           Tue Sep 12 05:58:41 UTC 2017

Modified Files:
        pkgsrc/security/libprelude: distinfo
Added Files:
        pkgsrc/security/libprelude/patches:
            patch-src_libprelude-error_Makefile.in

Log Message:
Add additional baling wire to cpp hackery to make it not explode on gcc5.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/security/libprelude/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/security/libprelude/patches/patch-src_libprelude-error_Makefile.in

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

Modified files:

Index: pkgsrc/security/libprelude/distinfo
diff -u pkgsrc/security/libprelude/distinfo:1.38 pkgsrc/security/libprelude/distinfo:1.39
--- pkgsrc/security/libprelude/distinfo:1.38    Thu Sep 29 12:14:37 2016
+++ pkgsrc/security/libprelude/distinfo Tue Sep 12 05:58:41 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.38 2016/09/29 12:14:37 joerg Exp $
+$NetBSD: distinfo,v 1.39 2017/09/12 05:58:41 dholland Exp $
 
 SHA1 (libprelude-0.9.24.1.tar.gz) = b8c0c43efb33f3da741feac59b7a5482adf56282
 RMD160 (libprelude-0.9.24.1.tar.gz) = 0a2688cf5c44e834c07eaba36d333155b2ca226d
@@ -20,3 +20,4 @@ SHA1 (patch-an) = 1f92ed4028087d9a357fcf
 SHA1 (patch-ba) = 333d6e3f842d80888be0cec3921417fe51a027bc
 SHA1 (patch-bb) = ca80e503226a2e1adcc0976597a225a51a74b8f9
 SHA1 (patch-src_include_prelude-plugin.h) = 4731b98059971577819906d84fe7f160c24c04f5
+SHA1 (patch-src_libprelude-error_Makefile.in) = 43c3e4cb2ff9fcc617f537d54063e0b5d507083f

Added files:

Index: pkgsrc/security/libprelude/patches/patch-src_libprelude-error_Makefile.in
diff -u /dev/null pkgsrc/security/libprelude/patches/patch-src_libprelude-error_Makefile.in:1.1
--- /dev/null   Tue Sep 12 05:58:41 2017
+++ pkgsrc/security/libprelude/patches/patch-src_libprelude-error_Makefile.in   Tue Sep 12 05:58:41 2017
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_libprelude-error_Makefile.in,v 1.1 2017/09/12 05:58:41 dholland Exp $
+
+Use -P when preprocessing error symbols to avoid getting line number
+output, which on gcc5 introduces extra line breaks and makes the
+downstream processing fail miserably.
+
+--- src/libprelude-error/Makefile.in~  2017-09-12 05:42:25.856481751 +0000
++++ src/libprelude-error/Makefile.in
+@@ -1201,7 +1201,7 @@ code-to-errno.h: Makefile mkerrnos.awk e
+ 
+ mkerrcodes.h: Makefile mkerrcodes.awk
+       LANG="" $(AWK) -f $(srcdir)/mkerrcodes1.awk $(srcdir)/errnos.in >_$@
+-      $(CPP) _$@ | grep PRELUDE_ERROR_ | LANG="" $(AWK) -f $(srcdir)/mkerrcodes.awk >$@
++      $(CPP) -P _$@ | grep PRELUDE_ERROR_ | LANG="" $(AWK) -f $(srcdir)/mkerrcodes.awk >$@
+       -rm _$@
+ 
+ # It is correct to use $(CC_FOR_BUILD) here.  We want to run the



Home | Main Index | Thread Index | Old Index