Browse Source

apply patch

master
parent
commit
bc99b4e1c8
  1. 11
      libecap/libecap.patch
  2. 4
      libecap/libecap.spec

11
libecap/libecap.patch

@ -0,0 +1,11 @@
Index: src/libecap/common/name.cc
--- src/libecap/common/name.cc.orig 2008-05-14 00:18:00.000000000 +0200
+++ src/libecap/common/name.cc 2010-05-02 10:47:19.000000000 +0200
@@ -1,6 +1,6 @@
#include <libecap/common/name.h>
#include <libecap/common/errors.h>
-#include <limits>
+#include <limits.h>
libecap::Name::Id libecap::Name::TheLastId = libecap::Name::nameUnidentified;

4
libecap/libecap.spec

@ -32,10 +32,11 @@ Class: EVAL
Group: Web
License: MIT
Version: 0.0.2
Release: 20090508
Release: 20100502
# list of sources
Source0: http://www.measurement-factory.com/tmp/ecap/libecap-%{version}.tar.gz
Patch0: libecap.patch
# build information
BuildPreReq: OpenPKG, openpkg >= 20100101, gcc, gcc::with_cxx = yes
@ -62,6 +63,7 @@ PreReq: OpenPKG, openpkg >= 20100101
%prep
%setup -q
%patch -p0
%build
CC="%{l_cc}" \

Loading…
Cancel
Save