[php-facedetect] Patch header to build with new opencv

topdog topdog at fedoraproject.org
Tue Jan 11 10:55:58 UTC 2011


commit f55dd63a2361d677935032d104d2e0de38cd63b4
Author: Andrew Colin Kissa <andrew at topdog.za.net>
Date:   Tue Jan 11 12:47:01 2011 +0200

    Patch header to build with new opencv

 facedetect-dso-link-workaround.patch |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/facedetect-dso-link-workaround.patch b/facedetect-dso-link-workaround.patch
index f6dacfc..4df1202 100644
--- a/facedetect-dso-link-workaround.patch
+++ b/facedetect-dso-link-workaround.patch
@@ -1,6 +1,6 @@
 diff -ruN facedetect.orig/config.m4 facedetect/config.m4
 --- facedetect.orig/config.m4	2010-03-15 02:07:12.000000000 +0200
-+++ facedetect/config.m4	2011-01-11 12:15:26.804019013 +0200
++++ facedetect/config.m4	2011-01-11 12:43:24.872761812 +0200
 @@ -25,20 +25,12 @@
    PHP_ADD_INCLUDE($FACEDETECT_DIR/include)
  
@@ -26,3 +26,15 @@ diff -ruN facedetect.orig/config.m4 facedetect/config.m4
  
    PHP_SUBST(FACEDETECT_SHARED_LIBADD)
    AC_DEFINE(HAVE_FACEDETECT, 1, [ ])
+diff -ruN facedetect.orig/facedetect.c facedetect/facedetect.c
+--- facedetect.orig/facedetect.c	2010-03-15 02:07:12.000000000 +0200
++++ facedetect/facedetect.c	2011-01-11 12:42:16.804761019 +0200
+@@ -21,7 +21,7 @@
+ #include "php_facedetect.h"
+ 
+ #include <opencv/cv.h>
+-#include <opencv/cvver.h>
++#include <opencv2/core/version.hpp>
+ #include <opencv/highgui.h>
+ 
+ /* {{{ facedetect_functions[]


More information about the scm-commits mailing list