pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pangoterm: Added patches



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Thu Dec 3 03:12:59 2015 +0000
Changeset:	a24b3de1fc3f5cc66fc1369f2ca732d18bf7c820

Modified Files:
	pangoterm/Makefile
	pangoterm/distinfo
Added Files:
	pangoterm/patches/patch-Makefile
	pangoterm/patches/patch-main.c

Log Message:
pangoterm: Added patches

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a24b3de1fc3f5cc66fc1369f2ca732d18bf7c820

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 pangoterm/Makefile               |  2 ++
 pangoterm/distinfo               |  2 ++
 pangoterm/patches/patch-Makefile | 13 +++++++++++++
 pangoterm/patches/patch-main.c   | 26 ++++++++++++++++++++++++++
 4 files changed, 43 insertions(+)

diffs:
diff --git a/pangoterm/Makefile b/pangoterm/Makefile
index dee331e..d5fc3c1 100644
--- a/pangoterm/Makefile
+++ b/pangoterm/Makefile
@@ -15,4 +15,6 @@ USE_TOOLS+=	gmake
 USE_LIBTOOL=	yes
 
 .include "../../wip/libvterm/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/pangoterm/distinfo b/pangoterm/distinfo
index a1acc89..ad44707 100644
--- a/pangoterm/distinfo
+++ b/pangoterm/distinfo
@@ -4,3 +4,5 @@ SHA1 (pangoterm-0.0_pre20151022.tar.gz) = b9a852ef6bdd17eab66b751fd972df173f1497
 RMD160 (pangoterm-0.0_pre20151022.tar.gz) = 97e20c6fcd9392529698084a0a3960e6ec21c3c1
 SHA512 (pangoterm-0.0_pre20151022.tar.gz) = 716acd0c47fbca35961aff21a8dba886ec4cb152d89544f20d9752828f9e005a5561090959be64f1db864bde71db1d205d045b8a7baa36d23471e1a87c7fee14
 Size (pangoterm-0.0_pre20151022.tar.gz) = 22588 bytes
+SHA1 (patch-Makefile) = e6dca57ef4732f019bb327e381e475c71d0f1b15
+SHA1 (patch-main.c) = f68397c559477dba34a7b56cf74b98ad873ff2ee
diff --git a/pangoterm/patches/patch-Makefile b/pangoterm/patches/patch-Makefile
new file mode 100644
index 0000000..171e123
--- /dev/null
+++ b/pangoterm/patches/patch-Makefile
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- Makefile.orig	2015-10-22 21:22:34.000000000 +0000
++++ Makefile
+@@ -60,7 +60,7 @@ install: install-bin install-share
+ # rm the old binary first in case it's still in use
+ install-bin: pangoterm
+ 	install -d $(DESTDIR)$(BINDIR)
+-	$(LIBTOOL) --mode=install cp --remove-destination pangoterm $(DESTDIR)$(BINDIR)/pangoterm
++	$(LIBTOOL) --mode=install cp pangoterm $(DESTDIR)$(BINDIR)/pangoterm
+ 
+ install-share:
+ 	install -d $(DESTDIR)$(SHAREDIR)/pixmaps
diff --git a/pangoterm/patches/patch-main.c b/pangoterm/patches/patch-main.c
new file mode 100644
index 0000000..be5ebfb
--- /dev/null
+++ b/pangoterm/patches/patch-main.c
@@ -0,0 +1,26 @@
+$NetBSD$
+
+--- main.c.orig	2015-10-22 21:22:34.000000000 +0000
++++ main.c
+@@ -2,6 +2,9 @@
+ #define _XOPEN_SOURCE
+ 
+ /* for ECHOCTL, ECHOKE, cfsetspeed() */
++#if defined(__NetBSD__)
++# define _NETBSD_SOURCE
++#endif
+ #define _BSD_SOURCE
+ 
+ #include <errno.h>
+@@ -12,9 +15,11 @@
+ 
+ /* suck up the non-standard openpty/forkpty */
+ #if defined(__FreeBSD__)
++# include <sys/ioctl.h>
+ # include <libutil.h>
+ # include <termios.h>
+ #elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
++# include <sys/ioctl.h>
+ # include <termios.h>
+ # include <util.h>
+ #else


Home | Main Index | Thread Index | Old Index