summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-06-14 06:49:50 +0000
committerwiz <wiz@pkgsrc.org>2010-06-14 06:49:50 +0000
commitae349f178a3e48a920e291dfd2db226a58852946 (patch)
tree7679335e895b9acc46646ddaf70d1ed32744e6df
parent121015e713696ec967ca8ee553b99a636527ac88 (diff)
downloadpkgsrc-ae349f178a3e48a920e291dfd2db226a58852946.tar.gz
On the off chance that pkgsrc compiles the nogui files for you,
fix them by removing an empty, unused getline() function that conflicts with the POSIX function of the same name.
-rw-r--r--emulators/e-uae/distinfo3
-rw-r--r--emulators/e-uae/patches/patch-aa18
2 files changed, 20 insertions, 1 deletions
diff --git a/emulators/e-uae/distinfo b/emulators/e-uae/distinfo
index 07770e75f8b..5239b954024 100644
--- a/emulators/e-uae/distinfo
+++ b/emulators/e-uae/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2006/10/22 19:38:58 rillig Exp $
+$NetBSD: distinfo,v 1.3 2010/06/14 06:49:50 wiz Exp $
SHA1 (e-uae-0.8.28.tar.bz2) = 11e647ed64420f85893ac77c072e268b650ae183
RMD160 (e-uae-0.8.28.tar.bz2) = 7e9fa21fa14b0ca3a32a28ccb236b9d7628a7f69
Size (e-uae-0.8.28.tar.bz2) = 1148790 bytes
+SHA1 (patch-aa) = 724afe48daba80794e830f71ff674cbfd2e42f48
SHA1 (patch-ab) = dfce48dafb163b91c7252da14088e67b3e13bb6c
SHA1 (patch-ah) = 6f83d380dd0a44cdb9dd4316ca72f90b7b1df644
diff --git a/emulators/e-uae/patches/patch-aa b/emulators/e-uae/patches/patch-aa
new file mode 100644
index 00000000000..f01ec155275
--- /dev/null
+++ b/emulators/e-uae/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1 2010/06/14 06:49:51 wiz Exp $
+
+Conflicts with built-in getline() function on some platforms, and
+is not even used in the file.
+
+--- src/gui-none/nogui.c.orig 2004-09-07 14:11:55.000000000 +0000
++++ src/gui-none/nogui.c
+@@ -80,10 +80,6 @@ void gui_filename (int num, const char *
+ {
+ }
+
+-static void getline (char *p)
+-{
+-}
+-
+ void gui_handle_events (void)
+ {
+ }