Hello community, here is the log from the commit of package gptfdisk for openSUSE:Factory checked in at 2012-03-20 11:27:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gptfdisk (Old) and /work/SRC/openSUSE:Factory/.gptfdisk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gptfdisk", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/gptfdisk/gptfdisk.changes 2012-03-09 21:23:18.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gptfdisk.new/gptfdisk.changes 2012-03-20 11:27:14.000000000 +0100 @@ -1,0 +2,5 @@ +Sat Mar 17 15:12:31 UTC 2012 - [email protected] + +- Add gptfdisk-gcc47.patch: Fix build with gcc 4.7. + +------------------------------------------------------------------- New: ---- gptfdisk-gcc47.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gptfdisk.spec ++++++ --- /var/tmp/diff_new_pack.01fUvW/_old 2012-03-20 11:27:15.000000000 +0100 +++ /var/tmp/diff_new_pack.01fUvW/_new 2012-03-20 11:27:15.000000000 +0100 @@ -22,10 +22,15 @@ Group: Applications/System Url: http://rodsbooks.com/gdisk Source: http://rodsbooks.com/gdisk/gptfdisk-0.8.2.tar.gz +Patch0: gptfdisk-gcc47.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: e2fsprogs-devel gcc-c++ libicu-devel libuuid-devel -BuildRequires: ncurses-devel popt-devel +BuildRequires: gcc-c++ +BuildRequires: ncurses-devel +BuildRequires: pkgconfig(icu-io) +BuildRequires: pkgconfig(icu-uc) +BuildRequires: pkgconfig(popt) +BuildRequires: pkgconfig(uuid) %description Partitioning software for GPT disks and to repair MBR disks. The @@ -57,6 +62,7 @@ %prep %setup -q +%patch0 -p1 %build CFLAGS="%optflags" CXXFLAGS="%optflags" make %{?_smp_mflags} ++++++ gptfdisk-gcc47.patch ++++++ Index: gptfdisk-0.8.2/diskio-unix.cc =================================================================== --- gptfdisk-0.8.2.orig/diskio-unix.cc +++ gptfdisk-0.8.2/diskio-unix.cc @@ -22,6 +22,7 @@ #include <errno.h> #include <fcntl.h> #include <sys/stat.h> +#include <unistd.h> #ifdef __linux__ #include "linux/hdreg.h" -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
