From 01816bbfbb7d7e26ad83c5c74b2374c86206a063 Mon Sep 17 00:00:00 2001 From: adamw Date: Mon, 28 Jul 2014 14:12:36 +0000 Subject: Rename audio/ patch-xy patches to reflect the files they modify. --- audio/gkrellmvolume2/files/patch-Makefile | 37 +++++++++++++++++++++++++++++++ audio/gkrellmvolume2/files/patch-aa | 37 ------------------------------- 2 files changed, 37 insertions(+), 37 deletions(-) create mode 100644 audio/gkrellmvolume2/files/patch-Makefile delete mode 100644 audio/gkrellmvolume2/files/patch-aa (limited to 'audio/gkrellmvolume2') diff --git a/audio/gkrellmvolume2/files/patch-Makefile b/audio/gkrellmvolume2/files/patch-Makefile new file mode 100644 index 000000000000..fceb1bf7e3ae --- /dev/null +++ b/audio/gkrellmvolume2/files/patch-Makefile @@ -0,0 +1,37 @@ +Index: Makefile +diff -u Makefile.orig Makefile +--- Makefile.orig Thu Nov 7 01:50:59 2002 ++++ Makefile Thu Nov 7 04:49:05 2002 +@@ -3,12 +3,12 @@ + GTK_CONFIG = pkg-config gtk+-2.0 + + PLUGIN_DIR ?= /usr/local/lib/gkrellm2/plugins +-GKRELLM_INCLUDE = -I/usr/local/include ++GKRELLM_INCLUDE = -I${PREFIX}/include + + GTK_CFLAGS = `$(GTK_CONFIG) --cflags` + GTK_LIB = `$(GTK_CONFIG) --libs` + +-FLAGS = -O2 -Wall -fPIC $(GTK_CFLAGS) $(GKRELLM_INCLUDE) ++CFLAGS += -fPIC $(GTK_CFLAGS) $(GKRELLM_INCLUDE) + LIBS = $(GTK_LIB) + LFLAGS = -shared + +@@ -22,8 +22,6 @@ + FLAGS += -DPACKAGE="\"$(PACKAGE)\"" + export PACKAGE LOCALEDIR + +-CC = gcc $(CFLAGS) $(FLAGS) +- + INSTALL = install -c + INSTALL_PROGRAM = $(INSTALL) -s + +@@ -33,7 +31,7 @@ + (cd po && ${MAKE} all ) + + volume.so: $(OBJS) +- $(CC) $(OBJS) -o volume.so $(LIBS) $(LFLAGS) ++ $(CC) $(CFLAGS) $(OBJS) -o volume.so $(LIBS) $(LFLAGS) + + clean: + rm -f *.o core *.so* *.bak *~ diff --git a/audio/gkrellmvolume2/files/patch-aa b/audio/gkrellmvolume2/files/patch-aa deleted file mode 100644 index fceb1bf7e3ae..000000000000 --- a/audio/gkrellmvolume2/files/patch-aa +++ /dev/null @@ -1,37 +0,0 @@ -Index: Makefile -diff -u Makefile.orig Makefile ---- Makefile.orig Thu Nov 7 01:50:59 2002 -+++ Makefile Thu Nov 7 04:49:05 2002 -@@ -3,12 +3,12 @@ - GTK_CONFIG = pkg-config gtk+-2.0 - - PLUGIN_DIR ?= /usr/local/lib/gkrellm2/plugins --GKRELLM_INCLUDE = -I/usr/local/include -+GKRELLM_INCLUDE = -I${PREFIX}/include - - GTK_CFLAGS = `$(GTK_CONFIG) --cflags` - GTK_LIB = `$(GTK_CONFIG) --libs` - --FLAGS = -O2 -Wall -fPIC $(GTK_CFLAGS) $(GKRELLM_INCLUDE) -+CFLAGS += -fPIC $(GTK_CFLAGS) $(GKRELLM_INCLUDE) - LIBS = $(GTK_LIB) - LFLAGS = -shared - -@@ -22,8 +22,6 @@ - FLAGS += -DPACKAGE="\"$(PACKAGE)\"" - export PACKAGE LOCALEDIR - --CC = gcc $(CFLAGS) $(FLAGS) -- - INSTALL = install -c - INSTALL_PROGRAM = $(INSTALL) -s - -@@ -33,7 +31,7 @@ - (cd po && ${MAKE} all ) - - volume.so: $(OBJS) -- $(CC) $(OBJS) -o volume.so $(LIBS) $(LFLAGS) -+ $(CC) $(CFLAGS) $(OBJS) -o volume.so $(LIBS) $(LFLAGS) - - clean: - rm -f *.o core *.so* *.bak *~ -- cgit