Changeset 21384


Ignore:
Timestamp:
2010-05-06T02:10:56+02:00 (7 years ago)
Author:
nico
Message:

[packages] elfutils: update to 0.147, use PKG_INSTALL, add MD5SUM, fix URL, cleanup (closes: #7290)

Location:
packages/libs/elfutils
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/elfutils/Makefile

    r20304 r21384  
    88 
    99PKG_NAME:=elfutils 
    10 PKG_VERSION:=0.143 
     10PKG_VERSION:=0.147 
    1111PKG_RELEASE:=1 
    1212 
    1313PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    1414PKG_SOURCE_URL:=http://fedorahosted.org/releases/e/l/elfutils/ 
     15PKG_MD5SUM:=ccb6bba1d96c096f1b5dbd34444554a3 
     16 
     17PKG_INSTALL:=1 
    1518 
    1619include $(INCLUDE_DIR)/package.mk 
     
    2124  DEPENDS:=+libintl 
    2225  TITLE:=ELF utilities 
    23   URL:=https://fedorahosted.org/releases/e/l/elfutils/ 
     26  URL:=https://fedorahosted.org/elfutils/ 
    2427endef 
    2528 
    26 CONFIGURE_OPTS += --disable-generic 
     29CONFIGURE_OPTS += \ 
     30        --disable-generic \ 
    2731 
    28 define Build/Compile 
    29         $(MAKE) -C $(PKG_BUILD_DIR)/libelf \ 
    30                 CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/lib/libintl/include" \ 
    31                 LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/libintl/lib -lintl" \ 
    32                 DESTDIR="$(PKG_INSTALL_DIR)" 
    33 endef 
     32EXTRA_CPPFLAGS:=-I$(STAGING_DIR)/usr/lib/libintl/include 
     33EXTRA_LDFLAGS:=-L$(STAGING_DIR)/usr/lib/libintl/lib -lintl 
     34 
     35MAKE_PATH:=./libelf 
    3436 
    3537define Build/InstallDev 
     
    4244define Package/elfutils/install 
    4345        $(INSTALL_DIR) $(1)/usr/lib 
    44         $(CP) $(PKG_BUILD_DIR)/libelf/libelf.so* $(1)/usr/lib/ 
     46        $(CP) $(PKG_BUILD_DIR)/libelf/libelf.so.* $(1)/usr/lib/ 
    4547endef 
    4648 
  • packages/libs/elfutils/patches/002-no_tests.patch

    r20304 r21384  
    1 diff -urN elfutils-0.143/Makefile.am elfutils-0.143.new/Makefile.am 
    2 --- elfutils-0.143/Makefile.am  2009-02-11 02:14:48.000000000 +0100 
    3 +++ elfutils-0.143.new/Makefile.am      2010-03-14 19:32:48.000000000 +0100 
    4 @@ -31,7 +31,7 @@ 
     1--- a/Makefile.am 
     2+++ b/Makefile.am 
     3@@ -31,7 +31,7 @@ pkginclude_HEADERS = version.h 
    54  
    65 # Add doc back when we have some real content. 
     
    1110 EXTRA_DIST = elfutils.spec GPG-KEY NOTES EXCEPTION 
    1211  
    13 diff -urN elfutils-0.143/Makefile.in elfutils-0.143.new/Makefile.in 
    14 --- elfutils-0.143/Makefile.in  2009-09-21 17:43:49.000000000 +0200 
    15 +++ elfutils-0.143.new/Makefile.in      2010-03-14 19:32:56.000000000 +0100 
    16 @@ -246,7 +246,7 @@ 
     12--- a/Makefile.in 
     13+++ b/Makefile.in 
     14@@ -248,7 +248,7 @@ pkginclude_HEADERS = version.h 
    1715  
    1816 # Add doc back when we have some real content. 
  • packages/libs/elfutils/patches/003-no_warnings_as_errors.patch

    r20304 r21384  
    1 diff -urN elfutils-0.143/src/Makefile.am elfutils-0.143.new/src/Makefile.am 
    2 --- elfutils-0.143/src/Makefile.am      2009-07-25 21:44:03.000000000 +0200 
    3 +++ elfutils-0.143.new/src/Makefile.am  2010-03-14 19:41:18.000000000 +0100 
    4 @@ -31,8 +31,8 @@ 
    5  else 
    6  AM_CFLAGS = 
    7  endif 
    8 -AM_CFLAGS += -Wall -Wshadow -std=gnu99 $(native_ld_cflags) \ 
    9 -            $(if $($(*F)_no_Werror),,-Werror) \ 
    10 +AM_CFLAGS += -Wall -Wshadow -std=gnu99 -Wno-error $(native_ld_cflags) \ 
    11 +            $(if $($(*F)_no_Werror),,) \ 
    12              $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \ 
    13              $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2) $(CFLAGS_$(*F)) 
    14   
    15 diff -urN elfutils-0.143/src/Makefile.in elfutils-0.143.new/src/Makefile.in 
    16 --- elfutils-0.143/src/Makefile.in      2009-09-21 17:43:50.000000000 +0200 
    17 +++ elfutils-0.143.new/src/Makefile.in  2010-03-14 19:40:45.000000000 +0100 
    18 @@ -314,13 +314,13 @@ 
     1--- a/src/Makefile.in 
     2+++ b/src/Makefile.in 
     3@@ -321,7 +321,7 @@ INCLUDES = -I. -I$(srcdir) -I$(top_srcdi 
     4        -I$(srcdir)/../libdw -I$(srcdir)/../libdwfl \ 
     5        -I$(srcdir)/../libasm 
     6 AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \ 
     7-       $($(*F)_no_Werror),,-Werror) $(if \ 
     8+       $($(*F)_no_Werror),,) $(if \ 
     9        $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \ 
     10        $($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \ 
     11        $(am__append_1) 
     12--- a/libelf/Makefile.in 
     13+++ b/libelf/Makefile.in 
     14@@ -279,7 +279,7 @@ top_srcdir = @top_srcdir@ 
    1915 zip_LIBS = @zip_LIBS@ 
    20  @MUDFLAP_FALSE@AM_CFLAGS = -Wall -Wshadow -std=gnu99 \ 
    21  @MUDFLAP_FALSE@        $(native_ld_cflags) $(if \ 
    22 -@MUDFLAP_FALSE@        $($(*F)_no_Werror),,-Werror) $(if \ 
    23 +@MUDFLAP_FALSE@        $($(*F)_no_Werror),,) $(if \ 
    24  @MUDFLAP_FALSE@        $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \ 
    25  @MUDFLAP_FALSE@        $($(*F)_no_Wformat),-Wno-format,-Wformat=2) \ 
    26  @MUDFLAP_FALSE@        $(CFLAGS_$(*F)) 
    27  @MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -Wall -Wshadow -std=gnu99 \ 
    28  @MUDFLAP_TRUE@ $(native_ld_cflags) $(if \ 
    29 -@MUDFLAP_TRUE@ $($(*F)_no_Werror),,-Werror) $(if \ 
    30 +@MUDFLAP_TRUE@ $($(*F)_no_Werror),,) $(if \ 
    31  @MUDFLAP_TRUE@ $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \ 
    32  @MUDFLAP_TRUE@ $($(*F)_no_Wformat),-Wno-format,-Wformat=2) \ 
    33  @MUDFLAP_TRUE@ $(CFLAGS_$(*F)) 
    34 diff -urN elfutils-0.143/libelf/Makefile.am elfutils-0.143.new/libelf/Makefile.am 
    35 --- elfutils-0.143/libelf/Makefile.am   2009-08-12 16:23:22.000000000 +0200 
    36 +++ elfutils-0.143.new/libelf/Makefile.am       2010-03-14 20:01:28.000000000 +0100 
    37 @@ -33,7 +33,7 @@ 
    38  if BUILD_STATIC 
    39  AM_CFLAGS += -fpic 
    40  endif 
    41 -AM_CFLAGS += -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 -std=gnu99 \ 
    42 +AM_CFLAGS += -Wall -Wshadow -Wunused -Wextra -Wformat=2 -std=gnu99 \ 
    43              $($(*F)_CFLAGS) 
    44  INCLUDES = -I$(srcdir) -I$(top_srcdir)/lib -I.. 
    45  GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include) 
    46 diff -urN elfutils-0.143/libelf/Makefile.in elfutils-0.143.new/libelf/Makefile.in 
    47 --- elfutils-0.143/libelf/Makefile.in   2009-09-21 17:43:50.000000000 +0200 
    48 +++ elfutils-0.143.new/libelf/Makefile.in       2010-03-14 20:01:16.000000000 +0100 
    49 @@ -274,11 +274,11 @@ 
    50  top_builddir = @top_builddir@ 
    51  top_srcdir = @top_srcdir@ 
    52  zip_LIBS = @zip_LIBS@ 
    53 -@MUDFLAP_FALSE@AM_CFLAGS = $(am__append_1) -Wall -Wshadow -Werror \ 
    54 +@MUDFLAP_FALSE@AM_CFLAGS = $(am__append_1) -Wall -Wshadow \ 
    55  @MUDFLAP_FALSE@        -Wunused -Wextra -Wformat=2 -std=gnu99 \ 
    56  @MUDFLAP_FALSE@        $($(*F)_CFLAGS) 
    57  @MUDFLAP_TRUE@AM_CFLAGS = -fmudflap $(am__append_1) -Wall -Wshadow \ 
    58 -@MUDFLAP_TRUE@ -Werror -Wunused -Wextra -Wformat=2 -std=gnu99 \ 
    59 +@MUDFLAP_TRUE@ -Wunused -Wextra -Wformat=2 -std=gnu99 \ 
    60  @MUDFLAP_TRUE@ $($(*F)_CFLAGS) 
    61  INCLUDES = -I$(srcdir) -I$(top_srcdir)/lib -I.. 
    62  GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include) 
     16 INCLUDES = -I. -I$(srcdir) -I$(top_srcdir)/lib -I.. 
     17 AM_CFLAGS = -std=gnu99 -Wall -Wshadow $(if \ 
     18-       $($(*F)_no_Werror),,-Werror) $(if \ 
     19+       $($(*F)_no_Werror),,) $(if \ 
     20        $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \ 
     21        $($(*F)_no_Wformat),-Wno-format,-Wformat=2) $($(*F)_CFLAGS) \ 
     22        $(am__append_1) $(am__append_2) 
  • packages/libs/elfutils/patches/004-memcpy_def.patch

    r20304 r21384  
    1 --- elfutils-0.143/libelf/libelf.h      2009-06-14 00:24:43.000000000 +0200 
    2 +++ elfutils-0.143.new/libelf/libelf.h  2010-03-14 20:14:09.000000000 +0100 
     1--- a/libelf/libelf.h 
     2+++ b/libelf/libelf.h 
    33@@ -55,6 +55,11 @@ 
    44 /* Get the ELF types.  */ 
Note: See TracChangeset for help on using the changeset viewer.