Hello community,

here is the log from the commit of package dosemu for openSUSE:Factory checked 
in at 2015-06-23 11:59:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dosemu (Old)
 and      /work/SRC/openSUSE:Factory/.dosemu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dosemu"

Changes:
--------
--- /work/SRC/openSUSE:Factory/dosemu/dosemu.changes    2015-03-01 
14:47:13.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.dosemu.new/dosemu.changes       2015-06-23 
11:59:53.000000000 +0200
@@ -1,0 +2,6 @@
+Sun Jun 21 00:16:09 UTC 2015 - [email protected]
+
+- remove buggy glibc version check (dosemu-skip-glibc-test.patch) 
+- force GNU inline semantics for GCC5.
+
+-------------------------------------------------------------------

New:
----
  dosemu-skip-glibc-test.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dosemu.spec ++++++
--- /var/tmp/diff_new_pack.AY2UqR/_old  2015-06-23 11:59:54.000000000 +0200
+++ /var/tmp/diff_new_pack.AY2UqR/_new  2015-06-23 11:59:54.000000000 +0200
@@ -23,6 +23,7 @@
 BuildRequires:  flex
 BuildRequires:  freetype2
 BuildRequires:  libsndfile-devel
+BuildRequires:  libtool
 BuildRequires:  slang-devel
 BuildRequires:  xorg-x11
 BuildRequires:  xorg-x11-devel
@@ -48,6 +49,7 @@
 Patch1:         dosemu-1.4.0-destbufferoverflow.patch
 Patch2:         force-vm86-emu.patch
 Patch3:         dosemu-flex.patch
+Patch4:         dosemu-skip-glibc-test.patch
 Url:            http://www.dosemu.org
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -96,8 +98,10 @@
 %if 0%{?suse_version} > 1220 && 0%{?suse_version} < 1321
 %patch3 -p1
 %endif
-
+%patch4 -p1
 %build
+autoreconf -fiv
+export CFLAGS="%optflags -fgnu89-inline"
 %configure --sysconfdir=%{_sysconfdir}/%{name} --with-docdir=%{_docdir}/dosemu 
\
  --with-fdtarball=%{_sourcedir}/dosemu-freedos-bin.tgz
 make %{?_smp_mflags}

++++++ dosemu-skip-glibc-test.patch ++++++
--- dosemu-1.4.0.1.orig/configure.ac
+++ dosemu-1.4.0.1/configure.ac
@@ -658,21 +658,6 @@ if test "$GCC" = "yes" ; then
      OPT="$OPT -malign-loops=2 -malign-jumps=2 -malign-functions=2"
   fi
 
-  AC_MSG_CHECKING(for glibc...)
-  set `printf '%b\n' '#include <features.h>\nXXAaZZ __GLIBC__ XXBbZZ 
__GLIBC_MINOR__'|${CC-cc} -E -|awk '/XXAaZZ/ {print $2 " " $4}'`
-  major=$1; minor=$2
-  if test "$major" = "__GLIBC__"; then
-    AC_MSG_ERROR([Sorry, you need glibc-2.1.3 or newer.])
-  else
-    if test "$minor" = "__GLIBC_MINOR__"; then
-      minor=0;
-    fi
-    GLIBC_VERSION_CODE=$((($major * 1000) + $minor))
-    AC_MSG_RESULT([yes, version code $GLIBC_VERSION_CODE])
-    if test $GLIBC_VERSION_CODE -lt 2001; then
-      AC_MSG_ERROR([Sorry, you need glibc-2.1.3 or newer.])
-    fi
-  fi
 fi
 
 AC_MSG_CHECKING(for clang...)

Reply via email to