--- /dev/null
+--- sblim-sfcb-1.4.9/control.c~ 2014-11-25 02:43:10.000000000 +0100
++++ sblim-sfcb-1.4.9/control.c 2018-09-29 23:23:00.359541768 +0200
+@@ -83,7 +83,7 @@
+ * Kindly null terminate, always, even if might overwrite
+ * the last char of the truncated string.
+ */
+-inline char *strncpy_kind(char *to, char *from, size_t size) {
++char *strncpy_kind(char *to, char *from, size_t size) {
+ strncpy(to, from, size);
+ *(to + size - 1) = '\0';
+ return to;
# Source0-md5: 28021cdabc73690a94f4f9d57254ce30
Patch0: %{name}-fix.patch
Patch1: am.patch
+Patch2: %{name}-dont-inline.patch
URL: http://sblim.sourceforge.net/
BuildRequires: curl-devel >= 7.11.1
BuildRequires: libstdc++-devel
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__libtoolize}