pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/ttmkfdir2 Get this to build on solaris-2.9/sparc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/19f9351f6ec2
branches:  trunk
changeset: 529091:19f9351f6ec2
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Thu May 24 02:06:14 2007 +0000

description:
Get this to build on solaris-2.9/sparc.  Verified that it didn't break
NetBSD.

diffstat:

 fonts/ttmkfdir2/distinfo         |   3 ++-
 fonts/ttmkfdir2/patches/patch-ag |  23 +++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r 14bed91c38aa -r 19f9351f6ec2 fonts/ttmkfdir2/distinfo
--- a/fonts/ttmkfdir2/distinfo  Wed May 23 23:49:24 2007 +0000
+++ b/fonts/ttmkfdir2/distinfo  Thu May 24 02:06:14 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2005/02/23 19:18:29 agc Exp $
+$NetBSD: distinfo,v 1.8 2007/05/24 02:06:14 dmcmahill Exp $
 
 SHA1 (ttmkfdir2.20021109.tar.bz2) = bee1944ce3e5b6c4503a14e6429737cc558a24c0
 RMD160 (ttmkfdir2.20021109.tar.bz2) = 878fb57f80e7223ebb3f4214ed58621a9087e404
@@ -9,3 +9,4 @@
 SHA1 (patch-ad) = 0c328908ffae3397293ff6b00094444e23164788
 SHA1 (patch-ae) = 8544a176af1c079405371789955391b400f0154e
 SHA1 (patch-af) = 9153a8c65960ce70a176418da2c507370a06d98b
+SHA1 (patch-ag) = 20abaf5147d6770907473e298f3177f6c8e4c131
diff -r 14bed91c38aa -r 19f9351f6ec2 fonts/ttmkfdir2/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/ttmkfdir2/patches/patch-ag  Thu May 24 02:06:14 2007 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-ag,v 1.1 2007/05/24 02:06:17 dmcmahill Exp $
+
+--- commandline.cpp.orig       2000-01-12 03:31:50.000000000 -0500
++++ commandline.cpp
+@@ -1,6 +1,18 @@
+ #include <cstdlib>
+ 
+ #define _GNU_SOURCE
++
++// If either _POSIX_SOURCE or _XOPEN_SOURCE are defined
++// then the libgetopt getopt.h will skip defining 
++// struct option (for getopt_long)
++#ifdef _POSIX_SOURCE
++#undef _POSIX_SOURCE
++#endif
++
++#ifdef _XOPEN_SOURCE
++#undef _XOPEN_SOURCE
++#endif
++
+ #include <getopt.h>
+ 
+ #include "commandline.h"



Home | Main Index | Thread Index | Old Index