diff options
| author | Richard Purdie <richard@openedhand.com> | 2008-07-18 12:28:46 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2008-07-18 12:28:46 +0000 |
| commit | e8bda8575637b967afaa0321fc3aeb69e809087a (patch) | |
| tree | d4865b2556e227b403f9c13ad128d9bfb3c009d8 /meta/packages/gcc/gcc-4.3.1/debian/libjava-disable-static.dpatch | |
| parent | f204c8376f18d6cc443e7f4533d7eeace5d45f95 (diff) | |
| download | poky-e8bda8575637b967afaa0321fc3aeb69e809087a.tar.gz | |
gcc 4.3.0 -> 4.3.1 (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4876 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gcc/gcc-4.3.1/debian/libjava-disable-static.dpatch')
| -rw-r--r-- | meta/packages/gcc/gcc-4.3.1/debian/libjava-disable-static.dpatch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-4.3.1/debian/libjava-disable-static.dpatch b/meta/packages/gcc/gcc-4.3.1/debian/libjava-disable-static.dpatch new file mode 100644 index 0000000000..23f6846c3f --- /dev/null +++ b/meta/packages/gcc/gcc-4.3.1/debian/libjava-disable-static.dpatch | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | #! /bin/sh -e | ||
| 2 | |||
| 3 | # DP: Disable building the static libjava. | ||
| 4 | |||
| 5 | dir= | ||
| 6 | if [ $# -eq 3 -a "$2" = '-d' ]; then | ||
| 7 | pdir="-d $3" | ||
| 8 | dir="$3/" | ||
| 9 | elif [ $# -ne 1 ]; then | ||
| 10 | echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | ||
| 11 | exit 1 | ||
| 12 | fi | ||
| 13 | case "$1" in | ||
| 14 | -patch) | ||
| 15 | patch $pdir -f --no-backup-if-mismatch -p0 < $0 | ||
| 16 | ;; | ||
| 17 | -unpatch) | ||
| 18 | patch $pdir -f --no-backup-if-mismatch -R -p0 < $0 | ||
| 19 | ;; | ||
| 20 | *) | ||
| 21 | echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | ||
| 22 | exit 1 | ||
| 23 | esac | ||
| 24 | exit 0 | ||
| 25 | |||
| 26 | --- Makefile.in~ 2007-03-26 10:44:16.881179540 +0200 | ||
| 27 | +++ Makefile.in 2007-03-26 10:48:27.564961048 +0200 | ||
| 28 | @@ -43901,7 +43901,7 @@ | ||
| 29 | rm -f no-such-file || : ; \ | ||
| 30 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | ||
| 31 | $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ | ||
| 32 | - --target=${target_alias} $${srcdiroption} \ | ||
| 33 | + --target=${target_alias} --disable-static $${srcdiroption} \ | ||
| 34 | || exit 1 | ||
| 35 | @endif target-libjava | ||
| 36 | |||
| 37 | @@ -44783,7 +44783,7 @@ | ||
| 38 | rm -f no-such-file || : ; \ | ||
| 39 | CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ | ||
| 40 | $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ | ||
| 41 | - --target=${target_alias} $${srcdiroption} \ | ||
| 42 | + --target=${target_alias} --disable-static $${srcdiroption} \ | ||
| 43 | || exit 1 | ||
| 44 | @endif target-boehm-gc | ||
| 45 | |||
