]> sjero.net Git - wget/commitdiff
Fixes for FreeBSD build.
authorMicah Cowan <micah@cowan.name>
Thu, 3 Sep 2009 03:14:19 +0000 (20:14 -0700)
committerMicah Cowan <micah@cowan.name>
Thu, 3 Sep 2009 03:14:19 +0000 (20:14 -0700)
ChangeLog
po/Rules-quot
src/ChangeLog
src/test.c

index 0af829302af52a22f246fcb0c19f4c4fcb7d173f..5d4e37c4c85902ebd0cde174710fbdb645266d62 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-02  Micah Cowan  <micah@cowan.name>
+
+       * po/Rules-quot (en_US.po-update): Remove use of GNU make's
+       non-portable $^ variable.
+
 2009-08-27  Micah Cowan  <micah@cowan.name>
 
        * NEWS: Mention the changes to exit codes.
index 63e2d1ebba4fec23a3f0fa4f9928f1f5d1514fa2..a38a2bed8eb53b49a5251ca94e5c01cb698ca686 100644 (file)
@@ -54,4 +54,4 @@ mostlyclean-quot:
 en_US.po: en_US.po-update
 
 en_US.po-update: en@quot.po
-       cp $^ en_US.po
+       cp en@quot.po en_US.po
index 066081d6d17b6945257406d42211936d83d53217..854626e9d35cc49d7b8a56f5c1c7ca46919b2096 100644 (file)
@@ -1,5 +1,9 @@
 2009-09-02  Micah Cowan  <micah@cowan.name>
 
+       * test.c: Added definition of program_name variable, required by
+       lib/error.c (libgnu.a). Doesn't cause problems until you try to
+       build on a non-GNU system...
+
        * build_info.c.in: Removed useless "+gettext" feature ad.
 
 2009-08-29  Steven Schubiger  <stsc@member.fsf.org>
index 3187900db44c5da3c3f01746dcf69adb012b4434..377afe231dbc4ba558881ba971ada0c759341ad2 100644 (file)
@@ -63,11 +63,16 @@ all_tests()
   return NULL;
 }
 
+char *program_name; /* Needed by lib/error.c. */
 
 int
-main (void
+main (int argc, char *argv[]
 {
-  const char *result = all_tests();
+  const char *result;
+
+  program_name = argv[0];
+
+  result = all_tests();
   
   if (result != NULL) 
     {