Unverified Commit 029a32f4 authored by Bobby Rong's avatar Bobby Rong
Browse files

webkit2-sharp: Workaround build failure with WebKitGTK 2.40.0

parent 59962681
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -33,6 +33,14 @@ stdenv.mkDerivation rec {
    webkitgtk
  ];

  postPatch = ''
    # Workaround build failure with WebKitGTK 2.40.0
    # https://github.com/hbons/webkit2-sharp/issues/6
    substituteInPlace sources/webkit2-sharp-api.raw --replace \
      '<field cname="parentInstance" access="public" writeable="false" readable="true" name="ParentInstance" type="GtkContainer*"/>' \
      '<field cname="parent" access="public" writeable="false" readable="true" name="Parent" type="GtkContainer*"/>'
  '';

  ac_cv_path_MONODOCER = "no";
  installFlagsArray = ["GAPIXMLDIR=/tmp/gapixml"];