Accepting request 68908 from Base:System
- fix build with gcc 4.6, wrong linker options (forwarded request 68903 from elvigia) OBS-URL: https://build.opensuse.org/request/show/68908 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/biosdevname?expand=0&rev=10
This commit is contained in:
parent
f18f1820a8
commit
8041e5a464
10
biosdevname-0.2.4-wronglinking.patch
Normal file
10
biosdevname-0.2.4-wronglinking.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- src/Makefile.am.orig
|
||||||
|
+++ src/Makefile.am
|
||||||
|
@@ -21,7 +21,6 @@ src_biosdevname_SOURCES = \
|
||||||
|
src/dmidecode/util.c
|
||||||
|
|
||||||
|
src_biosdevnameS_SOURCES = $(src_biosdevname_SOURCES)
|
||||||
|
-src_biosdevnameS_LDFLAGS = -all-static
|
||||||
|
|
||||||
|
EXTRA_DIST = \
|
||||||
|
src/bios_dev_name.h \
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 30 15:55:06 UTC 2011 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- fix build with gcc 4.6, wrong linker options
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 24 17:46:38 CET 2008 - bwalle@suse.de
|
Mon Nov 24 17:46:38 CET 2008 - bwalle@suse.de
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ PreReq: mkinitrd
|
|||||||
Requires: udev
|
Requires: udev
|
||||||
Patch0: %{name}-delete-unused-function.diff
|
Patch0: %{name}-delete-unused-function.diff
|
||||||
Patch1: %{name}-policy-all_names.diff
|
Patch1: %{name}-policy-all_names.diff
|
||||||
|
Patch2: biosdevname-0.2.4-wronglinking.patch
|
||||||
%description
|
%description
|
||||||
biosdevname in its simplest form takes an kernel name name as an
|
biosdevname in its simplest form takes an kernel name name as an
|
||||||
argument, and returns the BIOS-given name it "should" be. This is
|
argument, and returns the BIOS-given name it "should" be. This is
|
||||||
@ -59,8 +59,10 @@ Authors:
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
autoreconf -fiv
|
||||||
# this is a udev rule, so it needs to live in / rather than /usr
|
# this is a udev rule, so it needs to live in / rather than /usr
|
||||||
%configure --disable-rpath --libdir=/%{_lib} --prefix=/ --bindir=/bin --sbindir=/sbin
|
%configure --disable-rpath --libdir=/%{_lib} --prefix=/ --bindir=/bin --sbindir=/sbin
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
Loading…
Reference in New Issue
Block a user