From fe0f5ab0cc764044e6b30219a2a526ebdf28397e Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Sun, 28 Apr 2024 15:11:11 +0900 Subject: app-text/cmigemo: rename patch Signed-off-by: Akinori Hattori --- app-text/cmigemo/cmigemo-1.3c-r4.ebuild | 2 +- app-text/cmigemo/files/cmigemo-1.3c-ldflags.patch | 11 ----------- app-text/cmigemo/files/cmigemo-ldflags.patch | 11 +++++++++++ 3 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 app-text/cmigemo/files/cmigemo-1.3c-ldflags.patch create mode 100644 app-text/cmigemo/files/cmigemo-ldflags.patch (limited to 'app-text') diff --git a/app-text/cmigemo/cmigemo-1.3c-r4.ebuild b/app-text/cmigemo/cmigemo-1.3c-r4.ebuild index 117b79b92d71..f39e35d60f0f 100644 --- a/app-text/cmigemo/cmigemo-1.3c-r4.ebuild +++ b/app-text/cmigemo/cmigemo-1.3c-r4.ebuild @@ -28,9 +28,9 @@ BDEPEND="app-i18n/nkf S="${WORKDIR}/${MY_P}" PATCHES=( + "${FILESDIR}"/${PN}-ldflags.patch # bug #246953 "${FILESDIR}"/${P}-gentoo.patch - "${FILESDIR}"/${P}-ldflags.patch "${FILESDIR}"/${P}-parallel-build.patch "${FILESDIR}"/${P}-parallel-install.patch ) diff --git a/app-text/cmigemo/files/cmigemo-1.3c-ldflags.patch b/app-text/cmigemo/files/cmigemo-1.3c-ldflags.patch deleted file mode 100644 index ca1db125c5a2..000000000000 --- a/app-text/cmigemo/files/cmigemo-1.3c-ldflags.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/compile/Make_gcc.mak -+++ b/compile/Make_gcc.mak -@@ -28,7 +28,7 @@ - # - $(libmigemo_LIB): $(libmigemo_DSO) - $(libmigemo_DSO): $(libmigemo_OBJ) -- $(CC) -shared -o $(libmigemo_LIB) -Wl,-soname,$@ $(libmigemo_OBJ) -+ $(CC) -shared -o $(libmigemo_LIB) -Wl,-soname,$@ $(libmigemo_OBJ) $(LDFLAGS) - $(RM) $@ $(libmigemo) - ln -s $(libmigemo_LIB) $@ - ln -s $(libmigemo_LIB) $(libmigemo) diff --git a/app-text/cmigemo/files/cmigemo-ldflags.patch b/app-text/cmigemo/files/cmigemo-ldflags.patch new file mode 100644 index 000000000000..ca1db125c5a2 --- /dev/null +++ b/app-text/cmigemo/files/cmigemo-ldflags.patch @@ -0,0 +1,11 @@ +--- a/compile/Make_gcc.mak ++++ b/compile/Make_gcc.mak +@@ -28,7 +28,7 @@ + # + $(libmigemo_LIB): $(libmigemo_DSO) + $(libmigemo_DSO): $(libmigemo_OBJ) +- $(CC) -shared -o $(libmigemo_LIB) -Wl,-soname,$@ $(libmigemo_OBJ) ++ $(CC) -shared -o $(libmigemo_LIB) -Wl,-soname,$@ $(libmigemo_OBJ) $(LDFLAGS) + $(RM) $@ $(libmigemo) + ln -s $(libmigemo_LIB) $@ + ln -s $(libmigemo_LIB) $(libmigemo) -- cgit v1.2.3-65-gdbad