summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-10-05 22:44:34 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-10-05 22:44:34 +0000
commit09512d029160152c511273ecae91622c9fb59a54 (patch)
treefa49f2c25ffc18ad6ffb8839369f67137dc20cb9 /app-mobilephone/vmoconv/files
parentRespect user's CFLAGS (bug #240128). (diff)
downloadhistorical-09512d029160152c511273ecae91622c9fb59a54.tar.gz
historical-09512d029160152c511273ecae91622c9fb59a54.tar.bz2
historical-09512d029160152c511273ecae91622c9fb59a54.zip
Extend patch to actually build with glibc 2.8. Closes bug #239611.
Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64
Diffstat (limited to 'app-mobilephone/vmoconv/files')
-rw-r--r--app-mobilephone/vmoconv/files/vmoconv-1.0-glibc28.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-mobilephone/vmoconv/files/vmoconv-1.0-glibc28.patch b/app-mobilephone/vmoconv/files/vmoconv-1.0-glibc28.patch
index 5f3269cc4f8c..ec957b40c5cd 100644
--- a/app-mobilephone/vmoconv/files/vmoconv-1.0-glibc28.patch
+++ b/app-mobilephone/vmoconv/files/vmoconv-1.0-glibc28.patch
@@ -10,3 +10,15 @@ diff -Naur vmoconv-1.0.orig/src/gsm2vmo.c vmoconv-1.0/src/gsm2vmo.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+diff -Naur vmoconv-1.0.orig/src/vmo2gsm.c vmoconv-1.0/src/vmo2gsm.c
+--- vmoconv-1.0.orig/src/vmo2gsm.c 2008-06-15 12:57:07.000000000 -0400
++++ vmoconv-1.0/src/vmo2gsm.c 2008-06-15 12:57:36.000000000 -0400
+@@ -27,7 +27,7 @@
+ * 12 bit header and 260 bits standard GSM frame, as described
+ * in GSM 06.10 and GSM 06.12. The header is 0x2010 always.
+ */
+-
++#include <limits.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>