* [gentoo-commits] gentoo-x86 commit in dev-libs/newt/files: newt-0.52.12-whiptail.patch newt-0.52.12-install.patch
@ 2011-10-14 3:12 Naohiro Aota (naota)
0 siblings, 0 replies; only message in thread
From: Naohiro Aota (naota) @ 2011-10-14 3:12 UTC (permalink / raw
To: gentoo-commits
naota 11/10/14 03:12:38
Added: newt-0.52.12-whiptail.patch
newt-0.52.12-install.patch
Log:
Marked as ~x86-fbsd. Add patches to build on FreeBSD
(Portage version: 2.2.0_alpha64/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-libs/newt/files/newt-0.52.12-whiptail.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/files/newt-0.52.12-whiptail.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/files/newt-0.52.12-whiptail.patch?rev=1.1&content-type=text/plain
Index: newt-0.52.12-whiptail.patch
===================================================================
diff --git a/whiptail.c b/whiptail.c
index 09eca15..ac80652 100644
--- a/whiptail.c
+++ b/whiptail.c
@@ -8,6 +8,9 @@
#include <unistd.h>
#include <wchar.h>
#include <slang.h>
+#ifdef __FreeBSD__
+# include <sys/stat.h>
+#endif
#include "nls.h"
#include "dialogboxes.h"
1.1 dev-libs/newt/files/newt-0.52.12-install.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/files/newt-0.52.12-install.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/files/newt-0.52.12-install.patch?rev=1.1&content-type=text/plain
Index: newt-0.52.12-install.patch
===================================================================
diff --git a/Makefile.in b/Makefile.in
index 7a5f1fd..16d7fd8 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -119,7 +119,8 @@ install: $(LIBNEWT) install-sh whiptail
install -m 755 whiptail $(DESTDIR)/$(bindir)
install -m 644 whiptail.1 $(DESTDIR)/$(man1dir)
$(MAKE) -C po datadir=$(DESTDIR)/$(datadir) install
- install -m 644 -D libnewt.pc $(DESTDIR)/$(pkgconfigdir)/libnewt.pc
+ install -d $(DESTDIR)/$(pkgconfigdir)
+ install -m 644 libnewt.pc $(DESTDIR)/$(pkgconfigdir)/libnewt.pc
install-sh: sharedlib $(WHIPTCLSO) _snackmodule.so
[ -d $(DESTDIR)/$(libdir) ] || install -m 755 -d $(DESTDIR)/$(libdir)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-10-14 3:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-14 3:12 [gentoo-commits] gentoo-x86 commit in dev-libs/newt/files: newt-0.52.12-whiptail.patch newt-0.52.12-install.patch Naohiro Aota (naota)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox