summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-12-12 20:07:29 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-12-12 20:07:29 +0000
commite8b2b6e80c52fab11ad8dfcd6abfed06b901dafa (patch)
treefefc7ee8de91bbb409cf1e1323cd8b09ada15d4b /media-sound/timidity++/files
parentfix typo in virtuals for ghostscript (diff)
downloadgentoo-2-e8b2b6e80c52fab11ad8dfcd6abfed06b901dafa.tar.gz
gentoo-2-e8b2b6e80c52fab11ad8dfcd6abfed06b901dafa.tar.bz2
gentoo-2-e8b2b6e80c52fab11ad8dfcd6abfed06b901dafa.zip
Adding amd64 keyword - #33641
Diffstat (limited to 'media-sound/timidity++/files')
-rw-r--r--media-sound/timidity++/files/gnuconfig_update.patch11
-rw-r--r--media-sound/timidity++/files/long-64bit.patch32
2 files changed, 43 insertions, 0 deletions
diff --git a/media-sound/timidity++/files/gnuconfig_update.patch b/media-sound/timidity++/files/gnuconfig_update.patch
new file mode 100644
index 000000000000..381e27727614
--- /dev/null
+++ b/media-sound/timidity++/files/gnuconfig_update.patch
@@ -0,0 +1,11 @@
+diff -ruN TiMidity++-2.12.0-pre1.orig/configure.in TiMidity++-2.12.0-pre1/configure.in
+--- TiMidity++-2.12.0-pre1.orig/configure.in 2002-01-17 18:51:32.000000000 -0500
++++ TiMidity++-2.12.0-pre1/configure.in 2003-11-16 17:43:19.354413704 -0500
+@@ -1268,6 +1268,7 @@
+ ])
+
+ dnl UMP configuration
++AM_CONDITIONAL(ENABLE_PLUGIN, false)
+ CONFIG_INTERFACE(ump, PLUGIN, p,
+ [ --enable-ump UMP configuration (default is no)],
+ [ if test ! -d ump; then
diff --git a/media-sound/timidity++/files/long-64bit.patch b/media-sound/timidity++/files/long-64bit.patch
new file mode 100644
index 000000000000..482a49fc9b6c
--- /dev/null
+++ b/media-sound/timidity++/files/long-64bit.patch
@@ -0,0 +1,32 @@
+diff -ruN TiMidity++-2.12.0-pre1.orig/configure.in TiMidity++-2.12.0-pre1/configure.in
+--- TiMidity++-2.12.0-pre1.orig/configure.in 2002-01-17 18:51:32.000000000 -0500
++++ TiMidity++-2.12.0-pre1/configure.in 2003-11-10 23:00:22.000000000 -0500
+@@ -320,6 +320,10 @@
+ AC_TYPE_SIZE_T
+ AC_HEADER_TIME
+
++AC_CHECK_SIZEOF(short)
++AC_CHECK_SIZEOF(int)
++AC_CHECK_SIZEOF(long)
++
+ AC_CACHE_CHECK(volatile declaration,timidity_cv_type_volatile,
+ AC_TRY_COMPILE(,volatile int x,
+ timidity_cv_type_volatile=yes,timidity_cv_type_volatile=no))
+diff -ruN TiMidity++-2.12.0-pre1.orig/timidity/timidity.h TiMidity++-2.12.0-pre1/timidity/timidity.h
+--- TiMidity++-2.12.0-pre1.orig/timidity/timidity.h 2002-01-15 05:53:21.000000000 -0500
++++ TiMidity++-2.12.0-pre1/timidity/timidity.h 2003-11-11 22:08:08.813216152 -0500
+@@ -411,12 +411,11 @@
+
+ /* DEC MMS has 64 bit long words */
+ /* Linux-Axp has also 64 bit long words */
+-#if defined(DEC) || defined(__alpha__)
++#if SIZEOF_INT == 4
+ typedef unsigned int uint32;
+ typedef int int32;
+ #else
+-typedef unsigned long uint32;
+-typedef long int32;
++#error "Can't get a 32-bit type"
+ #endif
+ #ifdef HPUX
+ typedef unsigned short uint16;