pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/pearpc



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sat Mar 17 01:27:55 UTC 2018

Modified Files:
        pkgsrc/emulators/pearpc: Makefile distinfo
        pkgsrc/emulators/pearpc/patches: patch-ag
Added Files:
        pkgsrc/emulators/pearpc/patches:
            patch-src_cpu_cpu__jitc__x86__64_ppc__mmu.cc
Removed Files:
        pkgsrc/emulators/pearpc/patches: patch-ah patch-src_system_types.h

Log Message:
Update to 0.5

* Use c++03 to fix build.
* ppc binary is not PaX MPROTECT safe.

Changelog:
version 0.5 (released 13. July 2011):
        - slightly better code for lmw/stmw opcodes
        - use "GNU as" instead of nasm
        - use -mdynamic-no-pic on *darwin
        - fixed some strict-aliasing problems
        - JITC: AMD64 support
        - compiles with gcc 4.3, 4.4, 4.5


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/emulators/pearpc/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/emulators/pearpc/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/pearpc/patches/patch-ag
cvs rdiff -u -r1.1 -r0 pkgsrc/emulators/pearpc/patches/patch-ah \
    pkgsrc/emulators/pearpc/patches/patch-src_system_types.h
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/pearpc/patches/patch-src_cpu_cpu__jitc__x86__64_ppc__mmu.cc

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

Modified files:

Index: pkgsrc/emulators/pearpc/Makefile
diff -u pkgsrc/emulators/pearpc/Makefile:1.19 pkgsrc/emulators/pearpc/Makefile:1.20
--- pkgsrc/emulators/pearpc/Makefile:1.19       Sat Apr 25 14:20:46 2015
+++ pkgsrc/emulators/pearpc/Makefile    Sat Mar 17 01:27:55 2018
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2015/04/25 14:20:46 tnn Exp $
+# $NetBSD: Makefile,v 1.20 2018/03/17 01:27:55 ryoon Exp $
 
-DISTNAME=              pearpc-0.4
-PKGREVISION=           3
+DISTNAME=              pearpc-0.5
 CATEGORIES=            emulators
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=pearpc/}
 EXTRACT_SUFX=          .tar.bz2
@@ -11,7 +10,9 @@ HOMEPAGE=             http://pearpc.sourceforge.net
 COMMENT=               PowerPC emulator
 
 GNU_CONFIGURE=         yes
-USE_LANGUAGES=         c c++
+USE_LANGUAGES=         c c++03
+
+BUILDLINK_TRANSFORM+=  rm:-Wall
 
 EGDIR=                 ${PREFIX}/share/examples/${PKGBASE}
 CONF_FILES=            ${EGDIR}/ppccfg.example ${PKG_SYSCONFDIR}/ppccfg.conf
@@ -27,6 +28,8 @@ CONFIGURE_ARGS+=      --disable-debug
 
 INSTALLATION_DIRS=     share/${PKGBASE} ${EGDIR} bin
 
+NOT_PAX_MPROTECT_SAFE+=        share/pearpc/ppc
+
 do-install:
        ${SED}  -e "s,@PREFIX@,${PREFIX}," \
                -e "s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR}," \

Index: pkgsrc/emulators/pearpc/distinfo
diff -u pkgsrc/emulators/pearpc/distinfo:1.10 pkgsrc/emulators/pearpc/distinfo:1.11
--- pkgsrc/emulators/pearpc/distinfo:1.10       Tue Nov  3 20:31:01 2015
+++ pkgsrc/emulators/pearpc/distinfo    Sat Mar 17 01:27:55 2018
@@ -1,16 +1,15 @@
-$NetBSD: distinfo,v 1.10 2015/11/03 20:31:01 agc Exp $
+$NetBSD: distinfo,v 1.11 2018/03/17 01:27:55 ryoon Exp $
 
