summaryrefslogtreecommitdiffstats
path: root/package/multimedia/alsa-utils/alsa-utils-1.0.18-acs_map.patch.avr32
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2009-08-20 00:07:27 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2009-08-20 00:07:27 +0200
commit350b6c6e4b039ae0256e52cd06c6f6d769a1c2b1 (patch)
treeb54717b9ce9280a81abf7fadc097419e47a01d3c /package/multimedia/alsa-utils/alsa-utils-1.0.18-acs_map.patch.avr32
parenta0c23b6d2b5ef8222a98d426cb42f6aa2e47b228 (diff)
downloadbuildroot-novena-350b6c6e4b039ae0256e52cd06c6f6d769a1c2b1.tar.gz
buildroot-novena-350b6c6e4b039ae0256e52cd06c6f6d769a1c2b1.zip
alsa-utils: fix build for x86 on x86-64
alsa-utils included two ugly patches for ARM and AVR32 to fix build issues encountered with ncurses. In fact these build issues were caused by the fact that alsa-utils was using ncurses5-config of the host instead of the one installed in $(STAGING_DIR). Therefore, these two patches are removed, and we instead pass ac_cv_prog_ncurses5_config to the ./configure script. This commit solves bug #569, reported by Simon Pasch, who also contributed this fix. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/multimedia/alsa-utils/alsa-utils-1.0.18-acs_map.patch.avr32')
-rw-r--r--package/multimedia/alsa-utils/alsa-utils-1.0.18-acs_map.patch.avr3229
1 files changed, 0 insertions, 29 deletions
diff --git a/package/multimedia/alsa-utils/alsa-utils-1.0.18-acs_map.patch.avr32 b/package/multimedia/alsa-utils/alsa-utils-1.0.18-acs_map.patch.avr32
deleted file mode 100644
index e2103f850..000000000
--- a/package/multimedia/alsa-utils/alsa-utils-1.0.18-acs_map.patch.avr32
+++ /dev/null
@@ -1,29 +0,0 @@
-When configuring alsa-utils, it will use the hosts <ncurses.h>
-See: alsa-utils <VERSION> / alsamixer/.deps/alsamicer.Po
-This will, on OpenSuSE 11.0, and possibly other distributions
-result in that the preprocessor directive:
-#define acs_map _nc_acs_map
-which is present in the Buildroot build of ncurses,
-is not executed, and the
-extern <chartype> acs_map[];
-declaration in the host ncurses will
-result in an undefined symbol: acs_map.
-
-This patches give up trying to force alsa-utils to use the correct
-ncurses, and just defines a byte with the needed symbol.
-
-
-diff -urN alsa-utils-1.0.18-0rig//alsamixer/alsamixer.c alsa-utils-1.0.18/alsamixer/alsamixer.c
---- alsa-utils-1.0.18-0rig//alsamixer/alsamixer.c 2008-10-29 13:42:11.000000000 +0100
-+++ alsa-utils-1.0.18/alsamixer/alsamixer.c 2009-01-22 23:35:29.000000000 +0100
-@@ -115,6 +115,10 @@
- #include <sys/time.h>
-
- #include <locale.h>
-+/* Ugly hack to get rid of undefined "acs_map" */
-+/* This is caused by configure using host ncurses.h */
-+/* instead of buildroot's ncurses.h */
-+unsigned long acs_map[1];
-
- #ifndef CURSESINC
- #include <ncurses.h>