• 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/fbv/0002-cross.patch
Peter KorsgaardPeter Korsgaard committed 298cd8eaa2103 Feb 2015
Raw file
Source viewDiff to previous
 
1
diff -urpN fbv-1.0b.orig/configure fbv-1.0b/configure
2
--- fbv-1.0b.orig/configure 2004-09-07 13:29:27.000000000 +0200
3
+++ fbv-1.0b/configure  2008-04-24 10:52:37.000000000 +0200
4
@@ -80,6 +80,7 @@ while true ; do
5
    esac
6
 done
7
 
8
+[ -z "$CC" ] && CC=cc
9
 [ -z "$prefix" ] && prefix="/usr/local"
10
 [ -z "$bindir" ] && bindir="${prefix}/bin"
11
 [ -z "$mandir" ] && mandir="${prefix}/man"
12
@@ -106,12 +107,12 @@ xdir="/usr/X11R6"
13
 ungif="no"
14
 echo "libungif check" >>./config.log
15
 echo "  1st:" >>./config.log
16
-cc 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -lungif $libs
17
+$CC 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -lungif $libs
18
 if [ -e \$\$~test ]; then
19
    libs="-lungif $libs" ; ungif="yes"
20
 else
21
    echo "  2nd: -lX11 -L$xdir/lib" >>./config.log
22
-   cc 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -lungif -lX11 -L$xdir/lib $libs
23
+   $CC 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -lungif -lX11 -L$xdir/lib $libs
24
    if [ -e \$\$~test ]; then
25
    libs="-lungif -lX11 -L$xdir/lib $libs" ; ungif="yes"
26
    fi
27
@@ -124,7 +125,7 @@ echo "libungif: $ungif" >> ./config.log
28
 echo -n "checking for libjpeg presence... "
29
 if [ "$jpeg" != "disabled" ]; then
30
 jpeg="no"
31
-cc 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -ljpeg $libs
32
+$CC 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -ljpeg $libs
33
 if [ -e \$\$~test ]; then
34
    libs="-ljpeg $libs" ; jpeg="yes"
35
 fi
36
@@ -135,7 +136,7 @@ echo "libjpeg: $jpeg" >> ./config.log
37
 echo -n "checking for libpng presence... "
38
 if [ "$png" != "disabled" ]; then
39
 png="no"
40
-cc 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -lpng $libs
41
+$CC 2>>./config.log >>./config.log -o \$\$~test \$\$~test.c -lpng $libs
42
 if [ -e \$\$~test ]; then
43
    libs="-lpng $libs" ; png="yes"
44
 fi
  • 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.