diff options
author | Ulrich Müller <ulm@gentoo.org> | 2009-10-13 16:58:24 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2009-10-13 16:58:24 +0000 |
commit | 750142fbbe2254a2b19394e40b92c26bebd19403 (patch) | |
tree | c4c8ed6635a57c6cc72de7fd63d03d3aba1b0b15 /app-misc/realpath/files | |
parent | ia64/m68k/s390/sh stable wrt #257399 (diff) | |
download | gentoo-2-750142fbbe2254a2b19394e40b92c26bebd19403.tar.gz gentoo-2-750142fbbe2254a2b19394e40b92c26bebd19403.tar.bz2 gentoo-2-750142fbbe2254a2b19394e40b92c26bebd19403.zip |
Package moved from app-admin to app-misc category, bug 273968.
(Portage version: 2.2_rc44/cvs/Linux i686, RepoMan options: --force)
Diffstat (limited to 'app-misc/realpath/files')
-rw-r--r-- | app-misc/realpath/files/realpath-1.14-build.patch | 26 | ||||
-rw-r--r-- | app-misc/realpath/files/realpath-1.14-no-po4a.patch | 12 |
2 files changed, 38 insertions, 0 deletions
diff --git a/app-misc/realpath/files/realpath-1.14-build.patch b/app-misc/realpath/files/realpath-1.14-build.patch new file mode 100644 index 000000000000..baba53f36130 --- /dev/null +++ b/app-misc/realpath/files/realpath-1.14-build.patch @@ -0,0 +1,26 @@ +diff -ur realpath-1.14.orig/common.mk realpath-1.14/common.mk +--- realpath-1.14.orig/common.mk 2009-02-22 11:58:00.000000000 +0000 ++++ realpath-1.14/common.mk 2009-04-30 16:12:29.000000000 +0000 +@@ -34,9 +34,9 @@ + applicationsdir := $(prefix)/share/applications + + PERL := /usr/bin/perl +-CC := gcc +-CFLAGS = -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Werror -g -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"' +-LDFLAGS := ++CC ?= gcc ++CFLAGS += -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"' ++LDFLAGS += + LIBS := + + ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +@@ -60,9 +60,6 @@ + unexport CDPATH ENV + + ifdef DESTDIR +- ifneq ($(DESTDIR),$(abspath $(DESTDIR))) +- $(error DESTDIR "$(DESTDIR)" is not an absolute path) +- endif + override ddirshort := DESTDIR + export ddirshort + endif diff --git a/app-misc/realpath/files/realpath-1.14-no-po4a.patch b/app-misc/realpath/files/realpath-1.14-no-po4a.patch new file mode 100644 index 000000000000..cfa780553646 --- /dev/null +++ b/app-misc/realpath/files/realpath-1.14-no-po4a.patch @@ -0,0 +1,12 @@ +Don't require po4a at build time. +http://bugs.gentoo.org/269905 + +--- realpath-1.14-orig/po/Makefile 2009-02-22 12:56:47.000000000 +0100 ++++ realpath-1.14/po/Makefile 2009-05-19 23:45:26.000000000 +0200 +@@ -4,5 +4,5 @@ + # + + ALL_TARGET= +-SUBDIRS=bin man ++SUBDIRS=bin + include ../common.mk |