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/id3ren/files/patch-aa | 27 --------------------------- audio/id3ren/files/patch-ab | 10 ---------- audio/id3ren/files/patch-src_Makefile | 27 +++++++++++++++++++++++++++ audio/id3ren/files/patch-src_id3tag.c | 10 ++++++++++ 4 files changed, 37 insertions(+), 37 deletions(-) delete mode 100644 audio/id3ren/files/patch-aa delete mode 100644 audio/id3ren/files/patch-ab create mode 100644 audio/id3ren/files/patch-src_Makefile create mode 100644 audio/id3ren/files/patch-src_id3tag.c (limited to 'audio/id3ren') diff --git a/audio/id3ren/files/patch-aa b/audio/id3ren/files/patch-aa deleted file mode 100644 index 759ef05df597..000000000000 --- a/audio/id3ren/files/patch-aa +++ /dev/null @@ -1,27 +0,0 @@ ---- src/Makefile.orig Fri Jan 7 10:08:02 2005 -+++ src/Makefile Fri Jan 7 10:08:30 2005 -@@ -1,9 +1,10 @@ - CFLAGSDEBUG = -g -O2 -Wall -DDEBUG --CFLAGS = -s -O2 -Wall --CC = gcc --RM = rm -f --INSTALL = install -s -m 755 --INSTALL_DIR = /usr/bin -+CFLAGS ?= -O2 -Wall -+STRIP ?= -s -+CC ?= gcc -+RM ?= rm -f -+INSTALL = ${BSD_INSTALL_PROGRAM} -+INSTALL_DIR = ${PREFIX}/bin - INSTALL_NAME = id3ren - - SOURCES = id3ren.c id3tag.c id3file.c id3misc.c -@@ -12,7 +13,7 @@ - all: ${INSTALL_NAME} - - ${INSTALL_NAME}: ${SOURCES} ${INCLUDES} -- ${CC} ${CFLAGS} -o ${INSTALL_NAME} ${SOURCES} -+ ${CC} ${CFLAGS} ${STRIP} -o ${INSTALL_NAME} ${SOURCES} - - debug: - ${CC} ${CFLAGSDEBUG} -o ${INSTALL_NAME} ${SOURCES} diff --git a/audio/id3ren/files/patch-ab b/audio/id3ren/files/patch-ab deleted file mode 100644 index 961ae28dbda6..000000000000 --- a/audio/id3ren/files/patch-ab +++ /dev/null @@ -1,10 +0,0 @@ ---- src/id3tag.c.orig Fri Jan 7 09:32:59 2005 -+++ src/id3tag.c Fri Jan 7 09:33:14 2005 -@@ -369,6 +369,7 @@ - return TRUE; - } - -+ memset(string, 0, size); - fgets(string, size, stdin); - - if (string[strlen(string)-1] == '\n') diff --git a/audio/id3ren/files/patch-src_Makefile b/audio/id3ren/files/patch-src_Makefile new file mode 100644 index 000000000000..759ef05df597 --- /dev/null +++ b/audio/id3ren/files/patch-src_Makefile @@ -0,0 +1,27 @@ +--- src/Makefile.orig Fri Jan 7 10:08:02 2005 ++++ src/Makefile Fri Jan 7 10:08:30 2005 +@@ -1,9 +1,10 @@ + CFLAGSDEBUG = -g -O2 -Wall -DDEBUG +-CFLAGS = -s -O2 -Wall +-CC = gcc +-RM = rm -f +-INSTALL = install -s -m 755 +-INSTALL_DIR = /usr/bin ++CFLAGS ?= -O2 -Wall ++STRIP ?= -s ++CC ?= gcc ++RM ?= rm -f ++INSTALL = ${BSD_INSTALL_PROGRAM} ++INSTALL_DIR = ${PREFIX}/bin + INSTALL_NAME = id3ren + + SOURCES = id3ren.c id3tag.c id3file.c id3misc.c +@@ -12,7 +13,7 @@ + all: ${INSTALL_NAME} + + ${INSTALL_NAME}: ${SOURCES} ${INCLUDES} +- ${CC} ${CFLAGS} -o ${INSTALL_NAME} ${SOURCES} ++ ${CC} ${CFLAGS} ${STRIP} -o ${INSTALL_NAME} ${SOURCES} + + debug: + ${CC} ${CFLAGSDEBUG} -o ${INSTALL_NAME} ${SOURCES} diff --git a/audio/id3ren/files/patch-src_id3tag.c b/audio/id3ren/files/patch-src_id3tag.c new file mode 100644 index 000000000000..961ae28dbda6 --- /dev/null +++ b/audio/id3ren/files/patch-src_id3tag.c @@ -0,0 +1,10 @@ +--- src/id3tag.c.orig Fri Jan 7 09:32:59 2005 ++++ src/id3tag.c Fri Jan 7 09:33:14 2005 +@@ -369,6 +369,7 @@ + return TRUE; + } + ++ memset(string, 0, size); + fgets(string, size, stdin); + + if (string[strlen(string)-1] == '\n') -- cgit