diff options
Diffstat (limited to 'libraries/flashplugin-lahf-fix')
-rw-r--r-- | libraries/flashplugin-lahf-fix/README | 11 | ||||
-rw-r--r-- | libraries/flashplugin-lahf-fix/flashplugin-lahf-fix.SlackBuild | 40 | ||||
-rw-r--r-- | libraries/flashplugin-lahf-fix/flashplugin-lahf-fix.info | 10 | ||||
-rw-r--r-- | libraries/flashplugin-lahf-fix/slack-desc | 19 |
4 files changed, 0 insertions, 80 deletions
diff --git a/libraries/flashplugin-lahf-fix/README b/libraries/flashplugin-lahf-fix/README deleted file mode 100644 index 2f53e12b7a..0000000000 --- a/libraries/flashplugin-lahf-fix/README +++ /dev/null @@ -1,11 +0,0 @@ -Simple work-around for running the 64-bit Adobe Flash plug-in version 10 -on Athlon64 processors without support for the lahf instruction. - -Compile with: -cc -fPIC -shared -nostdlib -lc -oflashplugin-lahf-fix.so flashplugin-lahf-fix.c - -Then place the .so file in the plug-in directory (e.g. $HOME/.mozilla/plugins) -or use LD_PRELOAD to force Firefox to load the library. - -This slackbuild will put the flashplugin-lahf-fix.so file into -/usr/lib64/mozilla/plugins directory diff --git a/libraries/flashplugin-lahf-fix/flashplugin-lahf-fix.SlackBuild b/libraries/flashplugin-lahf-fix/flashplugin-lahf-fix.SlackBuild deleted file mode 100644 index f16f217d70..0000000000 --- a/libraries/flashplugin-lahf-fix/flashplugin-lahf-fix.SlackBuild +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh - -# Slackware build script for LAHF fix for flash plugin -# Written by Ken Roberts using code scrounged from the net - -PRGNAM=flashplugin-lahf-fix -VERSION=${VERSION:-0.2} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "${ARCH}" ]; then - ARCH="$(uname -m)" -fi -if [ "${ARCH}" != "x86_64" ] ; then - echo "This only works for x86_64 cpu's" - exit 1 -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=${TMP}/package-${PRGNAM} -OUTPUT=${OUTPUT:-/tmp} - -rm -rf $PKG -mkdir -p $PKG/usr/lib64/mozilla/plugins $OUTPUT - -cc -fPIC -shared -nostdlib -lc \ - -o $PKG/usr/lib64/mozilla/plugins/flashplugin-lahf-fix.so \ - $CWD/flashplugin-lahf-fix.c -chmod 0755 $PKG/usr/lib64/mozilla/plugins/flashplugin-lahf-fix.so - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/flashplugin-lahf-fix/flashplugin-lahf-fix.info b/libraries/flashplugin-lahf-fix/flashplugin-lahf-fix.info deleted file mode 100644 index d38bbc8024..0000000000 --- a/libraries/flashplugin-lahf-fix/flashplugin-lahf-fix.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="flashplugin-lahf-fix" -VERSION="0.2" -HOMEPAGE="http://slackbuilds.org/result/?search=flashplugin-lahf-fix" -DOWNLOAD="UNSUPPORTED" -MD5SUM="" -DOWNLOAD_x86_64="http://harrier.slackbuilds.org/misc/flashplugin-lahf-fix.c" -MD5SUM_x86_64="223b356f606aa4eea36e663d07f7a1d1" -REQUIRES="flashplayer-plugin" -MAINTAINER="Ken Roberts" -EMAIL="alisonken1@juno.com" diff --git a/libraries/flashplugin-lahf-fix/slack-desc b/libraries/flashplugin-lahf-fix/slack-desc deleted file mode 100644 index 5fe201ed0f..0000000000 --- a/libraries/flashplugin-lahf-fix/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -flashplugin-lahf-fix: flashplugin-lahf-fix (Fix early x86_64 cpu missing LAHF instruction) -flashplugin-lahf-fix: -flashplugin-lahf-fix: Early x86_64 cpu's did not have the lahf instruction. Unfortunately, -flashplugin-lahf-fix: Adobe wrote their flash using this instruction. -flashplugin-lahf-fix: This fix basically traps interrupts to see if it's due to lahf -flashplugin-lahf-fix: missing, then either returns OK or let's the interrupt continue for -flashplugin-lahf-fix: further processing. -flashplugin-lahf-fix: -flashplugin-lahf-fix: C-Code courtesy of: -flashplugin-lahf-fix: Maks Verver <maksverver@geocities.com> July 2009 -flashplugin-lahf-fix: |