diff options
author | Rene Wagner <rw@handhelds.org> | 2006-05-13 15:42:03 +0200 |
---|---|---|
committer | Rene Wagner <rw@handhelds.org> | 2006-05-13 15:42:03 +0200 |
commit | 5a5346dfbec459c10d9e61e16e125b83975a1ef1 (patch) | |
tree | 342e16f3fe790d03b93294344e6154459888939f /org.handhelds.familiar/packages/cdparanoia |
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e35772d79306d1d9de19c12b23681618532d.
Diffstat (limited to 'org.handhelds.familiar/packages/cdparanoia')
-rw-r--r-- | org.handhelds.familiar/packages/cdparanoia/cdparanoia_9.8alpha.bb | 28 | ||||
-rw-r--r-- | org.handhelds.familiar/packages/cdparanoia/files/fixes.patch | 63 |
2 files changed, 91 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/cdparanoia/cdparanoia_9.8alpha.bb b/org.handhelds.familiar/packages/cdparanoia/cdparanoia_9.8alpha.bb new file mode 100644 index 0000000..9160fdd --- /dev/null +++ b/org.handhelds.familiar/packages/cdparanoia/cdparanoia_9.8alpha.bb @@ -0,0 +1,28 @@ +# cdparanoia OE build file +# Copyright (C) 2005, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +PR="r1" +LICENSE="GPL" + +SRC_URI="http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-alpha9.8.src.tgz \ + file://fixes.patch;patch=1" + +S="${WORKDIR}/cdparanoia-III-alpha9.8" + +inherit autotools + +do_install() { + oe_runmake BINDIR="${D}/usr/bin" MANDIR="${D}/usr/share/man/" \ + INCLUDEDIR="${D}/usr/include/" LIBDIR="${D}/usr/lib" install +} + +do_stage() { + install -d ${STAGING_INCDIR} ${STAGING_LIBDIR} + + install -m 0644 paranoia/cdda_paranoia.h ${STAGING_INCDIR} + install -m 0644 interface/cdda_interface.h ${STAGING_INCDIR} + + oe_libinstall -C interface libcdda_interface ${STAGING_LIBDIR} + oe_libinstall -C paranoia libcdda_paranoia ${STAGING_LIBDIR} +} diff --git a/org.handhelds.familiar/packages/cdparanoia/files/fixes.patch b/org.handhelds.familiar/packages/cdparanoia/files/fixes.patch new file mode 100644 index 0000000..6ffc8a6 --- /dev/null +++ b/org.handhelds.familiar/packages/cdparanoia/files/fixes.patch @@ -0,0 +1,63 @@ +--- cdparanoia-III-alpha9.8/configure.in 2000-03-26 00:33:22.000000000 -0700 ++++ cdparanoia-III-alpha9.8.new/configure.in 2004-12-23 16:34:04.072846728 -0700 +@@ -1,7 +1,7 @@ + AC_INIT(interface/interface.c) + +-cp $srcdir/configure.guess $srcdir/config.guess +-cp $srcdir/configure.sub $srcdir/config.sub ++#cp $srcdir/configure.guess $srcdir/config.guess ++#cp $srcdir/configure.sub $srcdir/config.sub + + AC_CANONICAL_HOST + +--- cdparanoia-III-alpha9.8/interface/utils.h 2000-04-19 15:41:04.000000000 -0700 ++++ cdparanoia-III-alpha9.8.new/interface/utils.h 2004-12-23 16:37:11.126410264 -0700 +@@ -111,7 +111,7 @@ + d->errorbuf=catstring(d->errorbuf,s); + break; + case CDDA_MESSAGE_FORGETIT: +- default: ++ default: ; + } + } + } +@@ -126,7 +126,7 @@ + d->messagebuf=catstring(d->messagebuf,s); + break; + case CDDA_MESSAGE_FORGETIT: +- default: ++ default: ; + } + } + } +@@ -168,7 +168,7 @@ + } + break; + case CDDA_MESSAGE_FORGETIT: +- default: ++ default: ; + } + } + if(malloced)free(buffer); +@@ -204,7 +204,7 @@ + } + break; + case CDDA_MESSAGE_FORGETIT: +- default: ++ default: ; + } + } + if(malloced)free(buffer); +--- cdparanoia-III-alpha9.8/interface/scan_devices.c 2001-03-25 22:44:01.000000000 -0700 ++++ cdparanoia-III-alpha9.8.new/interface/scan_devices.c 2004-12-23 16:38:47.128815680 -0700 +@@ -19,6 +19,10 @@ + #include "common_interface.h" + #include "utils.h" + ++#ifndef PATH_MAX ++#define PATH_MAX 4096 ++#endif ++ + #define MAX_DEV_LEN 20 /* Safe because strings only come from below */ + /* must be absolute paths! */ + static char *scsi_cdrom_prefixes[]={ |