-SHA1 (pearpc-0.4.tar.bz2) = 1cfa4f19f9a1de73c209a38d8fda174c0ebe6ad5
-RMD160 (pearpc-0.4.tar.bz2) = 84c831b3ede69721d0fa48d71a30ee0e7ec512fc
-SHA512 (pearpc-0.4.tar.bz2) = 03b1c189ddeb16edbfa8cc5485543a329e2c34102701c8c9ac78ccb8b962f8cbb90e208939c6bf6b526970d77f3a07f16344d415a50d189612cf5f76d4ac6483
-Size (pearpc-0.4.tar.bz2) = 687776 bytes
+SHA1 (pearpc-0.5.tar.bz2) = 17c5ec69f0139d5a5ce02186a3c990040f45f343
+RMD160 (pearpc-0.5.tar.bz2) = 5f2cd819c21a2cd69465737cf873fc7f00c59188
+SHA512 (pearpc-0.5.tar.bz2) = 26fdc238e846bb52394c6a6e59c8b391b916c464a0e906bf0fb1007401eac3d278b5e4ca1f4f85238ea15f15b4ca731e0dcf5835c5ff189ac9307b98f3f3ab21
+Size (pearpc-0.5.tar.bz2) = 800380 bytes
 SHA1 (patch-aa) = bfb350b83e10c8862b978ee0a1cb02db841576ea
 SHA1 (patch-ab) = c8724e43d99476d5ccae8d8782dc8bf9705743ae
 SHA1 (patch-ac) = e6b52cf368391fe6d09722a6ba99e5b3933c5b03
 SHA1 (patch-ad) = 5932a40320c7783c8379d2af7f6d98a42707ff1b
 SHA1 (patch-ae) = 53dfb9a705296085bc1cdf707b9c491b0a2a4030
 SHA1 (patch-af) = dd2b1c23ab00313be04ca144fbceb3416b1d7d8f
-SHA1 (patch-ag) = 8ec459446fd666b99345d4a8963bcf47e35b0435
-SHA1 (patch-ah) = 0ba6c0f72f3fe382aa07bf2304813417ce2fd6f9
+SHA1 (patch-ag) = 2f7d50f5be1f72fb0902d1fd44c1fd0ff44439a8
+SHA1 (patch-src_cpu_cpu__jitc__x86__64_ppc__mmu.cc) = 9827762237ea18a18d3e4105479db58c5638fe80
 SHA1 (patch-src_cpu_mem.h) = cb21242ef53e72e0f75fc8ea6119ebad3d08b2e9
-SHA1 (patch-src_system_types.h) = 90cce88a9936616901e43a5c21cb5db11e9ce2da

Index: pkgsrc/emulators/pearpc/patches/patch-ag
diff -u pkgsrc/emulators/pearpc/patches/patch-ag:1.1 pkgsrc/emulators/pearpc/patches/patch-ag:1.2
--- pkgsrc/emulators/pearpc/patches/patch-ag:1.1        Thu Jan 12 20:57:25 2006
+++ pkgsrc/emulators/pearpc/patches/patch-ag    Sat Mar 17 01:27:55 2018
@@ -1,9 +1,9 @@
-$NetBSD: patch-ag,v 1.1 2006/01/12 20:57:25 joerg Exp $
+$NetBSD: patch-ag,v 1.2 2018/03/17 01:27:55 ryoon Exp $
 
---- configure.orig     2006-01-12 20:37:05.000000000 +0000
+--- configure.orig     2011-07-12 21:21:49.000000000 +0000
 +++ configure
-@@ -1934,7 +1934,7 @@ linux* | gnu* | k*bsd*-gnu)
- echo "${ECHO_T}*** GNU, building POSIX version. we need pthread and rt." >&6
+@@ -3154,7 +3154,7 @@ $as_echo "*** GNU, building POSIX versio
+       PPC_CXXFLAGS="$PPC_CXXFLAGS -pthread"
        PPC_LDADD="$PPC_LDADD -lpthread -lrt"
  ;;
 -freebsd*)

Added files:

Index: pkgsrc/emulators/pearpc/patches/patch-src_cpu_cpu__jitc__x86__64_ppc__mmu.cc
diff -u /dev/null pkgsrc/emulators/pearpc/patches/patch-src_cpu_cpu__jitc__x86__64_ppc__mmu.cc:1.1
--- /dev/null   Sat Mar 17 01:27:55 2018
+++ pkgsrc/emulators/pearpc/patches/patch-src_cpu_cpu__jitc__x86__64_ppc__mmu.cc        Sat Mar 17 01:27:55 2018
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_cpu_cpu__jitc__x86__64_ppc__mmu.cc,v 1.1 2018/03/17 01:27:55 ryoon Exp $
+
+* Support platforms that does not define MAP_32BIT, for example NetBSD.
+
+--- src/cpu/cpu_jitc_x86_64/ppc_mmu.cc.orig    2011-07-12 20:57:24.000000000 +0000
++++ src/cpu/cpu_jitc_x86_64/ppc_mmu.cc
+@@ -37,6 +37,10 @@
+ byte *gMemory = NULL;
+ uint32 gMemorySize;
+ 
++#ifndef MAP_32BIT
++#define MAP_32BIT 0
++#endif
++
+ #undef TLB
+ 
+ static int ppc_pte_protection[] = {



Home | Main Index | Thread Index | Old Index