• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libmpeg2/0001-altivec.patch
Peter KorsgaardPeter Korsgaard committed 298cd8eaa2103 Feb 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
[PATCH] fix altivec.h detection
2
​
3
Patch from Gentoo:
4
​
5
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-libs/libmpeg2/files/libmpeg2-0.5.1-altivec.patch?revision=1.1&view=markup
6
​
7
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
8
--- a/configure.ac.bak  2010-05-25 17:12:14.756245990 +0000
9
+++ b/configure.ac  2010-05-25 17:11:51.629581723 +0000
10
@@ -79,11 +79,10 @@
11
         CFLAGS="$OPT_CFLAGS $TRY_CFLAGS $CFLAGS"
12
         AC_MSG_CHECKING([if <altivec.h> is needed])
13
         AC_TRY_COMPILE([],
14
-           [typedef vector int t;
15
-            vec_ld(0, (unsigned char *)0);],
16
+           [vector int t; t = vec_add(t,t);],
17
            [have_altivec=yes; AC_MSG_RESULT(no)],
18
            [AC_TRY_COMPILE([#include <altivec.h>],
19
-           [typedef vector int t; vec_ld(0, (unsigned char *)0);],
20
+           [vector int t; t = vec_add(t,t);],
21
            [AC_DEFINE([HAVE_ALTIVEC_H],,
22
                [Define to 1 if you have the <altivec.h> header.])
23
             have_altivec=yes; AC_MSG_RESULT(yes)],
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.