summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-08-25 15:35:55 +0000
committerMike Frysinger <vapier@gentoo.org>2007-08-25 15:35:55 +0000
commit4d62b65755c7211ce875e5d87e3f8edca9caa39f (patch)
treea1d82d92ee7eadf3514285304320edf137b3a887 /sys-apps/lshw/files
parentold (diff)
downloadgentoo-2-4d62b65755c7211ce875e5d87e3f8edca9caa39f.tar.gz
gentoo-2-4d62b65755c7211ce875e5d87e3f8edca9caa39f.tar.bz2
gentoo-2-4d62b65755c7211ce875e5d87e3f8edca9caa39f.zip
Version bump #188624 by Daniel Pielmeier.
(Portage version: 2.1.3.7)
Diffstat (limited to 'sys-apps/lshw/files')
-rw-r--r--sys-apps/lshw/files/digest-lshw-02.11b3
-rw-r--r--sys-apps/lshw/files/lshw-02.11b-build.patch75
2 files changed, 78 insertions, 0 deletions
diff --git a/sys-apps/lshw/files/digest-lshw-02.11b b/sys-apps/lshw/files/digest-lshw-02.11b
new file mode 100644
index 000000000000..2b7d3c37fe7f
--- /dev/null
+++ b/sys-apps/lshw/files/digest-lshw-02.11b
@@ -0,0 +1,3 @@
+MD5 e88d3a3bfef80f998a18d80fe99b36e2 lshw-B.02.11.tar.gz 1162501
+RMD160 e452bb1282914010f7da6ff4654e0f8c73f06286 lshw-B.02.11.tar.gz 1162501
+SHA256 af64f837de41c15ada8f61298cb93b607fd9cb8c217506da55b584b7ca2cefe0 lshw-B.02.11.tar.gz 1162501
diff --git a/sys-apps/lshw/files/lshw-02.11b-build.patch b/sys-apps/lshw/files/lshw-02.11b-build.patch
new file mode 100644
index 000000000000..9bfec0f5a373
--- /dev/null
+++ b/sys-apps/lshw/files/lshw-02.11b-build.patch
@@ -0,0 +1,75 @@
+diff -ur lshw-B.02.11.orig/src/core/Makefile lshw-B.02.11/src/core/Makefile
+--- lshw-B.02.11.orig/src/core/Makefile 2007-07-19 18:42:20.000000000 -0400
++++ lshw-B.02.11/src/core/Makefile 2007-08-25 11:31:01.000000000 -0400
+@@ -1,9 +1,10 @@
+ PACKAGENAME?=lshw
+
+-CXX=c++
++CXX?=c++
+ INCLUDES=
+ DEFINES=-DPREFIX=\"$(PREFIX)\" -DSBINDIR=\"$(SBINDIR)\" -DMANDIR=\"$(MANDIR)\" -DDATADIR=\"$(DATADIR)\"
+-CXXFLAGS=-g -Wall $(INCLUDES) $(DEFINES) $(RPM_OPT_FLAGS)
++CXXFLAGS ?= -g
++CXXFLAGS += -Wall $(INCLUDES) $(DEFINES) $(RPM_OPT_FLAGS)
+ LDFLAGS=
+ LDSTATIC=
+ LIBS=
+diff -ur lshw-B.02.11.orig/src/gui/Makefile lshw-B.02.11/src/gui/Makefile
+--- lshw-B.02.11.orig/src/gui/Makefile 2007-07-19 18:42:20.000000000 -0400
++++ lshw-B.02.11/src/gui/Makefile 2007-08-25 11:31:52.000000000 -0400
+@@ -7,11 +7,11 @@
+ DEFINES=-DPREFIX=\"$(PREFIX)\" -DSBINDIR=\"$(SBINDIR)\" -DMANDIR=\"$(MANDIR)\" -DDATADIR=\"$(DATADIR)\"
+ GTKINCLUDES=$(shell pkg-config gtk+-2.0 --cflags)
+ INCLUDES=-I../core $(GTKINCLUDES)
+-CXXFLAGS=-g -Wall $(INCLUDES) $(DEFINES) $(RPM_OPT_FLAGS)
+-CFLAGS=$(CXXFLAGS) $(DEFINES)
++CXXFLAGS ?= -g
++CXXFLAGS += -Wall $(INCLUDES) $(DEFINES) $(RPM_OPT_FLAGS)
++CFLAGS += -Wall $(INCLUDES) $(DEFINES) $(RPM_OPT_FLAGS)
+ GTKLIBS=$(shell pkg-config gtk+-2.0 --libs)
+ LIBS=-L../core -llshw $(GTKLIBS)
+-LDFLAGS=
+ ifneq ($(shell $(LD) --help 2| grep -- --as-needed), )
+ LDFLAGS+= -Wl,--as-needed
+ endif
+@@ -34,7 +34,6 @@
+ $(CXX) $(LDFLAGS) -o $@ $^ $(LIBS)
+
+ install: all
+- $(STRIP) gtk-$(PACKAGENAME)
+
+ clean:
+ rm -f $(OBJS) gtk-$(PACKAGENAME) gtk-lshw.glade.bak gtk-lshw.gladep.bak interface.c.bak interface.h.bak callbacks.c.bak callbacks.h.bak Makefile.bak
+diff -ur lshw-B.02.11.orig/src/Makefile lshw-B.02.11/src/Makefile
+--- lshw-B.02.11.orig/src/Makefile 2007-07-19 18:42:20.000000000 -0400
++++ lshw-B.02.11/src/Makefile 2007-08-25 11:32:27.000000000 -0400
+@@ -7,7 +7,7 @@
+ SBINDIR=$(PREFIX)/sbin
+ MANDIR=$(PREFIX)/share/man
+ DATADIR=$(PREFIX)/share
+-INSTALL?=install -p -s
++INSTALL?=install -p
+ STRIP?=strip
+ export DESTDIR
+ export PREFIX
+@@ -18,8 +18,10 @@
+ CXX?=c++
+ INCLUDES=-I./core/
+ DEFINES=-DPREFIX=\"$(PREFIX)\" -DSBINDIR=\"$(SBINDIR)\" -DMANDIR=\"$(MANDIR)\" -DDATADIR=\"$(DATADIR)\"
+-CXXFLAGS=-g -Wall -g $(INCLUDES) $(DEFINES) $(RPM_OPT_FLAGS)
+-LDFLAGS=-L./core/ -g
++CXXFLAGS ?= -g
++CXXFLAGS += -Wall $(INCLUDES) $(DEFINES) $(RPM_OPT_FLAGS)
++LDFLAGS ?= -g
++LDFLAGS += -L./core/
+ ifneq ($(shell $(LD) --help 2| grep -- --as-needed), )
+ LDFLAGS+= -Wl,--as-needed
+ endif
+@@ -49,7 +51,6 @@
+
+ $(PACKAGENAME)-static: core core/lib$(PACKAGENAME).a $(PACKAGENAME).o
+ $(CXX) $(LDSTATIC) $(LDFLAGS) -o $@ $(PACKAGENAME).o $(LIBS)
+- $(STRIP) $@
+
+ .PHONY: compressed
+ compressed: $(PACKAGENAME)-compressed