mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-27 00:10:12 +00:00
created by initializing a fresh repo from `hello.src`, replaying the old patches through a combination of `patch` and manual edits, and taking the output of `git diff`
63 lines
1.9 KiB
Diff
63 lines
1.9 KiB
Diff
diff --git a/Makefile.in b/Makefile.in
|
|
index 4f24c27..ef20e53 100644
|
|
--- a/Makefile.in
|
|
+++ b/Makefile.in
|
|
@@ -519,7 +519,7 @@ am_lib_libhello_a_OBJECTS = lib/libhello_a-basename-lgpl.$(OBJEXT) \
|
|
lib/libhello_a-wctype-h.$(OBJEXT) $(am__objects_54) \
|
|
lib/libhello_a-xmalloc.$(OBJEXT) \
|
|
lib/libhello_a-xalloc-die.$(OBJEXT) \
|
|
- lib/libhello_a-xstriconv.$(OBJEXT) src/additionalFile.$(OBJEXT)
|
|
+ lib/libhello_a-xstriconv.$(OBJEXT)
|
|
lib_libhello_a_OBJECTS = $(am_lib_libhello_a_OBJECTS)
|
|
am_hello_OBJECTS = src/hello.$(OBJEXT)
|
|
hello_OBJECTS = $(am_hello_OBJECTS)
|
|
@@ -2599,7 +2599,7 @@ lib_libhello_a_SOURCES = lib/basename-lgpl.c lib/c-ctype.h \
|
|
lib/unistd.c $(am__append_53) $(am__append_54) \
|
|
$(am__append_55) lib/version-etc.h lib/version-etc.c \
|
|
lib/version-etc-fsf.c lib/wctype-h.c $(am__append_56) \
|
|
- lib/xmalloc.c lib/xalloc-die.c lib/xstriconv.h lib/xstriconv.c src/additionalFile.c
|
|
+ lib/xmalloc.c lib/xalloc-die.c lib/xstriconv.h lib/xstriconv.c
|
|
lib_libhello_a_CFLAGS = $(AM_CFLAGS) $(GL_CFLAG_GNULIB_WARNINGS) $(GL_CFLAG_ALLOW_WARNINGS)
|
|
lib_libhello_a_LIBADD = $(gl_libhello_LIBOBJS)
|
|
lib_libhello_a_DEPENDENCIES = $(gl_libhello_LIBOBJS)
|
|
diff --git a/src/additionalFile.c b/src/additionalFile.c
|
|
deleted file mode 100644
|
|
index 34d683d..0000000
|
|
--- a/src/additionalFile.c
|
|
+++ /dev/null
|
|
@@ -1,6 +0,0 @@
|
|
-#include "config.h"
|
|
-#include "system.h"
|
|
-
|
|
-int somefunc() {
|
|
- return 0;
|
|
-}
|
|
diff --git a/src/hello.c b/src/hello.c
|
|
index 8f9e786..ecab4a9 100644
|
|
--- a/src/hello.c
|
|
+++ b/src/hello.c
|
|
@@ -125,6 +125,10 @@ parse_options (int argc, char *argv[], const char **greeting_msg)
|
|
}
|
|
}
|
|
|
|
+int somefunc() {
|
|
+ return 1;
|
|
+}
|
|
+
|
|
int
|
|
main (int argc, char *argv[])
|
|
{
|
|
diff --git a/tests/hello-1 b/tests/hello-1
|
|
index 46a4a0e..6c4be94 100755
|
|
--- a/tests/hello-1
|
|
+++ b/tests/hello-1
|
|
@@ -21,7 +21,7 @@ export LANGUAGE LC_ALL LC_MESSAGES LANG
|
|
|
|
tmpfiles="hello-test1.ok"
|
|
cat <<EOF > hello-test1.ok
|
|
-Hello, world!
|
|
+Hello, incremental world!
|
|
EOF
|
|
|
|
tmpfiles="$tmpfiles hello-test1.out"
|