SOURCES: CUnit-FHS.patch (NEW), CUnit-curses.patch (NEW), CUnit-li...
glen
glen at pld-linux.org
Tue Nov 29 23:41:45 CET 2005
Author: glen Date: Tue Nov 29 22:41:45 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- compile fixes
---- Files affected:
SOURCES:
CUnit-FHS.patch (NONE -> 1.1) (NEW), CUnit-curses.patch (NONE -> 1.1) (NEW), CUnit-libs.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/CUnit-FHS.patch
diff -u /dev/null SOURCES/CUnit-FHS.patch:1.1
--- /dev/null Tue Nov 29 23:41:45 2005
+++ SOURCES/CUnit-FHS.patch Tue Nov 29 23:41:40 2005
@@ -0,0 +1,56 @@
+--- ./doc/Makefile.am~ 2004-10-01 00:38:27.000000000 +0300
++++ ./doc/Makefile.am 2005-11-30 00:06:17.000000000 +0200
+@@ -1,4 +1,4 @@
+-docdir = $(prefix)/doc/@PACKAGE@
++docdir = $(datadir)/doc/@PACKAGE at -@VERSION@/html
+
+ doc_DATA = \
+ CUnit_doc.css \
+--- ./doc/headers/Makefile.am~ 2005-04-28 00:56:16.000000000 +0300
++++ ./doc/headers/Makefile.am 2005-11-30 00:10:47.000000000 +0200
+@@ -1,4 +1,4 @@
+-dochdrdir = $(prefix)/doc/@PACKAGE@/headers
++dochdrdir = $(datadir)/doc/@PACKAGE at -@VERSION@/headers
+
+ INCLUDE_FILES = \
+ Automated.h \
+--- ./Examples/AutomatedTest/Makefile.am~ 2005-11-30 00:15:58.000000000 +0200
++++ ./Examples/AutomatedTest/Makefile.am 2005-11-30 00:19:16.000000000 +0200
+@@ -1,4 +1,4 @@
+-exampledir=${datadir}/@PACKAGE@/Examples/Automated
++exampledir=$(libdir)/@PACKAGE@/Examples/Automated
+
+ example_PROGRAMS = AutomatedTest
+
+--- ./Examples/BasicTest/Makefile.am~ 2005-11-30 00:15:58.000000000 +0200
++++ ./Examples/BasicTest/Makefile.am 2005-11-30 00:20:07.000000000 +0200
+@@ -1,4 +1,4 @@
+-exampledir=${datadir}/@PACKAGE@/Examples/Basic
++exampledir=$(libdir)/@PACKAGE@/Examples/Basic
+
+ example_PROGRAMS = BasicTest
+
+--- ./Examples/ConsoleTest/Makefile.am~ 2005-11-30 00:15:58.000000000 +0200
++++ ./Examples/ConsoleTest/Makefile.am 2005-11-30 00:20:17.000000000 +0200
+@@ -1,4 +1,4 @@
+-exampledir=${datadir}/@PACKAGE@/Examples/Console
++exampledir=$(libdir)/@PACKAGE@/Examples/Console
+
+ example_PROGRAMS = ConsoleTest
+
+--- ./Examples/CursesTest/Makefile.am~ 2005-11-30 00:15:58.000000000 +0200
++++ ./Examples/CursesTest/Makefile.am 2005-11-30 00:20:27.000000000 +0200
+@@ -1,4 +1,4 @@
+-exampledir=${datadir}/@PACKAGE@/Examples/Curses
++exampledir=$(libdir)/@PACKAGE@/Examples/Curses
+
+ example_PROGRAMS = CursesTest
+
+--- ./CUnit/Sources/Test/Makefile.am~ 2004-10-01 00:38:10.000000000 +0300
++++ ./CUnit/Sources/Test/Makefile.am 2005-11-30 00:25:09.000000000 +0200
+@@ -1,4 +1,4 @@
+-testdir=${datadir}/@PACKAGE@/Test
++testdir=$(libdir)/@PACKAGE@/Test
+
+ test_PROGRAMS = test_cunit
+ test_cunit_SOURCES = test_cunit.c
================================================================
Index: SOURCES/CUnit-curses.patch
diff -u /dev/null SOURCES/CUnit-curses.patch:1.1
--- /dev/null Tue Nov 29 23:41:45 2005
+++ SOURCES/CUnit-curses.patch Tue Nov 29 23:41:40 2005
@@ -0,0 +1,11 @@
+--- ./CUnit/Sources/Curses/Curses.c~ 2005-04-26 02:27:32.000000000 +0300
++++ ./CUnit/Sources/Curses/Curses.c 2005-11-29 23:54:44.000000000 +0200
+@@ -53,7 +53,7 @@
+ #include <assert.h>
+ #include <string.h>
+ #include <math.h>
+-#include <curses.h>
++#include <ncurses/curses.h>
+
+ #include "CUnit.h"
+ #include "TestDB.h"
================================================================
Index: SOURCES/CUnit-libs.patch
diff -u /dev/null SOURCES/CUnit-libs.patch:1.1
--- /dev/null Tue Nov 29 23:41:45 2005
+++ SOURCES/CUnit-libs.patch Tue Nov 29 23:41:40 2005
@@ -0,0 +1,44 @@
+--- ./Examples/AutomatedTest/Makefile.am~ 2004-10-01 00:38:25.000000000 +0300
++++ ./Examples/AutomatedTest/Makefile.am 2005-11-29 23:56:29.000000000 +0200
+@@ -3,7 +3,7 @@
+ example_PROGRAMS = AutomatedTest
+
+ AutomatedTest_SOURCES = AutomatedTest.c AutomatedTest.h
+-AutomatedTest_LDADD = -lcunit -lcunitexamples
++AutomatedTest_LDADD = -lcunit -lcunitexamples -lm
+ AutomatedTest_LDFLAGS = -L..
+ INCLUDES = -I..
+
+--- ./Examples/BasicTest/Makefile.am~ 2004-10-01 00:38:25.000000000 +0300
++++ ./Examples/BasicTest/Makefile.am 2005-11-29 23:59:50.000000000 +0200
+@@ -3,7 +3,7 @@
+ example_PROGRAMS = BasicTest
+
+ BasicTest_SOURCES = BasicTest.c BasicTest.h
+-BasicTest_LDADD = -lcunit -lcunitexamples
++BasicTest_LDADD = -lcunit -lcunitexamples -lm
+ BasicTest_LDFLAGS = -L..
+ INCLUDES = -I..
+
+--- ./Examples/ConsoleTest/Makefile.am~ 2004-10-01 00:38:25.000000000 +0300
++++ ./Examples/ConsoleTest/Makefile.am 2005-11-30 00:00:33.000000000 +0200
+@@ -3,7 +3,7 @@
+ example_PROGRAMS = ConsoleTest
+
+ ConsoleTest_SOURCES = ConsoleTest.c ConsoleTest.h
+-ConsoleTest_LDADD = -lcunit -lcunitexamples
++ConsoleTest_LDADD = -lcunit -lcunitexamples -lm
+ ConsoleTest_LDFLAGS = -L..
+ INCLUDES = -I..
+
+--- ./Examples/CursesTest/Makefile.am~ 2004-10-01 00:38:25.000000000 +0300
++++ ./Examples/CursesTest/Makefile.am 2005-11-30 00:01:27.000000000 +0200
+@@ -3,7 +3,7 @@
+ example_PROGRAMS = CursesTest
+
+ CursesTest_SOURCES = CursesTest.c CursesTest.h
+-CursesTest_LDADD = -lcunit -lcunitexamples -lncurses
++CursesTest_LDADD = -lcunit -lcunitexamples -lncurses -lm
+ CursesTest_LDFLAGS = -L..
+ INCLUDES = -I..
+
================================================================
More information about the pld-cvs-commit
mailing list