pkgsrc-Changes archive

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

CVS commit: pkgsrc/cross/freemint-pml



Module Name:    pkgsrc
Committed By:   mef
Date:           Fri Aug  7 12:42:07 UTC 2020

Modified Files:
        pkgsrc/cross/freemint-pml: distinfo
Added Files:
        pkgsrc/cross/freemint-pml/patches: patch-gcc-4.6.4_gcc_cp_cfns.gperf
            patch-gcc-4.6.4_gcc_cp_cfns.h

Log Message:
(cross/freemint-pml) Fix build by adding the same patches as freemint-mintlib


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/cross/freemint-pml/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/cross/freemint-pml/patches/patch-gcc-4.6.4_gcc_cp_cfns.gperf \
    pkgsrc/cross/freemint-pml/patches/patch-gcc-4.6.4_gcc_cp_cfns.h

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

Modified files:

Index: pkgsrc/cross/freemint-pml/distinfo
diff -u pkgsrc/cross/freemint-pml/distinfo:1.3 pkgsrc/cross/freemint-pml/distinfo:1.4
--- pkgsrc/cross/freemint-pml/distinfo:1.3      Mon Dec 19 13:35:53 2016
+++ pkgsrc/cross/freemint-pml/distinfo  Fri Aug  7 12:42:07 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2016/12/19 13:35:53 joerg Exp $
+$NetBSD: distinfo,v 1.4 2020/08/07 12:42:07 mef Exp $
 
 SHA1 (gcc-4.6.4-mint-20130415.patch.bz2) = bd2e88f2b862cc404f47144fb67375b1fe17291b
 RMD160 (gcc-4.6.4-mint-20130415.patch.bz2) = d3cafafb1caa1a1eb915c5f15f4063d6a70ac4ee
@@ -16,6 +16,8 @@ SHA1 (pml-2.03.tar.bz2) = 07b5c70a704b06
 RMD160 (pml-2.03.tar.bz2) = 60a31723cb5078a2f889757e6a02b873b444ddb7
 SHA512 (pml-2.03.tar.bz2) = cdd58b71425d2d0194608625a5a21f9c0a69265261d39b248ac9fb87e9d16735ec8cf3006eb8f4da78e89be59ecfd082afe1e4d57e19dc0fb6b32943fa58bc04
 Size (pml-2.03.tar.bz2) = 52753 bytes
+SHA1 (patch-gcc-4.6.4_gcc_cp_cfns.gperf) = da2735f36dc5a2ab19f92cb13f505cea11442fca
+SHA1 (patch-gcc-4.6.4_gcc_cp_cfns.h) = 2a9e8f53bd63c98efa0cda782dacb78b00beb2bc
 SHA1 (patch-gcc-4.6.4_gcc_doc_gcc.texi) = b11ef8d6ad28139623800ddcc5aa67bc45289b07
 SHA1 (patch-pml-2.03_pmlsrc_Makefile.16) = 7fac2276e5e176c6dd53ac8a040f038f54fcb992
 SHA1 (patch-pml-2.03_pmlsrc_Makefile.32) = 768e842b9ebad9627cbe662617e4e534aae3206c

Added files:

Index: pkgsrc/cross/freemint-pml/patches/patch-gcc-4.6.4_gcc_cp_cfns.gperf
diff -u /dev/null pkgsrc/cross/freemint-pml/patches/patch-gcc-4.6.4_gcc_cp_cfns.gperf:1.1
--- /dev/null   Fri Aug  7 12:42:07 2020
+++ pkgsrc/cross/freemint-pml/patches/patch-gcc-4.6.4_gcc_cp_cfns.gperf Fri Aug  7 12:42:07 2020
@@ -0,0 +1,22 @@
+$NetBSD: patch-gcc-4.6.4_gcc_cp_cfns.gperf,v 1.1 2020/08/07 12:42:07 mef Exp $
+
+In file included from ../../gcc-4.6.4/gcc/cp/except.c:912:0:
+cfns.gperf: At top level:
+cfns.gperf:101:1: error: 'gnu_inline' attribute present on 'libc_name_p'
+cfns.gperf:26:14: error: but not here
+
+Found patch in Dragonfly DPorts 
+
+
+--- gcc-4.6.4/gcc/cp/cfns.gperf.orig   2020-08-04 21:52:40.968415964 +0000
++++ gcc-4.6.4/gcc/cp/cfns.gperf
+@@ -18,6 +18,9 @@ along with GCC; see the file COPYING3.  
+ <http://www.gnu.org/licenses/>.  */
+ #ifdef __GNUC__
+ __inline
++#ifdef __GNUC_STDC_INLINE__
++__attribute__ ((__gnu_inline__))
++#endif
+ #endif
+ static unsigned int hash (const char *, unsigned int);
+ #ifdef __GNUC__
Index: pkgsrc/cross/freemint-pml/patches/patch-gcc-4.6.4_gcc_cp_cfns.h
diff -u /dev/null pkgsrc/cross/freemint-pml/patches/patch-gcc-4.6.4_gcc_cp_cfns.h:1.1
--- /dev/null   Fri Aug  7 12:42:07 2020
+++ pkgsrc/cross/freemint-pml/patches/patch-gcc-4.6.4_gcc_cp_cfns.h     Fri Aug  7 12:42:07 2020
@@ -0,0 +1,30 @@
+$NetBSD: patch-gcc-4.6.4_gcc_cp_cfns.h,v 1.1 2020/08/07 12:42:07 mef Exp $
+
+In file included from ../../gcc-4.6.4/gcc/cp/except.c:912:0:
+cfns.gperf: At top level:
+cfns.gperf:101:1: error: 'gnu_inline' attribute present on 'libc_name_p'
+cfns.gperf:26:14: error: but not here
+
+Found patch in Dragonfly DPorts 
+
+--- gcc/cp/cfns.h.orig 2009-04-21 19:03:23 UTC
++++ gcc-4.6.4/gcc/cp/cfns.h
+@@ -53,6 +53,9 @@ __inline
+ static unsigned int hash (const char *, unsigned int);
+ #ifdef __GNUC__
+ __inline
++#ifdef __GNUC_STDC_INLINE__
++__attribute__ ((__gnu_inline__))
++#endif
+ #endif
+ const char * libc_name_p (const char *, unsigned int);
+ /* maximum key range = 391, duplicates = 0 */
+@@ -96,7 +99,7 @@ hash (register const char *str, register
+       400, 400, 400, 400, 400, 400, 400, 400, 400, 400,
+       400, 400, 400, 400, 400, 400, 400
+     };
+-  register int hval = len;
++  register int hval = (int) len;
+ 
+   switch (hval)
+     {



Home | Main Index | Thread Index | Old Index