Patches to make Bochs 2.6.2 work with Pintos
[pintos-anon] / src / misc / bochs-2.6.2-xrandr-pkgconfig.patch
1 diff -Naur bochs-2.6.2.orig/configure bochs-2.6.2/configure
2 --- bochs-2.6.2.orig/configure  2014-01-06 16:39:03.000000000 -0800
3 +++ bochs-2.6.2/configure       2014-01-06 16:39:23.000000000 -0800
4 @@ -24202,8 +24202,8 @@
5    fi
6  
7    if test "$PKGCONFIG" != not_found; then
8 -    X_CFLAGS="`pkg-config --cflags x11`"
9 -    X_LIBS="`pkg-config --libs x11` $XPM_LIB -lXrandr"
10 +    X_CFLAGS="`pkg-config --cflags x11 xrandr`"
11 +    X_LIBS="`pkg-config --libs x11 xrandr` $XPM_LIB"
12    else
13      X_LIBS="$X_LIBS -lX11 $XPM_LIB -lXrandr"
14    fi