pkgsrc-Changes archive

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

CVS commit: pkgsrc/cross/ppc-morphos-binutils



Module Name:    pkgsrc
Committed By:   js
Date:           Sun May 10 02:14:18 UTC 2020

Modified Files:
        pkgsrc/cross/ppc-morphos-binutils: Makefile distinfo
Added Files:
        pkgsrc/cross/ppc-morphos-binutils/patches: patch-bfd_sysdep.h

Log Message:
Make cross/ppc-morphos-binutils build on NetBSD


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/cross/ppc-morphos-binutils/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/cross/ppc-morphos-binutils/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/cross/ppc-morphos-binutils/patches/patch-bfd_sysdep.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/ppc-morphos-binutils/Makefile
diff -u pkgsrc/cross/ppc-morphos-binutils/Makefile:1.2 pkgsrc/cross/ppc-morphos-binutils/Makefile:1.3
--- pkgsrc/cross/ppc-morphos-binutils/Makefile:1.2      Sun Apr 26 09:47:41 2020
+++ pkgsrc/cross/ppc-morphos-binutils/Makefile  Sun May 10 02:14:18 2020
@@ -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 @@ post-extract:
        ${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
 

Index: pkgsrc/cross/ppc-morphos-binutils/distinfo
diff -u pkgsrc/cross/ppc-morphos-binutils/distinfo:1.1 pkgsrc/cross/ppc-morphos-binutils/distinfo:1.2
--- pkgsrc/cross/ppc-morphos-binutils/distinfo:1.1      Tue Apr 14 20:53:21 2020
+++ pkgsrc/cross/ppc-morphos-binutils/distinfo  Sun May 10 02:14:18 2020
@@ -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

Added files:

Index: pkgsrc/cross/ppc-morphos-binutils/patches/patch-bfd_sysdep.h
diff -u /dev/null pkgsrc/cross/ppc-morphos-binutils/patches/patch-bfd_sysdep.h:1.1
--- /dev/null   Sun May 10 02:14:18 2020
+++ pkgsrc/cross/ppc-morphos-binutils/patches/patch-bfd_sysdep.h        Sun May 10 02:14:18 2020
@@ -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