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

re:mule-2.3 for hpcmips



yass といいます。

mule-2.3 の hpcmips 対応パッチです。
もっとマシなものに直していただければ嬉しいです。

やはり pkgsrc 丸ごとでは大きすぎるので、「差分だけにすれば」 とのアドバイス
を受けましたのでそうする事にしました。

オリジナルは mv hogehoge hogehoge.orig とでもしてください。私のところでは、

distinfo ---------- mule/distinfo
configure -------- mule/patches/patch-ad
configure.in ------ mule/patches/patch-ap
src/m/mipsel.h --- patch-aq
config.sub -------- patch-at

となっています。

yass /ex JJ1KNU
email: br3y-ngt@asahi-net.or.jp

---------- ここから ----------
--- distinfo.orig Fri Apr 20 20:54:50 2001
+++ distinfo Tue Jul 24 21:25:14 2001
@@ -5,7 +5,7 @@
 SHA1 (patch-aa) = 1ef62f91bb274681045fb4ce8a1c220544a0fbf6
 SHA1 (patch-ab) = f7df46aab05a2a7c7c3d9dbc26f29091e0320734
 SHA1 (patch-ac) = e8e2c9ec75b2068504bcb972e21e71d9c30aa199
-SHA1 (patch-ad) = 4e308d622f57f6a959ee69e65db95f004193e6d4
+SHA1 (patch-ad) = 580b701bf2a2c6177ad23346710a15b29719f622
 SHA1 (patch-ae) = 37eab48ec58662aae825b48960fbcf3997a89fdf
 SHA1 (patch-af) = 8337bad716064a0b13d0124c48fe8b7489e1896f
 SHA1 (patch-ag) = 01a77ea82bef89b1c2b167be88cf310119582a1f
@@ -17,8 +17,11 @@
 SHA1 (patch-am) = db0cb7e7735f115846c4590c5d5ca0b5154b82be
 SHA1 (patch-an) = 205f9a5a857454a6daaf3ca8c737043be9782352
 SHA1 (patch-ao) = 4665ee4d0f22f832752a356ebeaae88582bb6054
+SHA1 (patch-ap) = d1d4972a5e40b4a21822ca128e59e0fcc8ad5a08
+SHA1 (patch-aq) = 6f94a68eb72091349b56465e1ba657b7efeff4d9
 SHA1 (patch-ar) = a79be484016d32422e8d7de001f829ebf63a06e4
 SHA1 (patch-as) = 1b978df26a2bc302ee9b5f20c5390b13647ee448
+SHA1 (patch-at) = 8340dd2a04148fa9382ace936fc69e2894c2f7f8
 SHA1 (patch-au) = a7a9759961fa6a7f845de5b44a00575795ce40ed
 SHA1 (patch-av) = 197a6b921bb6ce962bda131383c3d153fa712d6f
 SHA1 (patch-aw) = 7a21c26b2a6621216f972d5bc7125b6df1c628ca
--- configure.orig Mon Jun  5 10:11:38 1995
+++ configure Mon Jul 23 00:23:50 2001
@@ -581,12 +581,15 @@
   *-*-netbsd* )
     opsys=netbsd
     case "${canonical}" in
+      alpha-*-netbsd*) machine=alpha ;;
       i[345]86-*-netbsd*) machine=intel386 ;;
       m68k-*-netbsd*)
    # This is somewhat bogus.
    machine=hp9000s300 ;;
       mips-*-netbsd*) machine=pmax ;;
+      mipsel-*-netbsd*) machine=mipsel ;;
       ns32k-*-netbsd*) machine=ns32000 ;;
+      powerpc-*-netbsd*) machine=powerpc ;;
       sparc-*-netbsd*) machine=sparc ;;
     esac
   ;;
--- configure.in.orig Sun Jun  4 17:00:48 1995
+++ configure.in Mon Jul 23 00:33:14 2001
@@ -585,12 +585,15 @@
   *-*-netbsd* )
     opsys=netbsd
     case "${canonical}" in
+      alpha-*-netbsd*)  machine=alpha ;;
       i[345]86-*-netbsd*) machine=intel386 ;;
       m68k-*-netbsd*)
    # This is somewhat bogus.
    machine=hp9000s300 ;;
       mips-*-netbsd*) machine=pmax ;;
+      mipsel-*-netbsd*) machine=mipsel ;;
       ns32k-*-netbsd*) machine=ns32000 ;;
+      powerpc-*-netbsd*) machine=powerpc ;;
       sparc-*-netbsd*) machine=sparc ;;
     esac
   ;;
--- /dev/null Tue Jul 24 19:26:14 2001
+++ src/m/mipsel.h Tue Jul 24 20:56:50 2001
@@ -0,0 +1,42 @@
+/* m- file for mipsel machines. */
+
+#define SHORTBITS 16
+#define INTBITS 32
+#define LONGBITS 32
+#define NO_ARG_ARRAY
+#undef WORD_MACHINE
+#define SIGN_EXTEND_CHAR(c) ((signed char)(c))
+#define NO_UNION_TYPE
+#define EXPLICIT_SIGN_EXTEND
+#define LOAD_AVE_TYPE long
+#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / 256.0)
+#undef CANNOT_DUMP
+
+#ifdef __GNUC__
+#define HAVE_ALLOCA
+#else
+#define C_ALLOCA
+#endif
+
+#define NO_REMAP
+#define UNEXEC unexelf.o
+#define TEXT_START 0x00400000
+#define DATA_START 0x10000000
+#define DATA_SEG_BITS 0x10000000
+#define LD_SWITCH_MACHINE -D 800000
+#define LIBS_DEBUG
+#define XUINT(a) (((unsigned)(a) << (INTBITS-VALBITS)) >>
(INTBITS-VALBITS))
+#define XSET(var, type, ptr)      \
+  ((var) =        \
+   ((int)(type) << VALBITS)      \
+   + (((unsigned) (ptr) << (INTBITS-VALBITS)) >> (INTBITS-VALBITS)))
+#define XSETINT(a, b)  XSET(a, XTYPE(a), b)
+#define XSETUINT(a, b) XSET(a, XTYPE(a), b)
+#define XSETPNTR(a, b) XSET(a, XTYPE(a), b)
+#define XUNMARK(a)       \
+  ((a) =        \
+   (((unsigned)(a) << (INTBITS-GCTYPEBITS-VALBITS))   \
+    >> (INTBITS-GCTYPEBITS-VALBITS)))
+#define MAIL_USE_FLOCK
+#define HAVE_UNION_WAIT
+#define SET_CHILD_PTY_PGRP
--- config.sub.orig Fri Oct 21 13:17:29 1994
+++ config.sub Tue Jul 24 21:22:10 2001
@@ -115,7 +115,7 @@
  tahoe | i[345]86 | i860 | m68k | m68000 | m88k | ns32k | arm | pyramid \
   | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \
   | alpha | we32k | ns16k | clipper | sparclite | i370 | sh \
-  | powerpc | sparc64 | 1750a | dsp16xx)
+  | powerpc | sparc64 | 1750a | dsp16xx | mipsel-)
   basic_machine=$basic_machine-unknown
   ;;
  # Object if more than one company name word.
--------- ここまで ----------