Skip to content

Commit

Permalink
The Solaris linker requires an archive contain at least one symbol, so
Browse files Browse the repository at this point in the history
provide one.

Fixes Solaris build.
  • Loading branch information
jperkin committed Sep 13, 2012
1 parent 96f0fd5 commit 8b5ad82
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion graphics/cairo/distinfo
@@ -1,8 +1,9 @@
$NetBSD: distinfo,v 1.60 2012/09/07 15:24:03 adam Exp $
$NetBSD: distinfo,v 1.61 2012/09/13 15:50:08 jperkin Exp $

SHA1 (cairo-1.12.2.tar.xz) = bc2ee50690575f16dab33af42a2e6cdc6451e3f9
RMD160 (cairo-1.12.2.tar.xz) = 0174a5110f5f4c9ff15da984e0602dfd04643a63
Size (cairo-1.12.2.tar.xz) = 42051584 bytes
SHA1 (patch-aa) = 474f44c1c8d4017137fe59b160afca8f16ad7287
SHA1 (patch-ab) = 62ff361d52742bba0f49c6a32149269b958fa24a
SHA1 (patch-ac) = 151c682245004902cf42ba141e3743592691dfb9
SHA1 (patch-ad) = a1068a37113b162ccfe14d7f1bd0baa9df7e5530
13 changes: 13 additions & 0 deletions graphics/cairo/patches/patch-ad
@@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.11 2012/09/13 15:50:08 jperkin Exp $

The variable name is self-explanatory :)

--- util/cairo-missing/getline.c.orig Thu Sep 13 15:45:55 2012
+++ util/cairo-missing/getline.c Thu Sep 13 15:46:18 2012
@@ -87,4 +87,6 @@
return ret;
}
#undef GETLINE_BUFFER_SIZE
+#else
+int solaris_ld_requires_at_least_one_symbol = 0;
#endif

0 comments on commit 8b5ad82

Please sign in to comment.