diff options
Diffstat (limited to 'media-gfx/icc_examin/files/icc_examin-0.55-fix-xrandr-test.patch')
-rw-r--r-- | media-gfx/icc_examin/files/icc_examin-0.55-fix-xrandr-test.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/media-gfx/icc_examin/files/icc_examin-0.55-fix-xrandr-test.patch b/media-gfx/icc_examin/files/icc_examin-0.55-fix-xrandr-test.patch new file mode 100644 index 000000000000..51046058422d --- /dev/null +++ b/media-gfx/icc_examin/files/icc_examin-0.55-fix-xrandr-test.patch @@ -0,0 +1,21 @@ +--- icc_examin-0.55/configure_tests.sh ++++ icc_examin-0.55/configure_tests.sh +@@ -689,7 +689,8 @@ + if [ -z "$found" ]; then + pkg-config --atleast-version=1.2 $pc_package + if [ $? = 0 ]; then +- found=`pkg-config --cflags $pc_package` ++ found="yes" ++ cflags=`pkg-config --cflags $pc_package` + version=`pkg-config --modversion $pc_package` + fi + fi +@@ -703,7 +704,7 @@ + if [ -n "$MAKEFILE_DIR" ]; then + for i in $MAKEFILE_DIR; do + test -f "$ROOT_DIR/$i/makefile".in && echo "XRANDR = 1" >> "$i/makefile" +- test -f "$ROOT_DIR/$i/makefile".in && echo "XRANDR_INC = $found" >> "$i/makefile" ++ test -f "$ROOT_DIR/$i/makefile".in && echo "XRANDR_INC = $cflags" >> "$i/makefile" + done + fi + elif [ $OSUNAME = "Linux" ]; then |