Hello community,

here is the log from the commit of package smpppd for openSUSE:Factory checked 
in at 2012-03-29 07:48:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/smpppd (Old)
 and      /work/SRC/openSUSE:Factory/.smpppd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "smpppd", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/smpppd/smpppd.changes    2012-01-13 
11:00:36.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.smpppd.new/smpppd.changes       2012-03-29 
07:48:25.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Mar 21 22:22:48 UTC 2012 - [email protected]
+
+- Add smpppd-gcc47.patch: Fix build with gcc 4.7.
+
+-------------------------------------------------------------------

New:
----
  smpppd-gcc47.patch

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

Other differences:
------------------
++++++ smpppd.spec ++++++
--- /var/tmp/diff_new_pack.27rK1V/_old  2012-03-29 07:48:26.000000000 +0200
+++ /var/tmp/diff_new_pack.27rK1V/_new  2012-03-29 07:48:26.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package smpppd
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 %if 0%{?suse_version < 1120}
 %bcond_with policykit
@@ -24,17 +23,21 @@
 %endif
 
 Name:           smpppd
-BuildRequires:  gcc-c++ openslp-devel openssl-devel
+BuildRequires:  gcc-c++
+BuildRequires:  openslp-devel
+BuildRequires:  openssl-devel
 %if %{with policykit}
 BuildRequires:  PolicyKit-devel
 %endif
+Summary:        SuSE Meta PPP Daemon
 License:        GPL-2.0+
 Group:          Productivity/Networking/PPP
-Summary:        SuSE Meta PPP Daemon
-Requires:       ppp /usr/bin/killall
+Requires:       /usr/bin/killall
+Requires:       ppp
 Version:        1.60.56
-Release:        1
+Release:        0
 Source0:        smpppd-%version.tar.bz2
+Patch0:         smpppd-gcc47.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 PreReq:         %fillup_prereq %insserv_prereq
 Recommends:     wvdial 
@@ -54,6 +57,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 %if 0
 if [ -e  $RPM_SOURCE_DIR/devel.diff ]; then
        patch -p1 < $RPM_SOURCE_DIR/devel.diff

++++++ smpppd-gcc47.patch ++++++
Index: smpppd-1.60.56/smpppd/modem-config.cc
===================================================================
--- smpppd-1.60.56.orig/smpppd/modem-config.cc
+++ smpppd-1.60.56/smpppd/modem-config.cc
@@ -8,6 +8,7 @@
 #include <regex.h>
 
 #include <cstdlib>
+#include <unistd.h>
 
 #include "modem-config.h"
 #include "utils.h"
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to