summaryrefslogtreecommitdiffstats
path: root/main/powertop/libintl-underlink.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-05-04 12:20:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-05-04 12:21:24 +0000
commit67900ae3e072c7674aab23cf836eb76641ba3906 (patch)
tree1da47ad504623f3389c3234c14a6f1ff0b2dd164 /main/powertop/libintl-underlink.patch
parentc9247066160b3b0d78ddb0de841c4d48086036cc (diff)
downloadaports-67900ae3e072c7674aab23cf836eb76641ba3906.tar.bz2
aports-67900ae3e072c7674aab23cf836eb76641ba3906.tar.xz
main/powertop: upgrade to 2.7
Diffstat (limited to 'main/powertop/libintl-underlink.patch')
-rw-r--r--main/powertop/libintl-underlink.patch29
1 files changed, 18 insertions, 11 deletions
diff --git a/main/powertop/libintl-underlink.patch b/main/powertop/libintl-underlink.patch
index e330e0982..cf6d03425 100644
--- a/main/powertop/libintl-underlink.patch
+++ b/main/powertop/libintl-underlink.patch
@@ -1,13 +1,20 @@
-diff --git a/src/Makefile.in b/src/Makefile.in
-index bdfadb1cc909..8d3ce3b6278b 100644
---- a/src/Makefile.in
-+++ b/src/Makefile.in
-@@ -347,7 +347,7 @@ powertop_SOURCES = parameters/persistent.cpp parameters/learn.cpp parameters/par
- powertop_CXXFLAGS = -fno-omit-frame-pointer -fstack-protector -Wall -Wshadow -Wformat $(NCURSES_CFLAGS) $(PCIUTILS_CFLAGS) $(LIBNL_CFLAGS) $(GLIB2_CFLAGS)
- powertop_CPPFLAGS = -D_FORTIFY_SOURCE=2 $(NCURSES_CFLAGS) $(PCIUTILS_CFLAGS) $(LIBNL_CFLAGS) $(GLIB2_CFLAGS) $(LIBZ_CFLAGS) -DLOCALEDIR=\"$(localedir)\"
- powertop_LDADD = ../traceevent/libtraceevnet.la
--AM_LDFLAGS = $(LIBS) $(NCURSES_LIBS) $(PCIUTILS_LIBS) $(LIBNL_LIBS) $(LIBZ_LIBS) $(PTHREAD_LIBS) $(RESOLV_LIBS)
-+AM_LDFLAGS = $(LIBS) $(NCURSES_LIBS) $(PCIUTILS_LIBS) $(LIBNL_LIBS) $(LIBZ_LIBS) $(PTHREAD_LIBS) $(RESOLV_LIBS) $(LTLIBINTL)
+--- ./src/Makefile.in.orig
++++ ./src/Makefile.in
+@@ -526,7 +526,6 @@
+
+ powertop_CPPFLAGS = \
+ -DLOCALEDIR=\"$(localedir)\" \
+- -D_FORTIFY_SOURCE=2 \
+ $(GLIB2_CFLAGS) \
+ $(LIBNL_CFLAGS) \
+ $(LIBZ_CFLAGS) \
+@@ -543,7 +542,8 @@
+ $(NCURSES_LIBS) \
+ $(PCIUTILS_LIBS) \
+ $(PTHREAD_LIBS) \
+- $(RESOLV_LIBS)
++ $(RESOLV_LIBS) \
++ $(LTLIBINTL)
+
BUILT_SOURCES = css.h
CLEANFILES = css.h
- all: $(BUILT_SOURCES)