Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/cross/ppc-morphos-binutils Make cross/ppc-morphos-binu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/357f14ecea72
branches:  trunk
changeset: 431178:357f14ecea72
user:      js <js%pkgsrc.org@localhost>
date:      Sun May 10 02:14:18 2020 +0000

description:
Make cross/ppc-morphos-binutils build on NetBSD

diffstat:

 cross/ppc-morphos-binutils/Makefile                   |   4 +-
 cross/ppc-morphos-binutils/distinfo                   |   3 +-
 cross/ppc-morphos-binutils/patches/patch-bfd_sysdep.h |  25 +++++++++++++++++++
 3 files changed, 29 insertions(+), 3 deletions(-)

diffs (59 lines):

diff -r e5c7a8a74701 -r 357f14ecea72 cross/ppc-morphos-binutils/Makefile
--- a/cross/ppc-morphos-binutils/Makefile       Sat May 09 22:42:37 2020 +0000
+++ b/cross/ppc-morphos-binutils/Makefile       Sun May 10 02:14:18 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/04/26 09:47:41 rillig Exp $
+# $NetBSD: Makefile,v 1.3 2020/05/10 02:14:18 js Exp $
 
 DISTNAME=      sdk-source-20191111
 PKGNAME=       ppc-morphos-binutils-2.33.1
@@ -31,7 +31,7 @@
        ${RUN} cd ${WRKDIR}/sdk-source/binutils && \
                ${XZCAT} binutils-${PKGVERSION_NOREV}.tar.xz | ${GTAR} xf -
 
-do-patch:
+pre-patch:
        ${RUN} cd ${WRKDIR}/sdk-source/binutils && \
                ${PATCH} -p0 <binutils-${PKGVERSION_NOREV}-morphos.diff
 
diff -r e5c7a8a74701 -r 357f14ecea72 cross/ppc-morphos-binutils/distinfo
--- a/cross/ppc-morphos-binutils/distinfo       Sat May 09 22:42:37 2020 +0000
+++ b/cross/ppc-morphos-binutils/distinfo       Sun May 10 02:14:18 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2020/04/14 20:53:21 js Exp $
+$NetBSD: distinfo,v 1.2 2020/05/10 02:14:18 js Exp $
 
 SHA1 (sdk-source-20191111.tar.xz) = 73188877bc83ddf7382f2dcef70c5bc9c631aec6
 RMD160 (sdk-source-20191111.tar.xz) = b8c01cc4e6caa897672f44426bc3e575abaeddc8
 SHA512 (sdk-source-20191111.tar.xz) = d201e1a6425d847ec5567939225db402524436398d7961180d2295e69ef8003edaf311df49e89ef0fbefe3a0f6f74935a6d132e58b496e3be1f6136a91aa6634
 Size (sdk-source-20191111.tar.xz) = 503342768 bytes
+SHA1 (patch-bfd_sysdep.h) = 03c20efe391160b2a7e3b6fb01e6bdc1107ee49c
diff -r e5c7a8a74701 -r 357f14ecea72 cross/ppc-morphos-binutils/patches/patch-bfd_sysdep.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cross/ppc-morphos-binutils/patches/patch-bfd_sysdep.h     Sun May 10 02:14:18 2020 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-bfd_sysdep.h,v 1.1 2020/05/10 02:14:18 js Exp $
+
+--- bfd/sysdep.h.orig  2020-05-10 01:34:09.000000000 +0000
++++ bfd/sysdep.h
+@@ -33,9 +33,6 @@
+ #endif
+ 
+ #include <stdio.h>
+-#if defined(MORPHOS_TARGET) && !defined(__off64_t_defined)
+-typedef int64_t         off64_t;
+-#endif
+ #include <sys/types.h>
+ 
+ #include <errno.h>
+@@ -96,6 +93,10 @@ extern char *strrchr ();
+ #endif
+ #endif
+ 
++#if defined(MORPHOS_TARGET) && !defined(__off64_t_defined)
++typedef int64_t         off64_t;
++#endif
++
+ #ifndef O_RDONLY
+ #define O_RDONLY 0
+ #endif



Home | Main Index | Thread Index | Old Index