pkgsrc-WIP-changes archive

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

gargoyle: fix build on NetBSD-8.99.1/amd64



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sat Jul 29 00:23:02 2017 +0200
Changeset:	7bc3d7be52a3f7b9dbea0ffffa702b88b302e2da

Modified Files:
	gargoyle/distinfo
Added Files:
	gargoyle/patches/patch-terps_nitfol_nitfol.h

Log Message:
gargoyle: fix build on NetBSD-8.99.1/amd64

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7bc3d7be52a3f7b9dbea0ffffa702b88b302e2da

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

diffstat:
 gargoyle/distinfo                            |  1 +
 gargoyle/patches/patch-terps_nitfol_nitfol.h | 23 +++++++++++++++++++++++
 2 files changed, 24 insertions(+)

diffs:
diff --git a/gargoyle/distinfo b/gargoyle/distinfo
index 3d4dcbf53d..f63a2b756c 100644
--- a/gargoyle/distinfo
+++ b/gargoyle/distinfo
@@ -5,3 +5,4 @@ RMD160 (gargoyle-2011.1.tar.gz) = 6cdb66eb25f2e4b7351504835747b019bbe671e3
 SHA512 (gargoyle-2011.1.tar.gz) = 3d2eb71e34b9faaace63963b55dddb61f81cfb1f3d42918036d942ffa0e59ca7f8a9747b1059230c32cfd8d467e09aae88befac1dd77723c2edfcb5acf8d4fa8
 Size (gargoyle-2011.1.tar.gz) = 10598371 bytes
 SHA1 (patch-Jamrules) = 47c66be77d89dea8dc7a1d54c78b1734fa83be7b
+SHA1 (patch-terps_nitfol_nitfol.h) = 63e73928684260cd5ae9446604fbdd3d76f364c7
diff --git a/gargoyle/patches/patch-terps_nitfol_nitfol.h b/gargoyle/patches/patch-terps_nitfol_nitfol.h
new file mode 100644
index 0000000000..6908cb477e
--- /dev/null
+++ b/gargoyle/patches/patch-terps_nitfol_nitfol.h
@@ -0,0 +1,23 @@
+$NetBSD$
+
+No point in using inline, and it breaks compilation with gcc-5.4
+on NetBSD-8.99.1/amd64.
+
+--- terps/nitfol/nitfol.h.orig	2011-10-19 20:34:39.000000000 +0000
++++ terps/nitfol/nitfol.h
+@@ -115,15 +115,7 @@ typedef unsigned long offset;
+ #define XPASTE(a, b) PASTE(a, b)
+ 
+ 
+-#if defined(__cplusplus) || defined(USE_INLINE)
+-#define N_INLINE inline
+-#elif defined(INLINE)
+-#define N_INLINE INLINE
+-#elif defined(__GNUC__)
+-#define N_INLINE __inline__
+-#else
+ #define N_INLINE
+-#endif
+ 
+ 
+ 


Home | Main Index | Thread Index | Old Index