diff options
author | René Nussbaumer <killerfox@gentoo.org> | 2006-07-04 09:17:37 +0000 |
---|---|---|
committer | René Nussbaumer <killerfox@gentoo.org> | 2006-07-04 09:17:37 +0000 |
commit | ee58b41c93d6d8ec266e2fe8d5a8d73896d41674 (patch) | |
tree | 1dd1fb18a58a5e9a6c1dfcc370559a10f6901192 /app-admin/gkrellm/files | |
parent | patch from upstream to use >=libpng-1.2.10 as per bug #137059. (diff) | |
download | gentoo-2-ee58b41c93d6d8ec266e2fe8d5a8d73896d41674.tar.gz gentoo-2-ee58b41c93d6d8ec266e2fe8d5a8d73896d41674.tar.bz2 gentoo-2-ee58b41c93d6d8ec266e2fe8d5a8d73896d41674.zip |
Fixed broken plugins. Bug #134096. Thanks to Tristan Heaven for his patch.
(Portage version: 2.1.1_pre1-r5)
Diffstat (limited to 'app-admin/gkrellm/files')
-rw-r--r-- | app-admin/gkrellm/files/digest-gkrellm-2.2.9-r1 | 3 | ||||
-rw-r--r-- | app-admin/gkrellm/files/gkrellm-2.2.9-build.patch | 105 |
2 files changed, 108 insertions, 0 deletions
diff --git a/app-admin/gkrellm/files/digest-gkrellm-2.2.9-r1 b/app-admin/gkrellm/files/digest-gkrellm-2.2.9-r1 new file mode 100644 index 000000000000..04921d477d84 --- /dev/null +++ b/app-admin/gkrellm/files/digest-gkrellm-2.2.9-r1 @@ -0,0 +1,3 @@ +MD5 5334155797901724f4eb46a82ad72395 gkrellm-2.2.9.tar.bz2 691133 +RMD160 e6de12774ec85c51dce18e3208340d1a080a6398 gkrellm-2.2.9.tar.bz2 691133 +SHA256 5f243958342fe0e27432c1d4b01900c5e593b49f00a8bdd29200433b17059de9 gkrellm-2.2.9.tar.bz2 691133 diff --git a/app-admin/gkrellm/files/gkrellm-2.2.9-build.patch b/app-admin/gkrellm/files/gkrellm-2.2.9-build.patch new file mode 100644 index 000000000000..6e47d53a0c23 --- /dev/null +++ b/app-admin/gkrellm/files/gkrellm-2.2.9-build.patch @@ -0,0 +1,105 @@ +--- server/Makefile ++++ server/Makefile +@@ -18,9 +18,8 @@ + MANMODE ?= 644 + MANDIRMODE ?= 755 + INSTALL ?= install +-LINK_FLAGS ?= -Wl,-E ++LDFLAGS += -Wl,-E + CC ?= gcc +-STRIP ?= -s + + GKRELLMD_INCLUDES = gkrellmd.h + +@@ -30,7 +29,7 @@ + GLIB12_INCLUDE = `glib-config --cflags` + GLIB12_LIB = `glib-config --libs glib gmodule` + +-FLAGS = -O2 -I.. $(PKG_INCLUDE) $(GTOP_INCLUDE) ++FLAGS = -I.. $(PKG_INCLUDE) $(GTOP_INCLUDE) + ifeq ($(glib12),1) + FLAGS = -O2 -I.. $(GLIB12_INCLUDE) $(GTOP_INCLUDE) + endif +@@ -88,11 +87,11 @@ + all: gkrellmd + + gkrellmd: $(OBJS) +- $(CC) $(OBJS) -o gkrellmd $(LIBS) $(LINK_FLAGS) ++ $(CC) $(OBJS) -o gkrellmd $(LIBS) $(LDFLAGS) + + static: $(OBJS) + $(CC) $(OBJS) -o gkrellmd.static -static \ +- $(LIBS) $(LINK_FLAGS) ++ $(LIBS) $(LDFLAGS) + + freebsd2: + $(MAKE) GTK_CONFIG=gtk12-config \ +@@ -129,11 +128,9 @@ + + install: + $(INSTALL) -d -m $(INSTALLDIRMODE) $(SINSTALLDIR) +- $(INSTALL) -c $(STRIP) -m $(BINMODE) gkrellmd $(SINSTALLDIR)/$(PACKAGE_D) ++ $(INSTALL) -c -m $(BINMODE) gkrellmd $(SINSTALLDIR)/$(PACKAGE_D) + $(INSTALL) -d -m $(INCLUDEDIRMODE) $(INCLUDEDIR)/gkrellm2 + $(INSTALL) -c -m $(INCLUDEMODE) $(GKRELLMD_INCLUDES) $(INCLUDEDIR)/gkrellm2 +- $(INSTALL) -d -m $(MANDIRMODE) $(SMANDIR) +- $(INSTALL) -c -m $(MANMODE) ../gkrellmd.1 $(SMANDIR)/$(PACKAGE_D).1 + + uninstall: + rm -f $(SINSTALLDIR)/$(PACKAGE_D) + +--- src/Makefile ++++ src/Makefile +@@ -16,7 +16,7 @@ + MANMODE ?= 644 + MANDIRMODE ?= 755 + INSTALL ?= install +-LINK_FLAGS ?= -Wl,-E ++LDFLAGS += -Wl,-E + SMC_LIBS ?= -L/usr/X11R6/lib -lSM -lICE + + ifeq ($(without-gnutls),1) +@@ -48,7 +48,6 @@ + endif + + CC ?= gcc +-STRIP ?= -s + + GKRELLM_INCLUDES = gkrellm.h gkrellm-public-proto.h + +@@ -56,7 +55,7 @@ + + PKG_LIB = `$(PKG_CONFIG) --libs gtk+-2.0 gthread-2.0` + +-FLAGS = -O2 -I.. $(PKG_INCLUDE) $(GTOP_INCLUDE) ++FLAGS = -I.. $(PKG_INCLUDE) $(GTOP_INCLUDE) + FLAGS+= $(PTHREAD_INC) + + LIBS = $(PKG_LIB) $(GTOP_LIBS) $(SMC_LIBS) $(SYS_LIBS) $(SSL_LIBS) +@@ -95,11 +94,11 @@ + all: gkrellm + + gkrellm: $(OBJS) $(EXTRAOBJS) +- $(CC) $(OBJS) $(EXTRAOBJS) -o gkrellm $(LIBS) $(LINK_FLAGS) ++ $(CC) $(OBJS) $(EXTRAOBJS) -o gkrellm $(LIBS) $(LDFLAGS) + + static: $(OBJS) $(EXTRAOBJS) + $(CC) $(OBJS) $(EXTRAOBJS) -o gkrellm.static -static \ +- $(LIBS) $(LINK_FLAGS) ++ $(LIBS) $(LDFLAGS) + + freebsd2: + ifeq ($(HAVE_SSL),1) +@@ -144,11 +143,9 @@ + + install: + $(INSTALL) -d -m $(INSTALLDIRMODE) $(INSTALLDIR) +- $(INSTALL) -c $(STRIP) -m $(BINMODE) gkrellm $(INSTALLDIR)/$(PACKAGE) ++ $(INSTALL) -c -m $(BINMODE) gkrellm $(INSTALLDIR)/$(PACKAGE) + $(INSTALL) -d -m $(INCLUDEDIRMODE) $(INCLUDEDIR)/gkrellm2 + $(INSTALL) -c -m $(INCLUDEMODE) $(GKRELLM_INCLUDES) $(INCLUDEDIR)/gkrellm2 +- $(INSTALL) -d -m $(MANDIRMODE) $(MANDIR) +- $(INSTALL) -c -m $(MANMODE) ../gkrellm.1 $(MANDIR)/$(PACKAGE).1 + + uninstall: + rm -f $(INSTALLDIR)/$(PACKAGE) |